/[smeserver]/rpms/samba/sme8/samba.spec
ViewVC logotype

Annotation of /rpms/samba/sme8/samba.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Thu Mar 4 16:31:07 2010 UTC (14 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.2: +2 -0 lines
Fix headers

1 slords 1.3 # $Id$
2    
3 slords 1.1 # FIXME: poke upstream.
4     # Determining the tdb_version and talloc_version is a manual process at the
5     # moment. When bumping the Samba version or release, make sure the tdb_release
6     # and talloc_release numbers are bumped as well.
7     %define main_release 1
8     %define tdb_version 1.1.3
9 slords 1.2 %define tdb_release 1.1%{?dist}
10 slords 1.1 %define talloc_version 1.3.0
11 slords 1.2 %define talloc_release 2.1%{?dist}
12 slords 1.1 %define samba_version 3.4.3
13 slords 1.2 %define samba_release 1.1%{?dist}
14 slords 1.1 %define samba_source source3
15    
16     Summary: Samba SMB client and server
17     Vendor: Samba Team
18     Packager: ClearFoundation
19     Name: samba
20     Version: %{samba_version}
21     Release: %{samba_release}
22     Epoch: 0
23     License: GNU GPL version 3
24     Group: System Environment/Daemons
25     URL: http://www.samba.org/
26    
27     Source: http://www.samba.org/samba/ftp/samba/%{name}-%{samba_version}.tar.gz
28    
29     # Red Hat specific replacement-files
30     Source1: samba.log
31     Source2: samba.xinetd
32     Source4: samba.sysconfig
33     Source5: smb.init
34     Source6: samba.pamd
35     Source7: smbprint
36     Source8: winbind.init
37     Source9: smb.conf.default
38     Source10: nmb.init
39     Source11: pam_winbind.conf
40    
41     # Don't depend on Net::LDAP
42     Source998: filter-requires-samba.sh
43    
44    
45     Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
46     Prereq: fileutils sed /etc/init.d
47    
48     # generic patches
49     Patch102: samba-3.2.0pre1-pipedir.patch
50     # Patch104: samba-3.0.0rc3-nmbd-netbiosname.patch
51     # The passwd part has been applied, but not the group part
52     Patch107: samba-3.2.0pre1-grouppwd.patch
53     Patch200: samba-3.2.5-inotify.patch
54    
55     Requires: pam >= 0.64
56     Requires: samba-common = %{samba_version}-%{samba_release}
57     Requires: logrotate >= 3.4 initscripts >= 5.54-1
58     Requires(post): /sbin/chkconfig, /sbin/service
59     Requires(preun): /sbin/chkconfig, /sbin/service
60     BuildRoot: %{_tmppath}/%{name}-%{samba_version}-root
61     BuildRequires: pam-devel, readline-devel, ncurses-devel, libacl-devel, krb5-devel, openldap-devel, openssl-devel, cups-devel
62     #, ctdb-devel
63     BuildRequires: autoconf, gawk, gtk2-devel, libcap-devel
64    
65     # Working around perl dependency problem from docs
66     %define __perl_requires %{SOURCE998}
67    
68    
69    
70     %description
71     Samba is the protocol by which a lot of PC-related machines share
72     files, printers, and other information (such as lists of available
73     files and printers). The Windows NT, OS/2, and Linux operating systems
74     support this natively, and add-on packages can enable the same thing
75     for DOS, Windows, VMS, UNIX of all kinds, MVS, and more. This package
76     provides an SMB server that can be used to provide network services to
77     SMB (sometimes called "Lan Manager") clients. Samba uses NetBIOS over
78     TCP/IP (NetBT) protocols and does NOT need the NetBEUI (Microsoft Raw
79     NetBIOS frame) protocol.
80    
81    
82     #######################################################################
83     %package client
84     Summary: Samba (SMB) client programs.
85     Group: Applications/System
86     Requires: samba-common = %{samba_version}-%{samba_release}
87     Obsoletes: smbfs
88    
89     %description client
90     The samba-client package provides some SMB clients to compliment the
91     built-in SMB filesystem in Linux. These clients allow access of SMB
92     shares and printing to SMB printers.
93    
94    
95     #######################################################################
96     %package common
97     Summary: Files used by both Samba servers and clients.
98     Group: Applications/System
99     Requires(pre): /usr/sbin/groupadd
100     Requires(post): /sbin/chkconfig, /sbin/service, coreutils
101     Requires(preun): /sbin/chkconfig, /sbin/service
102    
103     %description common
104     Samba-common provides files necessary for both the server and client
105     packages of Samba.
106    
107    
108     #######################################################################
109     %package winbind
110     Summary: Samba winbind
111     Group: Applications/System
112     Requires: samba-common = %{epoch}:%{samba_version}-%{samba_release}
113     Requires(pre): /usr/sbin/groupadd
114     Requires(post): /sbin/chkconfig, /sbin/service, coreutils
115     Requires(preun): /sbin/chkconfig, /sbin/service
116    
117     %description winbind
118     The samba-winbind package provides the winbind daemon, a NSS library, a PAM
119     module and some client tools. Winbind enables Linux to be a full member in
120     Windows domains and to use Windows user and group accounts on Linux.
121    
122    
123     %package winbind-devel
124     Summary: Developer tools for the winbind library
125     Group: Development
126     Requires: samba-winbind = %{epoch}:%{samba_version}-%{samba_release}
127    
128     %description winbind-devel
129     The samba-winbind package provides developer tools for the wbclient library.
130    
131    
132     %package swat
133     Summary: The Samba SMB server configuration program.
134     Group: Applications/System
135     Requires: samba = %{samba_version}-%{samba_release} xinetd
136    
137     %description swat
138     The samba-swat package includes the new SWAT (Samba Web Administration
139     Tool), for remotely managing Samba's smb.conf file using your favorite
140     Web browser.
141    
142    
143     #######################################################################
144     %package doc
145     Summary: Samba Documentation
146     Group: Documentation/Other
147     Requires: samba-common = %{samba_version}-%{samba_release}
148    
149     %description doc
150     The samba-doc package includes the HTML versions of the Samba manpages
151     utilized by SWAT as well as the HTML and PDF version of "Using Samba",
152     "Samba By Example", and "The Official Samba HOWTO and Reference Guide".
153    
154     %package -n libsmbclient
155     Summary: The SMB client library
156     Group: Applications/System
157    
158     %description -n libsmbclient
159     The libsmbclient contains the SMB client library from the Samba suite.
160    
161    
162     %package -n libsmbclient-devel
163     Summary: Developer tools for the SMB client library
164     Group: Development
165     Requires: libsmbclient = %{epoch}:%{samba_version}-%{samba_release}
166    
167     %description -n libsmbclient-devel
168     The libsmbclient-devel package contains the header files and libraries needed to
169     develop programs that link against the SMB client library in the Samba suite.
170    
171    
172     %package -n libtdb
173     Summary: The TDB library and tools
174     Group: Applications/System
175     Version: %{tdb_version}
176     Release: %{tdb_release}%{?dist}
177    
178     %description -n libtdb
179     The TDB library from the Samba suite.
180    
181    
182     %package -n tdb-tools
183     Summary: The TDB tools
184     Group: Applications/System
185     Version: %{tdb_version}
186     Release: %{tdb_release}%{?dist}
187     Requires: libtdb = %{epoch}:%{tdb_version}-%{tdb_release}%{?dist}
188    
189     %description -n tdb-tools
190     Some TDB tools from the Samba suite.
191    
192    
193     %package -n libtdb-devel
194     Summary: Developer tools for the TDB library
195     Group: Development
196     Version: %{tdb_version}
197     Release: %{tdb_release}%{?dist}
198     Requires: libtdb = %{epoch}:%{tdb_version}-%{tdb_release}%{?dist}
199    
200     %description -n libtdb-devel
201     The libtdb-devel package contains the header files and libraries needed to
202     develop programs that link against the TDB library in the Samba suite.
203    
204    
205     %package -n libtalloc
206     Summary: The talloc library
207     Group: Applications/System
208     Version: %{talloc_version}
209     Release: %{talloc_release}%{?dist}
210    
211     %description -n libtalloc
212     The talloc library from the Samba suite.
213    
214    
215     %package -n libtalloc-devel
216     Summary: Developer tools for the talloc library
217     Group: Development
218     Version: %{talloc_version}
219     Release: %{talloc_release}%{?dist}
220     Requires: libtalloc = %{epoch}:%{talloc_version}-%{talloc_release}%{?dist}
221    
222     %description -n libtalloc-devel
223     The libtalloc-devel package contains the header files and libraries needed to
224     develop programs that link against the talloc library in the Samba suite.
225    
226     %package schema
227     Summary: Samba LDAP schema
228     Group: Applications/System
229    
230     %description schema
231     The Samba LDAP schema.
232    
233    
234     %prep
235     %setup -q
236    
237     # copy Red Hat specific scripts
238     mkdir packaging/Fedora
239     cp packaging/RHEL/setup/smbusers packaging/Fedora/
240     cp %{SOURCE5} packaging/Fedora/
241     cp %{SOURCE6} packaging/Fedora/
242     cp %{SOURCE7} packaging/Fedora/
243     cp %{SOURCE8} packaging/Fedora/winbind.init
244     cp %{SOURCE9} packaging/Fedora/
245     cp %{SOURCE10} packaging/Fedora/
246     cp %{SOURCE11} packaging/Fedora/
247    
248     # Upstream patches
249     #(none)
250     # generic patches
251     %patch102 -p1 -b .pipedir
252     %patch107 -p1 -b .grouppwd
253     %patch200 -p0 -b .inotify
254    
255     # Vendor version
256     mv %samba_source/VERSION %samba_source/VERSION.orig
257     sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{samba_release}\"/' < %samba_source/VERSION.orig > %samba_source/VERSION
258     cd %samba_source
259     script/mkversion.sh
260    
261     %build
262     cd %samba_source
263    
264     ## always run autogen.sh
265     ./autogen.sh
266    
267     %ifarch i386 sparc
268     RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
269     %endif
270     %ifarch ia64
271     #libtoolize --copy --force # get it to recognize IA-64
272     #autoheader
273     #autoconf
274     EXTRA="-D_LARGEFILE64_SOURCE"
275     %endif
276     CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" %configure \
277     --enable-cups \
278     --localstatedir=/var \
279     --prefix=%{_prefix} \
280     --with-acl-support \
281     --with-ads \
282     --with-aio-support \
283     --with-automount \
284     --with-cifsupcall \
285     --with-configdir=%{_sysconfdir}/samba \
286     --with-dnsupdate \
287     --with-fhs \
288     --with-libdir=%{_libdir}/samba \
289     --with-libsmbclient \
290     --with-libsmbsharemodes \
291     --with-lockdir=/var/lib/samba \
292     --with-logfilebase=/var/log/samba \
293     --with-mandir=%{_mandir} \
294     --with-mmap \
295     --with-modulesdir=%{_libdir}/samba \
296     --without-smbwrapper \
297     --with-pam \
298     --with-pammodulesdir=%{_libarch}/security \
299     --with-pam_smbpass \
300     --with-piddir=/var/run \
301     --with-privatedir=/var/lib/samba/private \
302     --with-quotas \
303     --with-sambabook=%{_datadir}/swat/using_samba \
304     --with-sendfile-support \
305     --with-shared-modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash \
306     --with-swatdir=%{_datadir}/swat \
307     --with-syslog \
308     --with-utmp \
309     --with-vfs \
310     --with-winbind
311    
312    
313     # make showlayout
314     #
315     make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}%{pre_release}/%samba_source/bin \
316     %{?_smp_mflags} \
317     proto
318    
319     make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}%{pre_release}/%samba_source/bin \
320     %{?_smp_mflags} \
321     all modules pam_smbpass
322    
323     %install
324     rm -rf $RPM_BUILD_ROOT
325    
326     mkdir -p $RPM_BUILD_ROOT/sbin
327     mkdir -p $RPM_BUILD_ROOT/usr/{sbin,bin}
328     mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
329     mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{pam.d,logrotate.d,security}
330     mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
331     mkdir -p $RPM_BUILD_ROOT/var/lib/samba
332     mkdir -p $RPM_BUILD_ROOT/var/lib/samba/private
333     mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
334     mkdir -p $RPM_BUILD_ROOT/var/lib/samba/scripts
335     mkdir -p $RPM_BUILD_ROOT/var/log/samba/old
336     mkdir -p $RPM_BUILD_ROOT/var/spool/samba
337     mkdir -p $RPM_BUILD_ROOT/%{_datadir}/swat/using_samba
338     mkdir -p $RPM_BUILD_ROOT/var/run/winbindd
339     mkdir -p $RPM_BUILD_ROOT/%{_libdir}/samba
340     mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
341    
342     cd %samba_source
343    
344     %makeinstall \
345     BINDIR=$RPM_BUILD_ROOT%{_bindir} \
346     BASEDIR=$RPM_BUILD_ROOT%{_prefix} \
347     SBINDIR=$RPM_BUILD_ROOT%{_sbindir} \
348     DATADIR=$RPM_BUILD_ROOT%{_datadir} \
349     LOCKDIR=$RPM_BUILD_ROOT/var/lib/samba \
350     PRIVATEDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
351     LIBDIR=$RPM_BUILD_ROOT%{_libdir}/ \
352     MODULESDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
353     CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
354     PAMMODULESDIR=$RPM_BUILD_ROOT/%{_lib}/security \
355     MANDIR=$RPM_BUILD_ROOT%{_mandir} \
356     VARDIR=$RPM_BUILD_ROOT/var/log/samba \
357     CODEPAGEDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
358     SWATDIR=$RPM_BUILD_ROOT%{_datadir}/swat \
359     SAMBABOOK=$RPM_BUILD_ROOT%{_datadir}/swat/using_samba \
360     PIDDIR=$RPM_BUILD_ROOT/var/run
361    
362     cd ..
363    
364     # Install other stuff
365     install -m644 packaging/Fedora/smb.conf.default $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
366     install -m755 %samba_source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
367     install -m644 packaging/Fedora/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
368     install -m755 packaging/Fedora/smbprint $RPM_BUILD_ROOT%{_bindir}
369     install -m755 packaging/Fedora/smb.init $RPM_BUILD_ROOT%{_initrddir}/smb
370     install -m755 packaging/Fedora/nmb.init $RPM_BUILD_ROOT%{_initrddir}/nmb
371     install -m755 packaging/Fedora/winbind.init $RPM_BUILD_ROOT%{_initrddir}/winbind
372     install -m644 packaging/Fedora/pam_winbind.conf $RPM_BUILD_ROOT%{_sysconfdir}/security
373     #ln -s ../..%{_initrddir}/smb $RPM_BUILD_ROOT%{_sbindir}/samba
374     install -m644 packaging/Fedora/samba.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/samba
375     install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba
376     echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
377     mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema
378     install -m644 examples/LDAP/samba.schema $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/samba.schema
379    
380     # winbind
381     mkdir -p $RPM_BUILD_ROOT%{_libdir}
382     install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
383     ln -sf /%{_lib}/libnss_winbind.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so
384     install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
385     ln -sf /%{_lib}/libnss_wins.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so
386    
387     # libraries {
388     mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
389     build_libdir="$RPM_BUILD_ROOT%{_libdir}"
390    
391     # talloc
392     cd lib/talloc
393     # just to get the correct .pc file generated
394     ./autogen.sh && ./configure --prefix=%{_prefix} --libdir=%{_libdir}
395     cd ../..
396     install -m 644 lib/talloc/talloc.pc $build_libdir/pkgconfig/
397    
398     # tdb
399     cd lib/tdb
400     # just to get the correct .pc file generated
401     ./autogen.sh && ./configure --prefix=%{_prefix} --libdir=%{_libdir}
402     cd ../..
403     install -m 644 lib/tdb/tdb.pc $build_libdir/pkgconfig/
404    
405     # make install puts libraries in the wrong place
406     # (but at least gets the versioning right now)
407    
408     list="smbclient smbsharemodes netapi talloc tdb wbclient"
409     for i in $list; do
410     install -m 644 %samba_source/pkgconfig/$i.pc $build_libdir/pkgconfig/ || true
411     done
412    
413    
414     /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/
415    
416     # }
417    
418     mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
419     install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
420    
421     mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
422     install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
423     install -m755 $RPM_BUILD_ROOT/usr/sbin/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
424     install -m755 $RPM_BUILD_ROOT/usr/sbin/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs
425    
426     rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/editreg.1*
427     rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
428     rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
429     #rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbget.1*
430     rm -f $RPM_BUILD_ROOT%{_mandir}/man5/smbgetrc.5*
431     rm -f $RPM_BUILD_ROOT%{_mandir}/man1/vfstest.1*
432     rm -f $RPM_BUILD_ROOT%{_mandir}/man1/testprns.1*
433     rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmount.8*
434     rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmnt.8*
435     rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbumount.8*
436    
437     # why are these getting installed in the wrong place?
438     rm -f $RPM_BUILD_ROOT%{_sbindir}/{u,}mount.cifs
439    
440    
441    
442    
443     %clean
444     rm -rf $RPM_BUILD_ROOT
445    
446     %post
447     /sbin/chkconfig --add smb
448     /sbin/chkconfig --add nmb
449     if [ "$1" -ge "1" ]; then
450     /sbin/service smb condrestart >/dev/null 2>&1 || :
451     /sbin/service nmb condrestart >/dev/null 2>&1 || :
452     fi
453     exit 0
454    
455     %preun
456     if [ $1 = 0 ] ; then
457     /sbin/service smb stop >/dev/null 2>&1 || :
458     /sbin/service nmb stop >/dev/null 2>&1 || :
459     /sbin/chkconfig --del smb
460     /sbin/chkconfig --del nmb
461     fi
462     exit 0
463    
464     #%postun
465    
466    
467     %pre winbind
468     /usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
469    
470     %post winbind
471     /sbin/chkconfig --add winbind
472    
473     if [ "$1" -ge "1" ]; then
474     /sbin/service winbind condrestart >/dev/null 2>&1 || :
475     fi
476    
477     %post common
478     /sbin/ldconfig
479    
480     # This script must be run always on installs or upgrades
481     # it checks if a previous installation have created files
482     # under /var/cache/samba and move them in that case as the
483     # new package wants them to be under /var/lib/samba for
484     # FHS compliance
485     #
486     # - we must stop the dameon if running and restart it
487     # after the script if it was
488     # - we do not overwrite newer files
489     # - even if /etc/init.d/smb is in samba and not
490     # samba-common we need to stop smbd/nmbd, if they
491     # are running, here as well, or we will mess up
492     # shared (between winbindd and smbd/nmbd) tdbs
493    
494     OLDPATH="/var/cache/samba"
495     NEWPATH="/var/lib/samba"
496    
497     eval ls $OLDPATH/*.tdb >/dev/null 2>&1
498     if [ $? = 0 ]; then
499     eval testparm -s 2>/dev/null |grep "lock dir" >/dev/null
500     if [ $? = 0 ]; then
501     echo "Warning: lock dir explicitly set. Not moving tdb files to new default location"
502     else
503    
504     #Stop daemons before we move the files around
505    
506     #this is what condrestart checks as well
507     if [ -f /var/lock/subsys/winbindd ]; then
508     /sbin/service winbind stop >/dev/null 2>&1 || :
509     # Use a dirty trick to fool condrestart later
510     touch /var/lock/subsys/winbindd
511     fi
512    
513     if [ -f /var/lock/subsys/smb ]; then
514     /sbin/service smb stop >/dev/null 2>&1 || :
515     # We need to stop smbd here as we are moving also smbd owned files
516     # but we can't restart it until the new server is installed.
517     # Use a dirty trick to fool condrestart later
518     touch /var/lock/subsys/smb
519     fi
520    
521     if [ -f /var/lock/subsys/nmb ]; then
522     /sbin/service nmb stop >/dev/null 2>&1 || :
523     # We need to stop smbd here as we are moving also smbd owned files
524     # but we can't restart it until the new server is installed.
525     # Use a dirty trick to fool condrestart later
526     touch /var/lock/subsys/nmb
527     fi
528    
529     eval ls $NEWPATH/*.tdb >/dev/null 2>&1
530     if [ $? = 0 ]; then
531     #something strange here, lets backup this stuff and avoid just wiping it
532    
533     mkdir $NEWPATH.pkgbkp
534     mv -f $NEWPATH/*.tdb $NEWPATH.pkgbkp/ >/dev/null 2>&1
535     mv -f $NEWPATH/*.dat $NEWPATH.pkgbkp/ >/dev/null 2>&1
536     mv -f $NEWPATH/perfmon $NEWPATH.pkgbkp/ >/dev/null 2>&1
537     mv -f $NEWPATH/printing $NEWPATH.pkgbkp/ >/dev/null 2>&1
538     fi
539    
540     mv -f $OLDPATH/*.tdb $NEWPATH/ >/dev/null 2>&1
541     mv -f $OLDPATH/*.dat $NEWPATH/ >/dev/null 2>&1
542     mv -f $OLDPATH/perfmon $NEWPATH/ >/dev/null 2>&1
543     mv -f $OLDPATH/printing $NEWPATH/ >/dev/null 2>&1
544    
545     fi
546     fi
547    
548     # We also moved private files from /etc/samba to
549     # /var/lib/samba/private so we need to migrate these as well
550    
551     #secrets.tdb
552     if [ -f %{_sysconfdir}/samba/secrets.tdb ]; then
553     eval testparm -s 2>/dev/null |grep "private dir" >/dev/null
554     if [ $? = 0 ]; then
555     echo "Warning: private dir explicitly set. Not moving secrets.tdb to new default location"
556     else
557     if [ -f /var/lib/samba/private/secrets.tdb ]; then
558     mv -f /var/lib/samba/private/secrets.tdb /var/lib/samba/private/secrets.tdb.old
559     fi
560     mv -f %{_sysconfdir}/samba/secrets.tdb /var/lib/samba/private/secrets.tdb
561     fi
562     fi
563    
564     #smbpasswd
565     if [ -f %{_sysconfdir}/samba/smbpasswd ]; then
566     eval testparm -s 2>/dev/null |grep "smb passwd file" >/dev/null
567     if [ $? = 0 ]; then
568     echo "Warning: smbpasswd file location explicitly set. Not moving smbpasswd to new default location"
569     else
570     if [ -f /var/lib/samba/private/smbpasswd ]; then
571     mv -f /var/lib/samba/private/smbpasswd /var/lib/samba/private/smbpasswd.old
572     fi
573     mv -f %{_sysconfdir}/samba/smbpasswd /var/lib/samba/private/smbpasswd
574     fi
575     fi
576    
577     #passdb.tdb
578     if [ -f %{_sysconfdir}/samba/passdb.tdb ]; then
579     eval testparm -s 2>/dev/null |grep "private dir" >/dev/null || testparm -s 2>/dev/null |grep -P "^\s*passdb\s*backend\s*=.*tdbsam:/etc/samba/passdb.tdb.*"
580     if [ $? = 0 ]; then
581     echo "Warning: passdb.tdb location explicitly set. Not moving passdb.tdb to new default location"
582     else
583     if [ -f /var/lib/samba/private/passdb.tdb ]; then
584     mv -f /var/lib/samba/private/passdb.tdb /var/lib/samba/private/passdb.tdb.old
585     fi
586     mv -f %{_sysconfdir}/samba/passdb.tdb /var/lib/samba/private/passdb.tdb
587     fi
588     fi
589    
590     #remove schannel_store if existing, it is not info we need to keep across restarts
591     if [ -f %{_sysconfdir}/samba/schannel_store.tdb ]; then
592     rm -f %{_sysconfdir}/samba/schannel_store.tdb
593     fi
594    
595     %preun winbind
596     if [ $1 = 0 ] ; then
597     /sbin/service winbind stop >/dev/null 2>&1 || :
598     /sbin/chkconfig --del winbind
599     fi
600     exit 0
601    
602     %postun common
603     /sbin/ldconfig
604    
605    
606     %post -n libsmbclient
607     /sbin/ldconfig
608    
609     %postun -n libsmbclient
610     /sbin/ldconfig
611    
612     %post -n libtdb
613     /sbin/ldconfig
614    
615     %postun -n libtdb
616     /sbin/ldconfig
617    
618     %post -n libtalloc
619     /sbin/ldconfig
620    
621     %postun -n libtalloc
622     /sbin/ldconfig
623    
624     %files
625     %defattr(-,root,root)
626     %{_sbindir}/smbd
627     %{_sbindir}/nmbd
628     %{_bindir}/mksmbpasswd.sh
629     %{_bindir}/smbstatus
630     %{_bindir}/eventlogadm
631     %config(noreplace) %{_sysconfdir}/samba/smbusers
632     %attr(755,root,root) %{_initrddir}/smb
633     %attr(755,root,root) %{_initrddir}/nmb
634     %config(noreplace) %{_sysconfdir}/logrotate.d/samba
635     %config(noreplace) %{_sysconfdir}/pam.d/samba
636     %{_mandir}/man7/samba.7*
637     %{_mandir}/man8/nmbd.8*
638     %{_mandir}/man8/smbd.8*
639     %{_mandir}/man8/eventlogadm.8*
640     %{_mandir}/man8/vfs_*.8*
641     %{_libdir}/samba/vfs
642     %{_libdir}/samba/auth
643     %{_libdir}/samba/charset
644     %attr(1777,root,root) %dir /var/spool/samba
645    
646     %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
647     %doc examples/printing
648    
649     %files swat
650     %defattr(-,root,root)
651     %config(noreplace) %{_sysconfdir}/xinetd.d/swat
652     %{_datadir}/swat
653     %{_sbindir}/swat
654     %{_mandir}/man8/swat.8*
655     %attr(755,root,root) %{_libdir}/samba/*.msg
656    
657     %files client
658     %defattr(-,root,root)
659     /sbin/mount.cifs
660     /sbin/umount.cifs
661     %{_sbindir}/cifs.upcall
662     %{_bindir}/rpcclient
663     %{_bindir}/smbcacls
664     %{_bindir}/findsmb
665     %{_bindir}/smbget
666     %{_bindir}/nmblookup
667     %{_bindir}/smbclient
668     %{_bindir}/smbprint
669     %{_bindir}/smbspool
670     %{_bindir}/smbtar
671     %{_bindir}/smbtree
672     %{_bindir}/sharesec
673     %{_mandir}/man1/findsmb.1*
674     %{_mandir}/man1/nmblookup.1*
675     %{_mandir}/man1/rpcclient.1*
676     %{_mandir}/man1/smbcacls.1*
677     %{_mandir}/man1/smbclient.1*
678     %{_mandir}/man1/smbtar.1*
679     %{_mandir}/man1/smbtree.1*
680     %{_mandir}/man1/smbget.1*
681     %{_mandir}/man1/sharesec.1*
682     %{_mandir}/man8/smbspool.8*
683     %{_mandir}/man8/mount.cifs.8*
684     %{_mandir}/man8/umount.cifs.8*
685     %{_mandir}/man8/cifs.upcall.8*
686    
687     %files common
688     %defattr(-,root,root)
689     %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
690     %dir %{_libdir}/samba
691     %{_libdir}/samba/lowcase.dat
692     %{_libdir}/samba/upcase.dat
693     %{_libdir}/samba/valid.dat
694     %{_libdir}/libnss_wins.so
695     /%{_lib}/libnss_wins.so.2
696     %{_libdir}/libnetapi.so
697     %attr(755,root,root) %{_libdir}/libnetapi.so.*
698     %{_includedir}/netapi.h
699     %{_libdir}/pkgconfig/netapi.pc
700     %{_bindir}/net
701     %{_bindir}/testparm
702     %{_bindir}/smbpasswd
703     %{_bindir}/pdbedit
704     %{_bindir}/profiles
705     %{_bindir}/smbcquotas
706     %{_bindir}/smbcontrol
707     %{_bindir}/ldbadd
708     %{_bindir}/ldbdel
709     %{_bindir}/ldbedit
710     %{_bindir}/ldbmodify
711     %{_bindir}/ldbrename
712     %{_bindir}/ldbsearch
713     %dir /var/lib/samba
714     %attr(700,root,root) %dir /var/lib/samba/private
715     %dir /var/lib/samba/scripts
716     %config(noreplace) %{_sysconfdir}/samba/smb.conf
717     %config(noreplace) %{_sysconfdir}/samba/lmhosts
718     %config(noreplace) %{_sysconfdir}/sysconfig/samba
719     %dir %{_sysconfdir}/samba
720     %attr(0700,root,root) %dir /var/log/samba
721     %attr(0700,root,root) %dir /var/log/samba/old
722     %{_mandir}/man1/ldbadd.1.gz
723     %{_mandir}/man1/ldbdel.1.gz
724     %{_mandir}/man1/ldbedit.1.gz
725     %{_mandir}/man1/ldbmodify.1.gz
726     %{_mandir}/man1/ldbrename.1.gz
727     %{_mandir}/man1/ldbsearch.1.gz
728     %{_mandir}/man1/profiles.1*
729     %{_mandir}/man1/smbcquotas.1*
730     %{_mandir}/man1/smbcontrol.1*
731     #%{_mandir}/man1/vfstest.1*
732     %{_mandir}/man1/testparm.1*
733     %{_mandir}/man1/smbstatus.1*
734     %{_mandir}/man5/smbpasswd.5*
735     %{_mandir}/man5/smb.conf.5*
736     %{_mandir}/man5/lmhosts.5*
737     %{_mandir}/man8/smbpasswd.8*
738     %{_mandir}/man8/pdbedit.8*
739     %{_mandir}/man8/net.8*
740    
741     %doc README COPYING Manifest
742     %doc WHATSNEW.txt Roadmap
743    
744     %files winbind
745     %{_bindir}/ntlm_auth
746     %{_bindir}/wbinfo
747     %{_libdir}/libnss_winbind.so
748     %attr(755,root,root) %{_libdir}/libwbclient.so.*
749     %{_libdir}/samba/idmap
750     %{_libdir}/samba/nss_info
751     /%{_lib}/libnss_winbind.so.2
752     /%{_lib}/security/pam_winbind.so
753     %{_sbindir}/winbindd
754     %dir /var/run/winbindd
755     %attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
756     %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
757     %{_initrddir}/winbind
758     %{_mandir}/man1/ntlm_auth.1*
759     %{_mandir}/man1/wbinfo.1*
760     %{_mandir}/man8/pam_winbind.8*
761     %{_mandir}/man7/winbind_krb5_locator.7*
762     %{_mandir}/man8/winbindd.8*
763     %{_mandir}/man8/idmap_*.8*
764     %{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
765    
766     %files winbind-devel
767     %{_includedir}/wbclient.h
768     %{_libdir}/libwbclient.so
769     %{_libdir}/pkgconfig/wbclient.pc
770    
771     %files doc
772     %doc docs/Samba3-Developers-Guide.pdf docs/Samba3-ByExample.pdf
773     %doc docs/Samba3-HOWTO.pdf
774     %doc docs/htmldocs
775    
776     %files -n libsmbclient
777     %attr(755,root,root) %{_libdir}/libsmbclient.so.*
778     %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
779    
780     %files -n libsmbclient-devel
781     %{_includedir}/libsmbclient.h
782     %{_includedir}/smb_share_modes.h
783     %{_libdir}/libsmbclient.so
784     %{_libdir}/libsmbsharemodes.so
785     %{_libdir}/pkgconfig/smbclient.pc
786     %{_libdir}/pkgconfig/smbsharemodes.pc
787     %{_mandir}/man7/libsmbclient.7*
788    
789     %files -n libtalloc
790     %attr(755,root,root) %{_libdir}/libtalloc.so.*
791    
792     %files -n libtalloc-devel
793     %{_includedir}/talloc.h
794     %{_libdir}/libtalloc.so
795     %{_libdir}/pkgconfig/talloc.pc
796    
797     %files -n libtdb
798     %attr(755,root,root) %{_libdir}/libtdb.so.*
799    
800     %files -n libtdb-devel
801     %{_includedir}/tdb.h
802     %{_libdir}/libtdb.so
803     %{_libdir}/pkgconfig/tdb.pc
804    
805     %files -n tdb-tools
806     %{_bindir}/tdbbackup
807     %{_bindir}/tdbdump
808     %{_bindir}/tdbtool
809     %{_mandir}/man8/tdbbackup.8*
810     %{_mandir}/man8/tdbdump.8*
811     %{_mandir}/man8/tdbtool.8*
812    
813     %files schema
814     %dir %{_sysconfdir}/openldap/schema
815     %{_sysconfdir}/openldap/schema/samba.schema
816    
817     %changelog
818     * Thu Nov 27 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.5-0.22
819     - Update to 3.2.5 (Security fix for CVE-2008-4314)
820    
821     * Thu Sep 18 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.4-0.21
822     - Update to 3.2.4
823     - resolves: #456889
824     - move cifs.upcall to /usr/sbin
825    
826     * Wed Aug 27 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.3-0.20
827     - Security fix for CVE-2008-3789
828    
829     * Wed Aug 20 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.2-0.19
830     - Update to 3.2.2
831     - resolves: #456889
832    
833     * Wed Aug 6 2008 Simo Sorce <ssorce@redhat.com> - 3.2.1-0.18
834     - Update to 3.2.1
835    
836     * Tue Jul 1 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-2.17
837     - Update to 3.2.0 final
838     - resolves: #452622
839    
840     * Tue Jun 10 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.rc2.16
841     - Update to 3.2.0rc2
842     - resolves: #449522
843     - resolves: #448107
844    
845     * Fri May 30 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.rc1.15
846     - Fix security=server
847     - resolves: #449038, #449039
848    
849     * Wed May 28 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.rc1.14
850     - Add fix for CVE-2008-1105
851     - resolves: #446724
852    
853     * Fri May 23 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.rc1.13
854     - Update to 3.2.0rc1
855    
856     * Wed May 21 2008 Simo Sorce <ssorce@redhat.com> - 3.2.0-1.pre3.12
857     - make it possible to print against Vista and XP SP3 as servers
858     - resolves: #439154
859    
860     * Thu May 15 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.pre3.11
861     - Add "net ads join createcomputer=ou1/ou2/ou3" fix (BZO #5465)
862    
863     * Fri May 09 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.pre3.10
864     - Add smbclient fix (BZO #5452)
865    
866     * Fri Apr 25 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.pre3.9
867     - Update to 3.2.0pre3
868    
869     * Tue Mar 18 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.pre2.8
870     - Add fixes for libsmbclient and support for r/o relocations
871    
872     * Mon Mar 10 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.pre2.7
873     - Fix libnetconf, libnetapi and msrpc DSSETUP call
874    
875     * Thu Mar 06 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.pre2.6
876     - Create separate packages for samba-winbind and samba-winbind-devel
877     - Add cifs.spnego helper
878    
879     * Wed Mar 05 2008 Guenther Deschner <gdeschner@redhat.com> - 3.2.0-1.pre2.3
880     - Update to 3.2.0pre2
881     - Add talloc and tdb lib and devel packages
882     - Add domainjoin-gui package
883    
884     * Fri Feb 22 2008 Simo Sorce <ssorce@redhat.com> - 3.2.0-0.pre1.3
885     - Try to fix GCC 4.3 build
886     - Add --with-dnsupdate flag and also make sure other flags are required just to
887     be sure the features are included without relying on autodetection to be
888     successful
889    
890     * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:3.2.0-1.pre1.2
891     - Autorebuild for GCC 4.3
892    
893     * Tue Dec 04 2007 Release Engineering <rel-eng at fedoraproject dot org> - 3.2.0-0.pre1.2
894     - Rebuild for openldap bump
895    
896     * Thu Oct 18 2007 Guenther Deschner <gdeschner@redhat.com> 3.2.0-0.pre1.1.fc9
897     - 32/64bit padding fix (affects multilib installations)
898    
899     * Wed Oct 8 2007 Simo Sorce <ssorce@redhat.com> 3.2.0-0.pre1.fc9
900     - New major relase, minor switched from 0 to 2
901     - License change, the code is now GPLv3+
902     - Numerous improvements and bugfixes included
903     - package libsmbsharemodes too
904     - remove smbldap-tools as they are already packaged separately in Fedora
905     - Fix bug 245506
906    
907     * Tue Oct 2 2007 Simo Sorce <ssorce@redhat.com> 3.0.26a-1.fc8
908     - rebuild with AD DNS Update support
909    
910     * Tue Sep 11 2007 Simo Sorce <ssorce@redhat.com> 3.0.26a-0.fc8
911     - upgrade to the latest upstream realease
912     - includes security fixes released today in 3.0.26
913    
914     * Tue Aug 24 2007 Simo Sorce <ssorce@redhat.com> 3.0.25c-4.fc8
915     - add fix reported upstream for heavy idmap_ldap memleak
916    
917     * Tue Aug 21 2007 Simo Sorce <ssorce@redhat.com> 3.0.25c-3.fc8
918     - fix a few places were "open" is used an interfere with the new glibc
919    
920     * Tue Aug 21 2007 Simo Sorce <ssorce@redhat.com> 3.0.25c-2.fc8
921     - remove old source
922     - add patch to fix samba bugzilla 4772
923    
924     * Tue Aug 21 2007 Guenther Deschner <gdeschner@redhat.com> 3.0.25c-0.fc8
925     - update to 3.0.25c
926    
927     * Tue Jun 29 2007 Simo Sorce <ssorce@redhat.com> 3.0.25b-3.fc8
928     - handle cases defined in #243766
929    
930     * Tue Jun 26 2007 Simo Sorce <ssorce@redhat.com> 3.0.25b-2.fc8
931     - update to 3.0.25b
932     - better error codes for init scripts: #244823
933    
934     * Tue May 29 2007 Günther Deschner <gdeschner@redhat.com>
935     - fix pam_smbpass patch.
936    
937     * Fri May 25 2007 Simo Sorce <ssorce@redhat.com>
938     - update to 3.0.25a as it contains many fixes
939     - add a fix for pam_smbpass made by Günther but committed upstream after 3.0.25a was cut.
940    
941     * Mon May 14 2007 Simo Sorce <ssorce@redhat.com>
942     - final 3.0.25
943     - includes security fixes for CVE-2007-2444,CVE-2007-2446,CVE-2007-2447
944    
945     * Mon Apr 30 2007 Günther Deschner <gdeschner@redhat.com>
946     - move to 3.0.25rc3
947    
948     * Thu Apr 19 2007 Simo Sorce <ssorce@redhat.com>
949     - fixes in the spec file
950     - moved to 3.0.25rc1
951     - addedd patches (merged upstream so they will be removed in 3.0.25rc2)
952    
953     * Wed Apr 4 2007 Simo Sorce <ssorce@redhat.com> 3.0.24-12.fc7
954     - fixes in smb.conf
955     - advice in smb.conf to put scripts in /var/lib/samba/scripts
956     - create /var/lib/samba/scripts so that selinux can be happy
957     - fix Vista problems with msdfs errors
958    
959     * Tue Apr 03 2007 Guenther Deschner <gdeschner@redhat.com> 3.0.24-11.fc7
960     - enable PAM and NSS dlopen checks during build
961     - fix unresolved symbols in libnss_wins.so (bug #198230)
962    
963     * Fri Mar 30 2007 Simo Sorce <ssorce@redhat.com> 3.0.24-10.fc7
964     - set passdb backend = tdbsam as default in smb.conf
965     - remove samba-docs dependency from swat, that was a mistake
966     - put back COPYING and other files in samba-common
967     - put examples in samba not in samba-docs
968     - leave only stuff under docs/ in samba-doc
969    
970     * Thu Mar 29 2007 Simo Sorce <ssorce@redhat.com> 3.0.24-9.fc7
971     - integrate most of merge review proposed changes (bug #226387)
972     - remove libsmbclient-devel-static and simply stop shipping the
973     static version of smbclient as it seem this is deprecated and
974     actively discouraged
975    
976     * Wed Mar 28 2007 Simo Sorce <ssorce@redhat.com> 3.0.24-8.fc7
977     - fix for bug #176649
978    
979     * Mon Mar 26 2007 Simo Sorce <ssorce@redhat.com>
980     - remove patch for bug 106483 as it introduces a new bug that prevents
981     the use of a credentials file with the smbclient tar command
982     - move the samba private dir from being the same as the config dir
983     (/etc/samba) to /var/lib/samba/private
984    
985     * Mon Mar 26 2007 Simo Sorce <ssorce@redhat.com> 3.0.24-7.fc7
986     - make winbindd start earlier in the init process, at the same time
987     ypbind is usually started as well
988     - add a sepoarate init script for nmbd called nmb, we need to be able
989     to restart nmbd without dropping al smbd connections unnecessarily
990    
991     * Fri Mar 23 2007 Simo Sorce <ssorce@redhat.com>
992     - add samba.schema to /etc/openldap/schema
993    
994     * Thu Mar 22 2007 Florian La Roche <laroche@redhat.com>
995     - adjust the Requires: for the scripts, add "chkconfig --add smb"
996    
997     * Tue Mar 20 2007 Simo Sorce <ssorce@redhat.com> 3.0.24-6.fc7
998     - do not put comments inline on smb.conf options, they may be read
999     as part of the value (for example log files names)
1000    
1001     * Mon Mar 19 2007 Simo Sorce <ssorce@redhat.com> 3.0.24-5.fc7
1002     - actually use the correct samba.pamd file not the old samba.pamd.stack file
1003     - fix logifles and use upstream convention of log.* instead of our old *.log
1004     Winbindd creates its own log.* files anyway so we will be more consistent
1005     - install our own (enhanced) default smb.conf file
1006     - Fix pam_winbind acct_mgmt PAM result code (prevented local users from
1007     logging in). Fixed by Guenther.
1008     - move some files from samba to samba-common as they are used with winbindd
1009     as well
1010    
1011     * Fri Mar 16 2007 Guenther Deschner <gdeschner@redhat.com> 3.0.24-4.fc7
1012     - fix arch macro which reported Vista to Samba clients.
1013    
1014     * Thu Mar 15 2007 Simo Sorce <ssorce@redhat.com> 3.0.24-3.fc7
1015     - Directories reorg, tdb files must go to /var/lib, not
1016     to /var/cache, add migration script in %%post common
1017     - Split out libsmbclient, devel and doc packages
1018     - Remove libmsrpc.[h|so] for now as they are not really usable
1019     - Remove kill -HUP from rotate, samba use -HUP for other things
1020     noit to reopen logs
1021    
1022     * Tue Feb 20 2007 Simo Sorce <ssorce@redhat.com> 3.0.24-2.fc7
1023     - New upstream release
1024     - Fix packaging issue wrt idmap modules used only by smbd
1025     - Addedd Vista Patchset for compatibility with Windows Vista
1026     - Change default of "msdfs root", it seem to cause problems with
1027     some applications and it has been proposed to change it for
1028     3.0.25 upstream
1029    
1030     * Fri Sep 1 2006 Jay Fenlason <fenlason@redhat.com> 3.0.23c-2
1031     - New upstream release.
1032    
1033     * Tue Aug 8 2006 Jay Fenlason <fenlason@redhat.com> 3.0.23b-2
1034     - New upstream release.
1035    
1036     * Mon Jul 24 2006 Jay Fenlason <fenlason@redhat.com> 3.0.23a-3
1037     - Fix the -logfiles patch to close
1038     bz#199607 Samba compiled with wrong log path.
1039     bz#199206 smb.conf has incorrect log file path
1040    
1041     * Mon Jul 24 2006 Jay Fenlason <fenlason@redhat.com> 3.0.23a-2
1042     - Upgrade to new upstream 3.0.23a
1043     - include upstream samr_alias patch
1044    
1045     * Tue Jul 11 2006 Jay Fenlason <fenlason@redhat.com> 3.0.23-2
1046     - New upstream release.
1047     - Use modified filter-requires-samba.sh from packaging/RHEL/setup/
1048     to get rid of bogus dependency on perl(Unicode::MapUTF8)
1049     - Update the -logfiles and -smb.conf patches to work with 3.0.23
1050    
1051     * Thu Jul 6 2006 Jay Fenlason <fenlason@redhat.com> 3.0.23-0.RC3
1052     - New upstream RC release.
1053     - Update the -logfiles, and -passwd patches for
1054     3.0.23rc3
1055     - Include the change to smb.init from Bastien Nocera <bnocera@redhat.com>)
1056     to close
1057     bz#182560 Wrong retval for initscript when smbd is dead
1058     - Update this spec file to build with 3.0.23rc3
1059     - Remove the -install.mount.smbfs patch, since we don't install
1060     mount.smbfs any more.
1061    
1062     * Wed Jun 14 2006 Tomas Mraz <tmraz@redhat.com> - 2.0.21c-3
1063     - rebuilt with new gnutls
1064    
1065     * Fri Mar 17 2006 Jay Fenlason <fenlason@redhat.com> 2.0.21c-2
1066     - New upstream version.
1067    
1068     * Mon Feb 13 2006 Jay Fenlason <fenlason@redhat.com> 3.0.21b-2
1069     - New upstream version.
1070     - Since the rawhide kernel has dropped support for smbfs, remove smbmount
1071     and smbumount. Users should use mount.cifs instead.
1072     - Upgrade to 3.0.21b
1073    
1074     * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:3.0.20b-2.1.1
1075     - bump again for double-long bug on ppc(64)
1076    
1077     * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1078     - rebuilt
1079    
1080     * Mon Nov 13 2005 Jay Fenlason <fenlason@redhat.com> 3.0.20b-2
1081     - turn on -DLDAP_DEPRECATED to allow access to ldap functions that have
1082     been depricated in 2.3.11, but which don't have well-documented
1083     replacements (ldap_simple_bind_s(), for example).
1084     - Upgrade to 3.0.20b, which includes all the previous upstream patches.
1085     - Updated the -warnings patch for 3.0.20a.
1086     - Include --with-shared-modules=idmap_ad,idmap_rid to close
1087     bz#156810 --with-shared-modules=idmap_ad,idmap_rid
1088     - Include the new samba.pamd from Tomas Mraz (tmraz@redhat.com) to close
1089     bz#170259 pam_stack is deprecated
1090    
1091     * Sun Nov 13 2005 Warren Togami <wtogami@redhat.com> 3.0.20-3
1092     - epochs from deps, req exact release
1093     - rebuild against new openssl
1094    
1095     * Mon Aug 22 2005 Jay Fenlason <fenlason@redhat.com> 3.0.20-2
1096     - New upstream release
1097     Includes five upstream patches -bug3010_v1, -groupname_enumeration_v3,
1098     -regcreatekey_winxp_v1, -usrmgr_groups_v1, and -winbindd_v1
1099     This obsoletes the -pie and -delim patches
1100     the -warning and -gcc4 patches are obsolete too
1101     The -man, -passwd, and -smbspool patches were updated to match 3.0.20pre1
1102     Also, the -quoting patch was implemented differently upstream
1103     There is now a umount.cifs executable and manpage
1104     We run autogen.sh as part of the build phase
1105     The testprns command is now gone
1106     libsmbclient now has a man page
1107     - Include -bug106483 patch to close
1108     bz#106483 smbclient: -N negates the provided password, despite documentation
1109     - Added the -warnings patch to quiet some compiler warnings.
1110     - Removed many obsolete patches from CVS.
1111    
1112     * Mon May 2 2005 Jay Fenlason <fenlason@redhat.com> 3.0.14a-2
1113     - New upstream release.
1114     - the -64bit-timestamps, -clitar, -establish_trust, user_rights_v1,
1115     winbind_find_dc_v2 patches are now obsolete.
1116    
1117     * Thu Apr 7 2005 Jay Fenlason <fenlason@redhat.com> 3.0.13-2
1118     - New upstream release
1119     - add my -quoting patch, to fix swat with strings that contain
1120     html meta-characters, and to use correct quote characters in
1121     lists, closing bz#134310
1122     - include the upstream winbindd_2k3sp1 patch
1123     - include the -smbclient patch.
1124     - include the -hang patch from upstream.
1125    
1126     * Thu Mar 24 2005 Florian La Roche <laroche@redhat.com>
1127     - add a "exit 0" to the postun of the main samba package
1128    
1129     * Wed Mar 2 2005 Tomas Mraz <tmraz@redhat.com> 3.0.11-5
1130     - rebuild with openssl-0.9.7e
1131    
1132     * Thu Feb 24 2005 Jay Fenlason <fenlason@redhat.com> 3.0.11-4
1133     - Use the updated filter-requires-samba.sh file, so we don't accidentally
1134     pick up a dependency on perl(Crypt::SmbHash)
1135    
1136     * Fri Feb 18 2005 Jay Fenlason <fenlason@redhat.com> 3.0.11-3
1137     - add -gcc4 patch to compile with gcc 4.
1138     - remove the now obsolete -smbclient-kerberos.patch
1139     - Include four upstream patches from
1140     http://samba.org/~jerry/patches/post-3.0.11/
1141     (Slightly modified the winbind_find_dc_v2 patch to apply easily with
1142     rpmbuild).
1143    
1144     * Fri Feb 4 2005 Jay Fenlason <fenlason@redhat.com> 3.0.11-2
1145     - include -smbspool patch to close bz#104136
1146    
1147     * Wed Jan 12 2005 Jay Fenlason <fenlason@redhat.com> 3.0.10-4
1148     - Update the -man patch to fix ntlm_auth.1 too.
1149     - Move pam_smbpass.so to the -common package, so both the 32
1150     and 64-bit versions will be installed on multiarch platforms.
1151     This closes bz#143617
1152     - Added new -delim patch to fix mount.cifs so it can accept
1153     passwords with commas in them (via environment or credentials
1154     file) to close bz#144198
1155    
1156     * Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 3.0.10-3
1157     - Rebuilt for new readline.
1158    
1159     * Fri Dec 17 2004 Jay Fenlason <fenlason@redhat.com> 3.0.10-2
1160     - New upstream release that closes CAN-2004-1154 bz#142544
1161     - Include the -64bit patch from Nalin. This closes bz#142873
1162     - Update the -logfiles patch to work with 3.0.10
1163     - Create /var/run/winbindd and make it part of the -common rpm to close
1164     bz#142242
1165    
1166     * Mon Nov 22 2004 Jay Fenlason <fenlason@redhat.com> 3.0.9-2
1167     - New upstream release. This obsoletes the -secret patch.
1168     Include my changetrustpw patch to make "net ads changetrustpw" stop
1169     aborting. This closes #134694
1170     - Remove obsolete triggers for ancient samba versions.
1171     - Move /var/log/samba to the -common rpm. This closes #76628
1172     - Remove the hack needed to get around the bad docs files in the
1173     3.0.8 tarball.
1174     - Change the comment in winbind.init to point at the correct pidfile.
1175     This closes #76641
1176    
1177     * Mon Nov 22 2004 Than Ngo <than@redhat.com> 3.0.8-4
1178     - fix unresolved symbols in libsmbclient which caused applications
1179     such as KDE's konqueror to fail when accessing smb:// URLs. #139894
1180    
1181     * Thu Nov 11 2004 Jay Fenlason <fenlason@redhat.com> 3.0.8-3.1
1182     - Rescue the install.mount.smbfs patch from Juanjo Villaplana
1183     (villapla@si.uji.es) to prevent building the srpm from trashing your
1184     installed /usr/bin/smbmount
1185    
1186     * Tue Nov 9 2004 Jay Fenlason <fenlason@redhat.com> 3.0.8-3
1187     - Include the corrected docs tarball, and use it instead of the
1188     obsolete docs from the upstream 3.0.8 tarball.
1189     - Update the logfiles patch to work with the updated docs.
1190    
1191     * Mon Nov 8 2004 Jay Fenlason <fenlason@redhat.com> 3.0.8-2
1192     - New upstream version fixes CAN-2004-0930. This obsoletes the
1193     disable-sendfile, salt, signing-shortkey and fqdn patches.
1194     - Add my <fenlason@redhat.com> ugly non-ascii-domain patch.
1195     - Updated the pie patch for 3.0.8.
1196     - Updated the logfiles patch for 3.0.8.
1197    
1198     * Tue Oct 26 2004 Jay Fenlason <fenlason@redhat.com> 3.0.8-0.pre2
1199     - New upstream version
1200     - Add Nalin's signing-shortkey patch.
1201    
1202     * Tue Oct 19 2004 Jay Fenlason <fenlason@redhat.com> 3.0.8-0.pre1.3
1203     - disable the -salt patch, because it causes undefined references in
1204     libsmbclient that prevent gnome-vfs from building.
1205    
1206     * Fri Oct 15 2004 Jay Fenlason <fenlason@redhat.com> 3.0.8-0.pre1.2
1207     - Re-enable the x_fclose patch that was accidentally disabled
1208     in 3.0.8-0.pre1.1. This closes #135832
1209     - include Nalin's -fqdn and -salt patches.
1210    
1211     * Wed Oct 13 2004 Jay Fenlason <fenlason@redhat.com> 3.0.8-0.pre1.1
1212     - Include disable-sendfile patch to default "use sendfile" to "no".
1213     This closes #132779
1214    
1215     * Wed Oct 6 2004 Jay Fenlason <fenlason@redhat.com>
1216     - Include patch from Steven Lawrance (slawrance@yahoo.com) that modifies
1217     smbmnt to work with 32-bit uids.
1218    
1219     * Mon Sep 27 2004 Jay Fenlason <fenlason@redhat.com> 3.0.8-0.pre1
1220     - new upstream release. This obsoletes the ldapsam_compat patches.
1221    
1222     * Wed Sep 15 2004 Jay Fenlason <fenlason@redhat.com> 3.0.7-4
1223     - Update docs section to not carryover the docs/manpages directory
1224     This moved many files from /usr/share/doc/samba-3.0.7/docs/* to
1225     /usr/share/doc/samba-3.0.7/*
1226     - Modify spec file as suggested by Rex Dieter (rdieter@math.unl.edu)
1227     to correctly create libsmbclient.so.0 and to use %%_initrddir instead
1228     of rolling our own. This closes #132642
1229     - Add patch to default "use sendfile" to no, since sendfile appears to
1230     be broken
1231     - Add patch from Volker Lendecke <vl@samba.org> to help make
1232     ldapsam_compat work again.
1233     - Add patch from "Vince Brimhall" <vbrimhall@novell.com> for ldapsam_compat
1234     These two patches close bugzilla #132169
1235    
1236     * Mon Sep 13 2004 Jay Fenlason <fenlason@redhat.com> 3.0.7-3
1237     - Upgrade to 3.0.7, which fixes CAN-2004-0807 CAN-2004-0808
1238     This obsoletes the 3.0.6-schema patch.
1239     - Update BuildRequires line to include openldap-devel openssl-devel
1240     and cups-devel
1241    
1242     * Mon Aug 16 2004 Jay Fenlason <fenlason@redhat.com> 3.0.6-3
1243     - New upstream version.
1244     - Include post 3.0.6 patch from "Gerald (Jerry) Carter" <jerry@samba.org>
1245     to fix a duplicate in the LDAP schema.
1246     - Include 64-bit timestamp patch from Ravikumar (rkumar@hp.com)
1247     to allow correct timestamp handling on 64-bit platforms and fix #126109.
1248     - reenable the -pie patch. Samba is too widely used, and too vulnerable
1249     to potential security holes to disable an important security feature
1250     like -pie. The correct fix is to have the toolchain not create broken
1251     executables when programs compiled -pie are stripped.
1252     - Remove obsolete patches.
1253     - Modify this spec file to put libsmbclient.{a,so} in the right place on
1254     x86_64 machines.
1255    
1256     * Wed Aug 5 2004 Jason Vas Dias <jvdias@redhat.com> 3.0.5-3
1257     - Removed '-pie' patch - 3.0.5 uses -fPIC/-PIC, and the combination
1258     - resulted in executables getting corrupt stacks, causing smbmnt to
1259     - get a SIGBUS in the mount() call (bug 127420).
1260    
1261     * Fri Jul 30 2004 Jay Fenlason <fenlason@redhat.com> 3.0.5-2
1262     - Upgrade to 3.0.5, which is a regression from 3.0.5pre1 for a
1263     security fix.
1264     - Include the 3.0.4-backport patch from the 3E branch. This restores
1265     some of the 3.0.5pre1 and 3.0.5rc1 functionality.
1266    
1267     * Tue Jul 20 2004 Jay Fenlason <fenlason@redhat.com> 3.0.5-0.pre1.1
1268     - Backport base64_decode patche to close CAN-2004-0500
1269     - Backport hash patch to close CAN-2004-0686
1270     - use_authtok patch from Nalin Dahyabhai <nalin@redhat.com>
1271     - smbclient-kerberos patch from Alexander Larsson <alexl@redhat.com>
1272     - passwd patch uses "*" instead of "x" for "hashed" passwords for
1273     accounts created by winbind. "x" means "password is in /etc/shadow" to
1274     brain-damaged pam_unix module.
1275    
1276     * Fri Jul 2 2004 Jay Fenlason <fenlason@redhat.com> 3.0.5.0pre1.0
1277     - New upstream version
1278     - use %% { SOURCE1 } instead of a hardcoded path
1279     - include -winbind patch from Gerald (Jerry) Carter (jerry@samba.org)
1280     https://bugzilla.samba.org/show_bug.cgi?id=1315
1281     to make winbindd work against Windows versions that do not have
1282     128 bit encryption enabled.
1283     - Moved %%{_bindir}/net to the -common package, so that folks who just
1284     want to use winbind, etc don't have to install -client in order to
1285     "net join" their domain.
1286     - New upstream version obsoletes the patches added in 3.0.3-5
1287     - Remove smbgetrc.5 man page, since we don't ship smbget.
1288    
1289     * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
1290     - rebuilt
1291    
1292     * Tue May 4 2004 Jay Fenlason <fenlason@redhat.com> 3.0.3-5
1293     - Patch to allow password changes from machines patched with
1294     Microsoft hotfix MS04-011.
1295     - Include patches for https://bugzilla.samba.org/show_bug.cgi?id=1302
1296     and https://bugzilla.samba.org/show_bug.cgi?id=1309
1297    
1298     * Thu Apr 29 2004 Jay Fenlason <fenlason@redhat.com> 3.0.3-4
1299     - Samba 3.0.3 released.
1300    
1301     * Wed Apr 21 2004 jay Fenlason <fenlason@redhat.com> 3.0.3-3.rc1
1302     - New upstream version
1303     - updated spec file to make libsmbclient.so executable. This closes
1304     bugzilla #121356
1305    
1306     * Mon Apr 5 2004 Jay Fenlason <fenlason@redhat.com> 3.0.3-2.pre2
1307     - New upstream version
1308     - Updated configure line to remove --with-fhs and to explicitly set all
1309     the directories that --with-fhs was setting. We were overriding most of
1310     them anyway. This closes #118598
1311    
1312     * Mon Mar 15 2004 Jay Fenlason <fenlason@redhat.com> 3.0.3-1.pre1
1313     - New upstream version.
1314     - Updated -pie and -logfiles patches for 3.0.3pre1
1315     - add krb5-devel to buildrequires, fixes #116560
1316     - Add patch from Miloslav Trmac (mitr@volny.cz) to allow non-root to run
1317     "service smb status". This fixes #116559
1318    
1319     * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
1320     - rebuilt
1321    
1322     * Mon Feb 16 2004 Jay Fenlason <fenlason@redhat.com> 3.0.2a-1
1323     - Upgrade to 3.0.2a
1324    
1325     * Mon Feb 16 2004 Karsten Hopp <karsten@redhat.de> 3.0.2-7
1326     - fix ownership in -common package
1327    
1328     * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
1329     - rebuilt
1330    
1331     * Fri Feb 13 2004 Jay Fenlason <fenlason@redhat.com>
1332     - Change all requires lines to list an explicit epoch. Closes #102715
1333     - Add an explicit Epoch so that %%{epoch} is defined.
1334    
1335     * Mon Feb 9 2004 Jay Fenlason <fenlason@redhat.com> 3.0.2-5
1336     - New upstream version: 3.0.2 final includes security fix for #114995
1337     (CAN-2004-0082)
1338     - Edit postun script for the -common package to restart winbind when
1339     appropriate. Fixes bugzilla #114051.
1340    
1341     * Mon Feb 2 2004 Jay Fenlason <fenlason@redhat.com> 3.0.2-3rc2
1342     - add %%dir entries for %%{_libdir}/samba and %%{_libdir}/samba/charset
1343     - Upgrade to new upstream version
1344     - build mount.cifs for the new cifs filesystem in the 2.6 kernel.
1345    
1346     * Mon Jan 19 2004 Jay Fenlason <fenlason@redhat.com> 3.0.2-1rc1
1347     - Upgrade to new upstream version
1348    
1349     * Wed Dec 17 2003 Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> 3.0.1-1
1350     - Update to 3.0.1
1351     - Removed testparm patch as it's already merged
1352     - Removed Samba.7* man pages
1353     - Fixed .buildroot patch
1354     - Fixed .pie patch
1355     - Added new /usr/bin/tdbdump file
1356    
1357     * Thu Sep 25 2003 Jay Fenlason <fenlason@redhat.com> 3.0.0-15
1358     - New 3.0.0 final release
1359     - merge nmbd-netbiosname and testparm patches from 3E branch
1360     - updated the -logfiles patch to work against 3.0.0
1361     - updated the pie patch
1362     - update the VERSION file during build
1363     - use make -j if avaliable
1364     - merge the winbindd_privileged change from 3E
1365     - merge the "rm /usr/lib" patch that allows Samba to build on 64-bit
1366     platforms despite the broken Makefile
1367    
1368     * Mon Aug 18 2003 Jay Fenlason <fenlason@redhat.com>
1369     - Merge from samba-3E-branch after samba-3.0.0rc1 was released
1370    
1371     * Wed Jul 23 2003 Jay Fenlason <fenlason@redhat.com> 3.0.0-3beta3
1372     - Merge from 3.0.0-2beta3.3E
1373     - (Correct log file names (#100981).)
1374     - (Fix pidfile directory in samab.log)
1375     - (Remove obsolete samba-3.0.0beta2.tar.bz2.md5 file)
1376     - (Move libsmbclient to the -common package (#99449))
1377    
1378     * Tue Jun 22 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.8a-4
1379     - rebuild
1380    
1381     * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
1382     - rebuilt
1383    
1384     * Wed May 28 2003 Jay Fenlason <fenlason@redhat.com> 2.2.8a-2
1385     - add libsmbclient.so for gnome-vfs-extras
1386     - Edit specfile to specify /var/run for pid files
1387     - Move /tmp/.winbindd/socket to /var/run/winbindd/socket
1388    
1389     * Wed May 14 2003 Florian La Roche <Florian.LaRoche@redhat.de>
1390     - add proper ldconfig calls
1391    
1392     * Thu Apr 24 2003 Jay Fenlason <fenlason@redhat.com> 2.2.8a-1
1393     - upgrade to 2.2.8a
1394     - remove old .md5 files
1395     - add "pid directory = /var/run" to the smb.conf file. Fixes #88495
1396     - Patch from jra@dp.samba.org to fix a delete-on-close regression
1397    
1398     * Mon Mar 24 2003 Jay Fenlason <fenlason@redhat.com> 2.2.8-0
1399     - Upgrade to 2.2.8
1400     - removed commented out patches.
1401     - removed old patches and .md5 files from the repository.
1402     - remove duplicate /sbin/chkconfig --del winbind which causes
1403     warnings when removing samba.
1404     - Fixed minor bug in smbprint that causes it to fail when called with
1405     more than 10 parameters: the accounting file (and spool directory
1406     derived from it) were being set wrong due to missing {}. This closes
1407     bug #86473.
1408     - updated smb.conf patch, includes new defaults to close bug #84822.
1409    
1410     * Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
1411     - rebuilt
1412    
1413     * Thu Feb 20 2003 Jonathan Blandford <jrb@redhat.com> 2.2.7a-5
1414     - remove swat.desktop file
1415    
1416     * Thu Feb 20 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.7a-4
1417     - relink libnss_wins.so with SHLD="%%{__cc} -lnsl" to force libnss_wins.so to
1418     link with libnsl, avoiding unresolved symbol errors on functions in libnsl
1419    
1420     * Mon Feb 10 2003 Jay Fenlason <fenlason@redhat.com> 2.2.7a-3
1421     - edited spec file to put .so files in the correct directories
1422     on 64-bit platforms that have 32-bit compatability issues
1423     (sparc64, x86_64, etc). This fixes bugzilla #83782.
1424     - Added samba-2.2.7a-error.patch from twaugh. This fixes
1425     bugzilla #82454.
1426    
1427     * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
1428     - rebuilt
1429    
1430     * Thu Jan 9 2003 Jay Fenlason <fenlason@redhat.com> 2.2.7a-1
1431     - Update to 2.2.7a
1432     - Change default printing system to CUPS
1433     - Turn on pam_smbpass
1434     - Turn on msdfs
1435    
1436     * Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 2.2.7-5
1437     - use internal dep generator.
1438    
1439     * Sat Dec 14 2002 Tim Powers <timp@redhat.com> 2.2.7-4
1440     - don't use rpms internal dep generator
1441    
1442     * Mon Dec 02 2002 Elliot Lee <sopwith@redhat.com> 2.2.7-3
1443     - Fix missing doc files.
1444     - Fix multilib issues
1445    
1446     * Wed Nov 20 2002 Bill Nottingham <notting@redhat.com> 2.2.7-2
1447     - update to 2.2.7
1448     - add patch for LFS in smbclient (<tcallawa@redhat.com>)
1449    
1450     * Wed Aug 28 2002 Trond Eivind Glomsød <teg@redhat.com> 2.2.5-10
1451     - logrotate fixes (#65007)
1452    
1453     * Mon Aug 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-9
1454     - /usr/lib was used in place of %%{_libdir} in three locations (#72554)
1455    
1456     * Mon Aug 5 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-8
1457     - Initscript fix (#70720)
1458    
1459     * Fri Jul 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-7
1460     - Enable VFS support and compile the "recycling" module (#69796)
1461     - more selective includes of the examples dir
1462    
1463     * Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-6
1464     - Fix the lpq parser for better handling of LPRng systems (#69352)
1465    
1466     * Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-5
1467     - desktop file fixes (#69505)
1468    
1469     * Wed Jun 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-4
1470     - Enable ACLs
1471    
1472     * Tue Jun 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-3
1473     - Make it not depend on Net::LDAP - those are doc files and examples
1474    
1475     * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
1476     - automated rebuild
1477    
1478     * Thu Jun 20 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-1
1479     - 2.2.5
1480    
1481     * Fri Jun 14 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.4-5
1482     - Move the post/preun of winbind into the -common subpackage,
1483     where the script is (#66128)
1484    
1485     * Tue Jun 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.4-4
1486     - Fix pidfile locations so it runs properly again (2.2.4
1487     added a new directtive - #65007)
1488    
1489     * Thu May 23 2002 Tim Powers <timp@redhat.com>
1490     - automated rebuild
1491    
1492     * Tue May 14 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.4-2
1493     - Fix #64804
1494    
1495     * Thu May 9 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.4-1
1496     - 2.2.4
1497     - Removed some zero-length and CVS internal files
1498     - Make it build
1499    
1500     * Wed Apr 10 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-6
1501     - Don't use /etc/samba.d in smbadduser, it should be /etc/samba
1502    
1503     * Thu Apr 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-5
1504     - Add libsmbclient.a w/headerfile for KDE (#62202)
1505    
1506     * Tue Mar 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-4
1507     - Make the logrotate script look the correct place for the pid files
1508    
1509     * Thu Mar 14 2002 Nalin Dahyabhai <nalin@redhat.com> 2.2.3a-3
1510     - include interfaces.o in pam_smbpass.so, which needs symbols from interfaces.o
1511     (patch posted to samba-list by Ilia Chipitsine)
1512    
1513     * Thu Feb 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-2
1514     - Rebuild
1515    
1516     * Thu Feb 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-1
1517     - 2.2.3a
1518    
1519     * Mon Feb 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3-1
1520     - 2.2.3
1521    
1522     * Thu Nov 29 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-8
1523     - New pam configuration file for samba
1524    
1525     * Tue Nov 27 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-7
1526     - Enable PAM session controll and password sync
1527    
1528     * Tue Nov 13 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-6
1529     - Move winbind files to samba-common. Add separate initscript for
1530     winbind
1531     - Fixes for winbind - protect global variables with mutex, use
1532     more secure getenv
1533    
1534     * Thu Nov 8 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-5
1535     - Teach smbadduser about "getent passwd"
1536     - Fix more pid-file references
1537     - Add (conditional) winbindd startup to the initscript, configured in
1538     /etc/sysconfig/samba
1539    
1540     * Wed Nov 7 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-4
1541     - Fix pid-file reference in logrotate script
1542     - include pam and nss modules for winbind
1543    
1544     * Mon Nov 5 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-3
1545     - Add "--with-utmp" to configure options (#55372)
1546     - Include winbind, pam_smbpass.so, rpcclient and smbcacls
1547     - start using /var/cache/samba, we need to keep state and there is
1548     more than just locks involved
1549    
1550     * Sat Nov 03 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.2.2-2
1551     - add "reload" to the usage string in the startup script
1552    
1553     * Mon Oct 15 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-1
1554     - 2.2.2
1555    
1556     * Tue Sep 18 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1a-5
1557     - Add patch from Jeremy Allison to fix IA64 alignment problems (#51497)
1558    
1559     * Mon Aug 13 2001 Trond Eivind Glomsrød <teg@redhat.com>
1560     - Don't include smbpasswd in samba, it's in samba-common (#51598)
1561     - Add a disabled "obey pam restrictions" statement - it's not
1562     active, as we use encrypted passwords, but if the admin turns
1563     encrypted passwords off the choice is available. (#31351)
1564    
1565     * Wed Aug 8 2001 Trond Eivind Glomsrød <teg@redhat.com>
1566     - Use /var/cache/samba instead of /var/lock/samba
1567     - Remove "domain controller" keyword from smb.conf, it's
1568     deprecated (from #13704)
1569     - Sync some examples with smb.conf.default
1570     - Fix password synchronization (#16987)
1571    
1572     * Fri Jul 20 2001 Trond Eivind Glomsrød <teg@redhat.com>
1573     - Tweaks of BuildRequires (#49581)
1574    
1575     * Wed Jul 11 2001 Trond Eivind Glomsrød <teg@redhat.com>
1576     - 2.2.1a bugfix release
1577    
1578     * Tue Jul 10 2001 Trond Eivind Glomsrød <teg@redhat.com>
1579     - 2.2.1, which should work better for XP
1580    
1581     * Sat Jun 23 2001 Trond Eivind Glomsrød <teg@redhat.com>
1582     - 2.2.0a security fix
1583     - Mark lograte and pam configuration files as noreplace
1584    
1585     * Fri Jun 22 2001 Trond Eivind Glomsrød <teg@redhat.com>
1586     - Add the /etc/samba directory to samba-common
1587    
1588     * Thu Jun 21 2001 Trond Eivind Glomsrød <teg@redhat.com>
1589     - Add improvements to the smb.conf as suggested in #16931
1590    
1591     * Tue Jun 19 2001 Trond Eivind Glomsrød <teg@redhat.com>
1592     (these changes are from the non-head version)
1593     - Don't include /usr/sbin/samba, it's the same as the initscript
1594     - unset TMPDIR, as samba can't write into a TMPDIR owned
1595     by root (#41193)
1596     - Add pidfile: lines for smbd and nmbd and a config: line
1597     in the initscript (#15343)
1598     - don't use make -j
1599     - explicitly include /usr/share/samba, not just the files in it
1600    
1601     * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
1602     - mount.smb/mount.smbfs go in /sbin, *not* %%{_sbindir}
1603    
1604     * Fri Jun 8 2001 Preston Brown <pbrown@redhat.com>
1605     - enable encypted passwords by default
1606    
1607     * Thu Jun 7 2001 Helge Deller <hdeller@redhat.de>
1608     - build as 2.2.0-1 release
1609     - skip the documentation-directories docbook, manpages and yodldocs
1610     - don't include *.sgml documentation in package
1611     - moved codepage-directory to /usr/share/samba/codepages
1612     - make it compile with glibc-2.2.3-10 and kernel-headers-2.4.2-2
1613    
1614     * Mon May 21 2001 Helge Deller <hdeller@redhat.de>
1615     - updated to samba 2.2.0
1616     - moved codepages to %%{_datadir}/samba/codepages
1617     - use all available CPUs for building rpm packages
1618     - use %%{_xxx} defines at most places in spec-file
1619     - "License:" replaces "Copyright:"
1620     - dropped excludearch sparc
1621     - de-activated japanese patches 100 and 200 for now
1622     (they need to be fixed and tested wth 2.2.0)
1623     - separated swat.desktop file from spec-file and added
1624     german translations
1625     - moved /etc/sysconfig/samba to a separate source-file
1626     - use htmlview instead of direct call to netscape in
1627     swat.desktop-file
1628    
1629     * Mon May 7 2001 Bill Nottingham <notting@redhat.com>
1630     - device-remove security fix again (<tridge@samba.org>)
1631    
1632     * Fri Apr 20 2001 Bill Nottingham <notting@redhat.com>
1633     - fix tempfile security problems, officially (<tridge@samba.org>)
1634     - update to 2.0.8
1635    
1636     * Sun Apr 8 2001 Bill Nottingham <notting@redhat.com>
1637     - turn of SSL, kerberos
1638    
1639     * Thu Apr 5 2001 Bill Nottingham <notting@redhat.com>
1640     - fix tempfile security problems (patch from <Marcus.Meissner@caldera.de>)
1641    
1642     * Thu Mar 29 2001 Bill Nottingham <notting@redhat.com>
1643     - fix quota support, and quotas with the 2.4 kernel (#31362, #33915)
1644    
1645     * Mon Mar 26 2001 Nalin Dahyabhai <nalin@redhat.com>
1646     - tweak the PAM code some more to try to do a setcred() after initgroups()
1647     - pull in all of the optflags on i386 and sparc
1648     - don't explicitly enable Kerberos support -- it's only used for password
1649     checking, and if PAM is enabled it's a no-op anyway
1650    
1651     * Mon Mar 5 2001 Tim Waugh <twaugh@redhat.com>
1652     - exit successfully from preun script (bug #30644).
1653    
1654     * Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
1655     - rebuild in new environment
1656    
1657     * Wed Feb 14 2001 Bill Nottingham <notting@redhat.com>
1658     - updated japanese stuff (#27683)
1659    
1660     * Fri Feb 9 2001 Bill Nottingham <notting@redhat.com>
1661     - fix trigger (#26859)
1662    
1663     * Wed Feb 7 2001 Bill Nottingham <notting@redhat.com>
1664     - add i18n support, japanese patch (#26253)
1665    
1666     * Wed Feb 7 2001 Trond Eivind Glomsrød <teg@redhat.com>
1667     - i18n improvements in initscript (#26537)
1668    
1669     * Wed Jan 31 2001 Bill Nottingham <notting@redhat.com>
1670     - put smbpasswd in samba-common (#25429)
1671    
1672     * Wed Jan 24 2001 Bill Nottingham <notting@redhat.com>
1673     - new i18n stuff
1674    
1675     * Sun Jan 21 2001 Bill Nottingham <notting@redhat.com>
1676     - rebuild
1677    
1678     * Thu Jan 18 2001 Bill Nottingham <notting@redhat.com>
1679     - i18n-ize initscript
1680     - add a sysconfig file for daemon options (#23550)
1681     - clarify smbpasswd man page (#23370)
1682     - build with LFS support (#22388)
1683     - avoid extraneous pam error messages (#10666)
1684     - add Urban Widmark's bug fixes for smbmount (#19623)
1685     - fix setgid directory modes (#11911)
1686     - split swat into subpackage (#19706)
1687    
1688     * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com>
1689     - set a default CA certificate path in smb.conf (#19010)
1690     - require openssl >= 0.9.5a-20 to make sure we have a ca-bundle.crt file
1691    
1692     * Mon Oct 16 2000 Bill Nottingham <notting@redhat.com>
1693     - fix swat only_from line (#18726, others)
1694     - fix attempt to write outside buildroot on install (#17943)
1695    
1696     * Mon Aug 14 2000 Bill Nottingham <notting@redhat.com>
1697     - add smbspool back in (#15827)
1698     - fix absolute symlinks (#16125)
1699    
1700     * Sun Aug 6 2000 Philipp Knirsch <pknirsch@redhat.com>
1701     - bugfix for smbadduser script (#15148)
1702    
1703     * Mon Jul 31 2000 Matt Wilson <msw@redhat.com>
1704     - patch configure.ing (patch11) to disable cups test
1705     - turn off swat by default
1706    
1707     * Fri Jul 28 2000 Bill Nottingham <notting@redhat.com>
1708     - fix condrestart stuff
1709    
1710     * Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
1711     - add copytruncate to logrotate file (#14360)
1712     - fix init script (#13708)
1713    
1714     * Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
1715     - move initscript back
1716     - remove 'Using Samba' book from %%doc
1717     - move stuff to /etc/samba (#13708)
1718     - default configuration tweaks (#13704)
1719     - some logrotate tweaks
1720    
1721     * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1722     - automatic rebuild
1723    
1724     * Tue Jul 11 2000 Bill Nottingham <notting@redhat.com>
1725     - fix logrotate script (#13698)
1726    
1727     * Thu Jul 6 2000 Bill Nottingham <notting@redhat.com>
1728     - fix initscripts req (prereq /etc/init.d)
1729    
1730     * Wed Jul 5 2000 Than Ngo <than@redhat.de>
1731     - add initdir macro to handle the initscript directory
1732     - add a new macro to handle /etc/pam.d/system-auth
1733    
1734     * Thu Jun 29 2000 Nalin Dahyabhai <nalin@redhat.com>
1735     - enable Kerberos 5 and SSL support
1736     - patch for duplicate profile.h headers
1737    
1738     * Thu Jun 29 2000 Bill Nottingham <notting@redhat.com>
1739     - fix init script
1740    
1741     * Tue Jun 27 2000 Bill Nottingham <notting@redhat.com>
1742     - rename samba logs (#11606)
1743    
1744     * Mon Jun 26 2000 Bill Nottingham <notting@redhat.com>
1745     - initscript munging
1746    
1747     * Fri Jun 16 2000 Bill Nottingham <notting@redhat.com>
1748     - configure the swat stuff usefully
1749     - re-integrate some specfile tweaks that got lost somewhere
1750    
1751     * Thu Jun 15 2000 Bill Nottingham <notting@redhat.com>
1752     - rebuild to get rid of cups dependency
1753    
1754     * Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com>
1755     - tweak logrotate configurations to use the PID file in /var/lock/samba
1756    
1757     * Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
1758     - rebuild in new environment
1759    
1760     * Thu Jun 1 2000 Nalin Dahyabhai <nalin@redhat.com>
1761     - change PAM setup to use system-auth
1762    
1763     * Mon May 8 2000 Bill Nottingham <notting@redhat.com>
1764     - fixes for ia64
1765    
1766     * Sat May 6 2000 Bill Nottingham <notting@redhat.com>
1767     - switch to %%configure
1768    
1769     * Wed Apr 26 2000 Nils Philippsen <nils@redhat.de>
1770     - version 2.0.7
1771    
1772     * Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
1773     - simplify preun
1774    
1775     * Thu Mar 16 2000 Bill Nottingham <notting@redhat.com>
1776     - fix yp_get_default_domain in autoconf
1777     - only link against readline for smbclient
1778     - fix log rotation (#9909)
1779    
1780     * Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
1781     - fix trigger, again.
1782    
1783     * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
1784     - fix trigger.
1785    
1786     * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
1787     - turn on quota support
1788    
1789     * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
1790     - rebuild to fox dependencies
1791     - man pages are compressed
1792    
1793     * Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
1794     - munge post scripts slightly
1795    
1796     * Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
1797     - turn on mmap again. Wheee.
1798     - ship smbmount on alpha
1799    
1800     * Mon Dec 6 1999 Bill Nottingham <notting@redhat.com>
1801     - turn off mmap. ;)
1802    
1803     * Wed Dec 1 1999 Bill Nottingham <notting@redhat.com>
1804     - change /var/log/samba to 0700
1805     - turn on mmap support
1806    
1807     * Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
1808     - update to 2.0.6
1809    
1810     * Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
1811     - add a %%defattr for -common
1812    
1813     * Tue Oct 5 1999 Bill Nottingham <notting@redhat.com>
1814     - shift some files into -client
1815     - remove /home/samba from package.
1816    
1817     * Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
1818     - initscript oopsie. killproc <name> -HUP, not other way around.
1819    
1820     * Sat Sep 26 1999 Bill Nottingham <notting@redhat.com>
1821     - script cleanups. Again.
1822    
1823     * Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
1824     - add a patch to fix dropped reconnection attempts
1825    
1826     * Mon Sep 6 1999 Jeff Johnson <jbj@redhat.com>
1827     - use cp rather than mv to preserve /etc/services perms (#4938 et al).
1828     - use mktemp to generate /etc/tmp.XXXXXX file name.
1829     - add prereqs on sed/mktemp/killall (need to move killall to /bin).
1830     - fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
1831    
1832     * Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
1833     - sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
1834    
1835     * Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
1836     - fix typo in mount.smb
1837    
1838     * Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
1839     - add a %%trigger to work around (sort of) broken scripts in
1840     previous releases
1841    
1842     * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
1843     - initscript munging
1844    
1845     * Mon Aug 9 1999 Bill Nottingham <notting@redhat.com>
1846     - add domain parsing to mount.smb
1847    
1848     * Fri Aug 6 1999 Bill Nottingham <notting@redhat.com>
1849     - add a -common package, shuffle files around.
1850    
1851     * Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
1852     - add a chmod in %%postun so /etc/services & inetd.conf don't become unreadable
1853    
1854     * Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
1855     - update to 2.0.5
1856     - fix mount.smb - smbmount options changed again.........
1857     - fix postun. oops.
1858     - update some stuff from the samba team's spec file.
1859    
1860     * Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
1861     - split off clients into separate package
1862     - don't run samba by default
1863    
1864     * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
1865     - fix one problem with mount.smb script
1866     - fix smbpasswd on sparc with a really ugly kludge
1867    
1868     * Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
1869     - fixed logrotate script
1870    
1871     * Tue May 25 1999 Bill Nottingham <notting@redhat.com>
1872     - turn of 64-bit locking on 32-bit platforms
1873    
1874     * Thu May 20 1999 Bill Nottingham <notting@redhat.com>
1875     - so many releases, so little time
1876     - explicitly uncomment 'printing = bsd' in sample config
1877    
1878     * Tue May 18 1999 Bill Nottingham <notting@redhat.com>
1879     - update to 2.0.4a
1880     - fix mount.smb arg ordering
1881    
1882     * Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
1883     - go back to stop/start for restart (-HUP didn't work in testing)
1884    
1885     * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
1886     - add a mount.smb to make smb mounting a little easier.
1887     - smb filesystems apparently don't work on alpha. Oops.
1888    
1889     * Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
1890     - always create codepages
1891    
1892     * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
1893     - logrotate changes
1894    
1895     * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
1896     - auto rebuild in the new build environment (release 3)
1897    
1898     * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
1899     - updated init script to use graceful restart (not stop/start)
1900    
1901     * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
1902     - update to 2.0.3
1903    
1904     * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
1905     - update to 2.0.2
1906    
1907     * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
1908     - swat swat
1909    
1910     * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
1911     - fix bash2 breakage in post script
1912    
1913     * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
1914     - update to 2.0.0
1915    
1916     * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
1917     - make sure all binaries are stripped
1918    
1919     * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
1920     - update to 1.9.18p10.
1921     - fix %%triggerpostun.
1922    
1923     * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
1924     - updated postun triggerscript to check $0
1925     - clear /etc/codepages from %%preun instead of %%postun
1926    
1927     * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
1928     - made the %%postun script a tad less agressive; no reason to remove
1929     the logs or lock file (after all, if the lock file is still there,
1930     samba is still running)
1931     - the %%postun and %%preun should only exectute if this is the final
1932     removal
1933     - migrated %%triggerpostun from Red Hat's samba package to work around
1934     packaging problems in some Red Hat samba releases
1935    
1936     * Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
1937     - minor tidy up in preparation for release of 1.9.18p5
1938     - added findsmb utility from SGI package
1939    
1940     * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
1941     - Updated version and codepage info.
1942     - Release to test name resolve order
1943    
1944     * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
1945     - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
1946     - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
1947     - Compounded make line
1948     - Updated smb.init restart mechanism
1949     - Use compound mkdir -p line instead of individual calls to mkdir
1950     - Fixed smb.conf file path for log files
1951     - Fixed smb.conf file path for incoming smb print spool directory
1952     - Added a number of options to smb.conf file
1953     - Added smbadduser command (missed from all previous RPMs) - Doooh!
1954     - Added smbuser file and smb.conf file updates for username map
1955    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed