Browse Source

samba-4.0.10-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7885 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 9 years ago
parent
commit
c89c406783

+ 12 - 1
c/cifs-utils/cifs-utils-vl.spec

@@ -1,5 +1,5 @@
 Name:           cifs-utils
-Version:        5.9
+Version:        6.2
 Release:        1%{?_dist_release}
 Summary:        Utilities for mounting and managing CIFS mounts
 
@@ -44,13 +44,24 @@ rm -rf %{buildroot}
 %doc
 /sbin/mount.cifs
 %{_bindir}/cifscreds
+%{_bindir}/getcifsacl
+%{_bindir}/setcifsacl
+%{_sbindir}/cifs.idmap
 %{_sbindir}/cifs.upcall
 %{_includedir}/cifsidmap.h
+%{_libdir}/cifs-utils/idmapwb.so
 %{_mandir}/man1/cifscreds.1.gz
+%{_mandir}/man1/getcifsacl.1.gz
+%{_mandir}/man1/setcifsacl.1.gz
+%{_mandir}/man8/cifs.idmap.8.gz
 %{_mandir}/man8/cifs.upcall.8.gz
+%{_mandir}/man8/idmapwb.8.gz
 %{_mandir}/man8/mount.cifs.8.gz
 
 %changelog
+* Wed Oct 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.2-1
+- new upstream release
+
 * Tue Feb 19 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 5.9-1
 - new upstream release
 

+ 15 - 11
c/ctdb/ctdb-vl.spec

@@ -2,7 +2,7 @@
 
 Summary: A Clustered Database based on Samba's Trivial Database (TDB)
 Name: ctdb
-Version: 2.0
+Version: 2.4
 Release: 1%{?_dist_release}
 License: GPLv3+
 Group: System Environment/Daemons
@@ -19,7 +19,7 @@ Packager: tomop
 Source0: %{name}-%{version}.tar.gz
 
 # Fedora specific patch, ctdb should not be enabled by default in the runlevels
-Patch1: ctdb-no_default_runlevel.patch
+#Patch1: ctdb-no_default_runlevel.patch
 
 Requires: chkconfig coreutils psmisc
 Requires: fileutils sed
@@ -56,7 +56,7 @@ and use CTDB instead.
 %setup -q
 # setup the init script and sysconfig file
 %setup -T -D -n ctdb-%{version} -q
-%patch1 -p1
+#%patch1 -p1
 
 %build
 
@@ -67,6 +67,7 @@ CC="gcc"
 
 CFLAGS="$(echo '%{optflags}') $EXTRA -D_GNU_SOURCE -DCTDB_VERS=\"%{version}-%{release}\"" %configure
 
+perl -pi -e 's|rpcgen|rpcgen -Y /usr/bin|g' Makefile
 make showflags
 make %{_smp_mflags}
 
@@ -152,6 +153,9 @@ fi
 %{_libdir}/pkgconfig/ctdb.pc
 
 %changelog
+* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4-1
+- new upstream release.
+
 * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0-1
 - new upstream release.
 - initial build for Vine Linux.
@@ -330,7 +334,7 @@ fi
  - Add logging for every time we create a filedescriptor so we can trap
    fd leaks.
 
-* Thu Oct 14 2009 : Version 1.0.97
+* Wed Oct 14 2009 : Version 1.0.97
  - From martins : update onnode.
    Update onnode to allow specifying an alternative nodes file from
    the command line and also to be able to specify hostnames on the
@@ -365,10 +369,10 @@ fi
  - Be aggressive and ban nodes where the recovery transaction start call
    fails.
 
-* Thu Oct 10 2009 : Version 1.0.94
+* Sat Oct 10 2009 : Version 1.0.94
  - Be very aggressive and quickly ban nodes that can not freeze their databases
 
-* Tue Oct 8 2009 : Version 1.0.93
+* Thu Oct 8 2009 : Version 1.0.93
  - When adding an ip, make sure to update this assignment on all nodes
    so it wont show up as -1 on other nodes.
  - When adding an ip and immediately deleting it, it was possible that
@@ -386,7 +390,7 @@ fi
  - Add documentation for notification
  - from martin, a fix for restarting vsftpd in the eventscript
 
-* Wed Sep 29 2009 Sumit Bose <sbose@redhat.com> - 1.0.91-1
+* Tue Sep 29 2009 Sumit Bose <sbose@redhat.com> - 1.0.91-1
  - Update to ctdb version 1.0.91
 
 * Tue Sep 29 2009 : Version 1.0.91
@@ -635,7 +639,7 @@ fi
    during a releaseip event. Similar to the reasons why we must add addresses
    back during releaseip in 10.interfaces
 
-* Wed Mar 24 2009 : Version 1.0.76
+* Tue Mar 24 2009 : Version 1.0.76
  - Add a debugging command "xpnn" which can print the pnn of the node even when
    ctdbd is not running.
  - Redo the NATGW implementation to allow multiple disjoing NATGW groups in the
@@ -675,13 +679,13 @@ fi
  - Use netstat to check for services and ports and fallback to netcat
    only if netstat is unavailable.
 
-* Thu Feb 17 2009 Sumit Bose <sbose@redhat.com> - 1.0.71-5
+* Tue Feb 17 2009 Sumit Bose <sbose@redhat.com> - 1.0.71-5
  - more fixed according to https://bugzilla.redhat.com/show_bug.cgi?id=459444
 
-* Thu Feb 8 2009 Sumit Bose <sbose@redhat.com> - 1.0.71-4
+* Sun Feb 8 2009 Sumit Bose <sbose@redhat.com> - 1.0.71-4
  - added upstream patch with license file
 
-* Thu Feb 6 2009 Sumit Bose <sbose@redhat.com> - 1.0.71-3
+* Fri Feb 6 2009 Sumit Bose <sbose@redhat.com> - 1.0.71-3
  - fixed package according to https://bugzilla.redhat.com/show_bug.cgi?id=459444
 
 * Thu Feb 5 2009 Guenther Deschner <gdeschner@redhat.com> - 1.0.71-2

+ 7 - 4
lib/libl/libldb/libldb-vl.spec

@@ -1,9 +1,9 @@
-%define talloc_version 2.0.8
-%define tdb_version 1.2.11
-%define tevent_version 0.9.17
+%define talloc_version 2.1.0
+%define tdb_version 1.2.12
+%define tevent_version 0.9.19
 
 Name: libldb
-Version: 1.1.15
+Version: 1.1.16
 Release: 1%{?_dist_release}
 Group: Development/Libraries
 Summary: A schema-less, ldap like, API and database
@@ -176,6 +176,9 @@ rm -rf %{buildroot}
 /sbin/ldconfig
 
 %changelog
+* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.16-1
+- new upstream release.
+
 * Sun Mar 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.15-1
 - new upstream release.
 

+ 5 - 2
lib/libt/libtalloc/libtalloc-vl.spec

@@ -1,7 +1,7 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
 Name: libtalloc
-Version: 2.0.8
+Version: 2.1.0
 Release: 1%{?_dist_release}
 Group: System Environment/Libraries
 Summary: The talloc library
@@ -128,6 +128,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
+- new upstream release.
+
 * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.8-1
 - new upstream release.
 
@@ -144,7 +147,7 @@ rm -rf $RPM_BUILD_ROOT
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
-* Thu Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-7
+* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-7
 - Let rpmbuild strip binaries, make build more verbose.
 - Resolves rhbz#669477 - libtalloc 2.0.5-6 binaries not stripped,
 -                        empty -debuginfo

+ 4 - 1
lib/libt/libtdb/libtdb-vl.spec

@@ -1,7 +1,7 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
 Name: libtdb
-Version: 1.2.11
+Version: 1.2.12
 Release: 1%{?_dist_release}
 Group: System Environment/Libraries
 Summary: The tdb library
@@ -132,6 +132,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-1
+- new upstream release.
+
 * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.11-1
 - new upstream release.
 

+ 5 - 2
lib/libt/libtevent/libtevent-vl.spec

@@ -1,5 +1,5 @@
 Name: libtevent
-Version: 0.9.17
+Version: 0.9.19
 Release: 1%{?_dist_release}
 Group: System Environment/Daemons
 Summary: The tevent library
@@ -89,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 %changelog
+* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.19-1
+- new upstream release.
+
 * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.17-1
 - new upstream release.
 - initial build for Vine Linux.
@@ -109,5 +112,5 @@ rm -rf $RPM_BUILD_ROOT
 * Wed Sep 16 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-2
 - Fix abi compatibility with 0.9.3
 
-* Sat Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-1
+* Tue Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-1
 - First independent release for tevent 0.9.8

+ 24 - 11
s/samba/samba-vl.spec

@@ -1,5 +1,6 @@
-%define samba_version 4.0.4
-%define doc_version 4.0.0-1
+%define samba_version 4.0.10
+%define doc_version 4.0.7
+%define api_version 4.0
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
 %global with_libsmbclient 1
@@ -400,6 +401,7 @@ make distclean
 
 ##export PATH=$PATH:$PWD/buildtools/bin
 ./configure \
+  --bundled-libraries=!talloc,!tdb,!pytdb,!ldb,!pyldb,!tevent,!pytevent,!ctdb \
   --with-gettext=/usr \
   --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2,idmap_hash \
   --with-winbind \
@@ -550,10 +552,11 @@ rm -f %{buildroot}%{_libdir}/pkgconfig/tevent.pc
 rm -f %{buildroot}%{_libdir}/pkgconfig/torture.pc
 rm -f %{buildroot}%{_libdir}/pkgconfig/dcerpc_server.pc
 
-find docs-ja/docs-xml/output/manpages/ -type f| while read f; do
+find docs-ja/output/manpages/ -type f| while read f; do
   c=`echo -n $f | sed -e 's,^.*\.,,'`
+  gzip -9 $f
   mkdir -p %{buildroot}%{_mandir}/ja/man$c
-  cp -f $f %{buildroot}%{_mandir}/ja/man$c/
+  cp -f $f.gz %{buildroot}%{_mandir}/ja/man$c/
 done
 
 
@@ -585,12 +588,14 @@ fi
 %post
 if [ $1 -eq 1 ]; then   # Install
   # modify named.conf.dlz for DLZ configuration if version 9.9.0 or later
-  bind_minor_ver=$(named -v | sed -e "s|^BIND \([.0-9]*\)|\1|" | cut -d "." -f 2)
-  if [ $bind_minor_ver -gt 8 ]; then
-    cat %{_datadir}/samba/setup/named.conf.dlz \
-      | sed -e "s|\(database.*dlz_bind9.so\)|# \1|" > %{_datadir}/samba/setup/named.conf.dlz9
-    cat %{_datadir}/samba/setup/named.conf.dlz9 > %{_datadir}/samba/setup/named.conf.dlz
-    rm %{_datadir}/samba/setup/named.conf.dlz9
+  if [ -f /usr/sbin/named ]; then
+    bind_minor_ver=$(named -v | sed -e "s|^BIND \([.0-9]*\)|\1|" | cut -d "." -f 2)
+    if [ $bind_minor_ver -gt 8 ]; then
+      cat %{_datadir}/samba/setup/named.conf.dlz \
+        | sed -e "s|\(database.*dlz_bind9.so\)|# \1|" > %{_datadir}/samba/setup/named.conf.dlz9
+      cat %{_datadir}/samba/setup/named.conf.dlz9 > %{_datadir}/samba/setup/named.conf.dlz
+      rm %{_datadir}/samba/setup/named.conf.dlz9
+    fi
   fi
 
   # chkconfig
@@ -993,7 +998,6 @@ exit 0
 %{_bindir}/samba-tool
 %{_sbindir}/samba_kcc
 %{_sbindir}/samba
-%{_sbindir}/samba_upgradeprovision
 %{_sbindir}/samba_dnsupdate
 %{_sbindir}/samba_spnupdate
 %{_sbindir}/samba_upgradedns
@@ -1100,6 +1104,7 @@ exit 0
 %{_bindir}/smbpasswd
 %{_bindir}/smbspool
 %{_bindir}/smbta-util
+%{_bindir}/smbtar
 %{_bindir}/smbtree
 #%{_bindir}/split_tokens
 %exclude %{_libdir}/samba/libldb-cmdline.so
@@ -1361,6 +1366,8 @@ exit 0
 %files python
 %defattr(-,root,root,-)
 %{python_sitearch}/*
+%exclude %{python_sitearch}/ldb.so
+%exclude %{python_sitearch}/_tevent.so
 
 ## --------------------------------------------------------------------
 %files pidl
@@ -1438,6 +1445,12 @@ exit 0
 %endif
 
 %changelog
+* Wed Oct 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.10-1
+- new upstream release.
+
+* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.9-1
+- new upstream release.
+
 * Tue Mar 26 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.4-1
 - new upstream release.
 - fixed dependency.