/[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.1 - (hide annotations) (download)
Sat Feb 6 20:35:55 2010 UTC (14 years, 9 months ago) by slords
Branch: MAIN
Initial import

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

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