Author: qboosh                       Date: Sun Jun 24 18:51:18 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 5.5
- added heimdal patch (fixes some -Werror issues with heimdal kerberos)
- added configure hacks for samba not providing pkgconfig file for libwbclient
- pl

---- Files affected:
packages/cifs-utils:
   cifs-utils.spec (1.3 -> 1.4) , cifs-utils-heimdal.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cifs-utils/cifs-utils.spec
diff -u packages/cifs-utils/cifs-utils.spec:1.3 
packages/cifs-utils/cifs-utils.spec:1.4
--- packages/cifs-utils/cifs-utils.spec:1.3     Fri Jan 20 13:18:10 2012
+++ packages/cifs-utils/cifs-utils.spec Sun Jun 24 20:51:13 2012
@@ -1,20 +1,20 @@
 # $Revision$, $Date$
 Summary:       Utilities for mounting and managing CIFS mounts
+Summary(pl.UTF-8):     Narzędzia do montowania i zarządzania montowaniami CIFS
 Name:          cifs-utils
-Version:       5.2
+Version:       5.5
 Release:       1
 License:       GPL v3
 Group:         Daemons
-URL:           http://linux-cifs.samba.org/cifs-utils/
 Source0:       
ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
-# Source0-md5: 2ca839553cccd0c3042f7dd8737cc9de
-BuildRequires: autoconf
-BuildRequires: automake
+# Source0-md5: 4de6c660ccdb9506d0e2cff4f37b8707
+Patch0:                %{name}-heimdal.patch
+URL:           http://linux-cifs.samba.org/cifs-utils/
 BuildRequires: heimdal-devel >= 1.5.1-3
 BuildRequires: keyutils-devel
 BuildRequires: libcap-ng-devel
+BuildRequires: libsmbclient-devel
 BuildRequires: libtalloc-devel
-BuildRequires: samba-devel
 Requires:      keyutils
 Obsoletes:     mount-cifs
 Conflicts:     samba-client < 1:3.6.0
@@ -28,11 +28,23 @@
 one to mount a SMB/CIFS share onto a client and use it as if it were a
 standard Linux file system.
 
+%description -l pl.UTF-8
+Protokół SMB/CIFS to standardowy protokół współdzielenia plików
+szeroko wykorzystywany na komputerach z systemem Microsoft Windows.
+Ten pakiet zawiera narzędzia do montowania pod Linuksem udziałów
+udostępnionych poprzez protokół SMB/CIFS. Narzędzia z tego pakietu
+współpracując z obsługą w jądrze pozwalają na montowanie udziałów
+SMB/CIFS na systemie klienckim tak, jakby był to standardowy
+linuksowy system plików.
+
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
+       WBCLIENT_CFLAGS=" " \
+       WBCLIENT_LIBS="-lwbclient" \
        --with-libcap-ng=yes \
        --enable-cifsupcall \
        --enable-cifsidmap \
@@ -52,10 +64,12 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) /sbin/mount.cifs
+%attr(755,root,root) %{_bindir}/cifscreds
 %attr(755,root,root) %{_bindir}/getcifsacl
 %attr(755,root,root) %{_bindir}/setcifsacl
 %attr(755,root,root) %{_sbindir}/cifs.upcall
 %attr(755,root,root) %{_sbindir}/cifs.idmap
+%{_mandir}/man1/cifscreds.1*
 %{_mandir}/man1/getcifsacl.1*
 %{_mandir}/man1/setcifsacl.1*
 %{_mandir}/man8/cifs.upcall.8*
@@ -68,6 +82,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2012/06/24 18:51:13  qboosh
+- updated to 5.5
+- added heimdal patch (fixes some -Werror issues with heimdal kerberos)
+- added configure hacks for samba not providing pkgconfig file for libwbclient
+- pl
+
 Revision 1.3  2012/01/20 12:18:10  arekm
 - up to 5.2
 
@@ -76,4 +96,3 @@
 
 Revision 1.1  2011/10/19 08:01:18  arekm
 - initial; replaces mount.cifs and friends from samba-client
-

================================================================
Index: packages/cifs-utils/cifs-utils-heimdal.patch
diff -u /dev/null packages/cifs-utils/cifs-utils-heimdal.patch:1.1
--- /dev/null   Sun Jun 24 20:51:18 2012
+++ packages/cifs-utils/cifs-utils-heimdal.patch        Sun Jun 24 20:51:13 2012
@@ -0,0 +1,38 @@
+--- cifs-utils-5.5/cifs.upcall.c.orig  2012-05-30 12:12:16.000000000 +0200
++++ cifs-utils-5.5/cifs.upcall.c       2012-06-24 20:47:02.372423189 +0200
+@@ -76,7 +76,7 @@
+  *
+  */
+ 
+-static char *cifs_krb5_principal_get_realm(krb5_context context __attribute__ 
((unused)),
++static const char *cifs_krb5_principal_get_realm(krb5_context context 
__attribute__ ((unused)),
+                                          krb5_principal principal)
+ {
+ #ifdef HAVE_KRB5_PRINCIPAL_GET_REALM  /* Heimdal */
+@@ -84,7 +84,7 @@
+ #elif defined(krb5_princ_realm)       /* MIT */
+       krb5_data *realm;
+       realm = krb5_princ_realm(context, principal);
+-      return (char *)realm->data;
++      return (const char *)realm->data;
+ #else
+       return NULL;
+ #endif
+@@ -116,7 +116,7 @@
+       krb5_creds creds;
+       krb5_principal principal;
+       time_t credtime = 0;
+-      char *realm = NULL;
++      const char *realm = NULL;
+ 
+       if (krb5_init_context(&context)) {
+               syslog(LOG_DEBUG, "%s: unable to init krb5 context", __func__);
+@@ -162,7 +162,7 @@
+                   && creds.times.endtime > time(NULL))
+                       credtime = creds.times.endtime;
+               krb5_free_cred_contents(context, &creds);
+-              krb5_free_unparsed_name(context, name);
++              krb5_xfree(name);
+       }
+ err_endseq:
+       krb5_cc_end_seq_get(context, ccache, &cur);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/cifs-utils/cifs-utils.spec?r1=1.3&r2=1.4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to