Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/packaging/RHEL-CTDB/samba.spec

    r620 r745  
    66Packager: Samba Team <samba@samba.org>
    77Name:         samba
    8 Version:      3.5.11
     8Version:      3.6.0
    99Release:      1GITHASH
    1010Epoch:        0
     
    1616
    1717# Don't depend on Net::LDAP
    18 Source997: docs.tar.bz2
    1918Source998: filter-requires-samba.sh
    2019Source999: setup.tar.bz2
    2120
    22 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
    23 Prereq: fileutils sed /etc/init.d
     21Requires: /sbin/chkconfig /bin/mktemp /usr/bin/killall
     22Requires: fileutils sed /etc/init.d
    2423
    2524Requires: pam >= 0.64 %{auth}
    2625Requires: samba-common = %{version}-%{release}
    27 Requires: logrotate >= 3.4 initscripts >= 5.54-1
    2826Provides: samba = %{version}
    2927
    3028Prefix: /usr
    3129BuildRoot: %{_tmppath}/%{name}-%{version}-root
    32 BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, ctdb, e2fsprogs-devel
     30BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, e2fsprogs-devel
     31# requirements for building the man pages:
     32BuildRequires: libxslt, docbook-utils, docbook-style-xsl
     33BuildRequires: ctdb-devel >= 1.2.25
    3334
    3435# Working around perl dependency problem from docs
     
    110111Group:        Documentation/Other
    111112Provides:     samba-doc = %{version}-%{release}
    112 Prereq:       /usr/bin/find /bin/rm /usr/bin/xargs
     113Requires:       /usr/bin/find /bin/rm /usr/bin/xargs
    113114
    114115%description doc
     
    125126# setup the vendor files (init scripts, etc...)
    126127%setup -T -D -a 999 -n samba-%{version} -q
    127 %setup -T -D -a 997 -n samba-%{version} -q
    128128
    129129%build
     
    159159CC="$CC -m32"
    160160
    161 CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -m32" ./configure \
     161CFLAGS="$RPM_OPT_FLAGS -O3 -D_GNU_SOURCE -m32" ./configure \
    162162        --prefix=%{_prefix} \
    163163        --localstatedir=/var \
     
    192192make showlayout
    193193
     194make samba3-idl
     195
    194196## check for gcc 3.4 or later
    195197CC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
     
    245247        --with-pam \
    246248        --with-quotas \
    247         --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2,vfs_gpfs \
     249        --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2,vfs_gpfs,vfs_tsmsm,vfs_gpfs_hsm_notify \
    248250        --with-syslog \
    249251        --with-utmp \
     
    281283done
    282284
     285# try and build the manpages
     286cd ..
     287./release-scripts/build-manpages-nogit
     288
    283289# Remove some permission bits to avoid to many dependencies
    284 cd ..
    285290find examples docs -type f | xargs -r chmod -x
    286291
     
    301306mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib
    302307mkdir -p $RPM_BUILD_ROOT/sbin
    303 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{logrotate.d,pam.d,samba}
    304 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,logrotate.d}
     308mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,samba}
     309mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d}
    305310mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
    306311mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{samba,sysconfig}
     
    352357echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
    353358
    354 install -m644 setup/samba.log $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba
    355359install -m644 setup/swat $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
    356360install -m644 setup/samba.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
     
    361365install -m644 setup/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
    362366install -m644 setup/smb.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
    363 install -m755 source3/bin/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
    364 install -m755 source3/bin/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs
    365367install -m755 source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
    366 
    367 /bin/rm $RPM_BUILD_ROOT%{_sbindir}/*mount.cifs
    368368
    369369ln -s ../..%{initdir}/smb  $RPM_BUILD_ROOT%{_sbindir}/samba
     
    373373find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \;
    374374
    375 ## don't duplicate the docs.  These are installed by/with SWAT
    376 rm -rf docs/htmldocs
    377 rm -rf docs/manpages
    378 ( cd docs; ln -s %{_prefix}/share/swat/help htmldocs )
    379375
    380376##
     
    451447%config(noreplace) %{_sysconfdir}/samba/smbusers
    452448%attr(755,root,root) %config %{initdir}/smb
    453 %config(noreplace) %{_sysconfdir}/logrotate.d/samba
    454449%config(noreplace) %{_sysconfdir}/pam.d/samba
    455450
     
    469464%{_bindir}/tdbtool
    470465%{_bindir}/tdbdump
     466%{_bindir}/tdbrestore
    471467%{_bindir}/eventlogadm
    472468
     
    477473%{_libarchdir}/samba/vfs/audit.so
    478474%{_libarchdir}/samba/vfs/cap.so
     475%{_libarchdir}/samba/vfs/catia.so
     476%{_libarchdir}/samba/vfs/crossrename.so
    479477%{_libarchdir}/samba/vfs/default_quota.so
    480478%{_libarchdir}/samba/vfs/dirsort.so
     
    485483%{_libarchdir}/samba/vfs/full_audit.so
    486484%{_libarchdir}/samba/vfs/gpfs.so
     485%{_libarchdir}/samba/vfs/gpfs_hsm_notify.so
     486%{_libarchdir}/samba/vfs/linux_xfs_sgid.so
    487487%{_libarchdir}/samba/vfs/netatalk.so
    488488%{_libarchdir}/samba/vfs/preopen.so
     
    490490%{_libarchdir}/samba/vfs/readonly.so
    491491%{_libarchdir}/samba/vfs/recycle.so
     492%{_libarchdir}/samba/vfs/scannedonly.so
    492493%{_libarchdir}/samba/vfs/shadow_copy.so
    493494%{_libarchdir}/samba/vfs/shadow_copy2.so
     
    496497%{_libarchdir}/samba/vfs/streams_xattr.so
    497498%{_libarchdir}/samba/vfs/syncops.so
     499%{_libarchdir}/samba/vfs/time_audit.so
    498500%{_libarchdir}/samba/vfs/tsmsm.so
    499501%{_libarchdir}/samba/vfs/xattr_tdb.so
     
    504506%{_mandir}/man1/vfstest.1*
    505507%{_mandir}/man5/smbpasswd.5*
     508%{_mandir}/man5/pam_winbind.conf.5*
    506509%{_mandir}/man7/samba.7*
    507510%{_mandir}/man8/nmbd.8*
     
    513516%{_mandir}/man8/eventlogadm.8*
    514517%{_mandir}/man8/vfs_*.8*
     518%{_mandir}/man8/smbta-util.8*
    515519
    516520
     
    519523%files doc
    520524%defattr(-,root,root)
    521 %doc README COPYING Manifest
    522 %doc WHATSNEW.txt Roadmap
    523 %doc docs
    524 %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
     525%doc README
     526%doc COPYING
     527%doc Manifest
     528%doc WHATSNEW.txt
     529%doc Roadmap
     530%doc docs-xml/archives/THANKS
     531%doc docs-xml/archives/history
     532%doc docs-xml/registry
     533%doc examples/autofs
     534%doc examples/LDAP
     535%doc examples/libsmbclient
     536%doc examples/misc
     537%doc examples/printer-accounting
    525538%doc examples/printing
    526539
     
    540553%files client
    541554%defattr(-,root,root)
    542 /sbin/mount.cifs
    543 /sbin/umount.cifs
    544 
    545 %{_sbindir}/cifs.upcall
    546555
    547556%{_bindir}/rpcclient
     
    556565%{_bindir}/smbtree
    557566%{_bindir}/sharesec
    558 
    559 %{_mandir}/man8/mount.cifs.8.*
    560 %{_mandir}/man8/umount.cifs.8.*
    561 %{_mandir}/man8/cifs.upcall.8*
     567%{_bindir}/smbta-util
     568
    562569%{_mandir}/man8/smbspool.8*
    563570%{_mandir}/man1/smbget.1*
     
    588595%attr(755,root,root) /%{_libarch}/security/pam_smbpass.so
    589596/usr/share/locale/*/LC_MESSAGES/pam_winbind.mo
     597/usr/share/locale/*/LC_MESSAGES/net.mo
    590598
    591599%{_libarchdir}/samba/charset/CP437.so
     
    594602%{_libarchdir}/samba/idmap/rid.so
    595603%{_libarchdir}/samba/idmap/tdb2.so
     604%{_libarchdir}/samba/idmap/autorid.so
    596605%{_libarchdir}/samba/lowcase.dat
    597606%{_libarchdir}/samba/nss_info/rfc2307.so
     
    614623%{_libarchdir}/libnetapi.so.0
    615624%{_libarchdir}/libtalloc.so
    616 %{_libarchdir}/libtalloc.so.1
     625%{_libarchdir}/libtalloc.so.2
    617626%{_libarchdir}/libtdb.so
    618627%{_libarchdir}/libtdb.so.1
     
    629638%{_bindir}/profiles
    630639%{_bindir}/net
    631 %{_bindir}/ldbadd
    632 %{_bindir}/ldbdel
    633 %{_bindir}/ldbedit
    634 %{_bindir}/ldbmodify
    635 %{_bindir}/ldbsearch
    636 %{_bindir}/ldbrename
    637640%{_bindir}/wbinfo
    638641%{_bindir}/ntlm_auth
     
    668671%attr(755,root,root) /lib/libnss_winbind.so.2
    669672%attr(755,root,root) /usr/lib/libtalloc.so
    670 %attr(755,root,root) /usr/lib/libtalloc.so.1
     673%attr(755,root,root) /usr/lib/libtalloc.so.2
    671674%attr(755,root,root) /usr/lib/libtdb.so
    672675%attr(755,root,root) /usr/lib/libtdb.so.1
Note: See TracChangeset for help on using the changeset viewer.