4 %define vscanver 0.2.5c
6 # Determine whether this is the system samba or not.
9 %define samba_major %{null}
12 %global _iconsdir %{_datadir}/icons/
13 %global _miconsdir %{_datadir}/icons/mini
14 %global _liconsdir %{_datadir}/icons/large
15 %global _menudir %{_libdir}/menu
16 #%%%%global __prefix /opt/samba%{samba_major}
18 %global _mandir %{_datadir}/man
21 # 2.2.4 and 1 replace by samba-team at release
22 %define pversion PVERSION
23 %define prelease PRELEASE
24 # For testing this setup:
25 #%define pversion1 2.2.5
26 #%define prelease1 %(date +%Y%m%d)
28 #Check to see if p(version|release) has been replaced (1 if replaced)
29 %define have_pversion %(if [ "%pversion" = `echo "pversion" |tr '[:lower:]' '[:upper:]'` ];then echo 0; else echo 1; fi)
30 %define have_prelease %(if [ "%prelease" = `echo "prelease" |tr '[:lower:]' '[:upper:]'` ];then echo 0; else echo 1; fi)
32 # We might have a prerelease:
33 %define have_pre %(echo %pversion|awk '{p=0} /[a-z,A-Z][a-z,A-Z]/ {p=1} {print p}')
35 %define pre_ver %(perl -e '$name="%pversion"; print ($name =~ /(.*?)[a-z]/);')
36 %define pre_pre %(echo %pversion|sed -e 's/%pre_ver//g')
40 # Check to see if we are running a build from a tarball release from samba.org
41 # (%have_pversion) If so, disable vscan, unless explicitly requested
46 %{?_with_vscan: %define build_vscan 1}
49 # We now do detection of the Mandrake release we are building on:
50 #%define build_cooker %(if [ `awk '{print $3}' /etc/mandrake-release` = "Cooker" ];then echo 1; else echo 0; fi)
51 #%define build_cooker %(if [[ `cat /etc/mandrake-release|grep Cooker` ]];then echo 1; else echo 0; fi)
52 %define build_mdk91 %(if [ `awk '{print $4}' /etc/mandrake-release` = 9.1 ];then echo 1; else echo 0; fi)
53 %define build_mdk90 %(if [ `awk '{print $4}' /etc/mandrake-release` = 9.0 ];then echo 1; else echo 0; fi)
54 %define build_mdk83 %(if [ `awk '{print $4}' /etc/mandrake-release` = 8.3 ];then echo 1; else echo 0; fi)
55 %define build_mdk82 %(if [ `awk '{print $4}' /etc/mandrake-release` = 8.2 ];then echo 1; else echo 0; fi)
56 %define build_mdk81 %(if [ `awk '{print $4}' /etc/mandrake-release` = 8.1 ];then echo 1; else echo 0; fi)
57 %define build_mdk80 %(if [ `awk '{print $4}' /etc/mandrake-release` = 8.0 ];then echo 1; else echo 0; fi)
58 %define build_mdk72 %(if [ `awk '{print $4}' /etc/mandrake-release` = 7.2 ];then echo 1; else echo 0; fi)
59 %define build_non_default 0
63 %define build_winbind 1
68 # Set defaults for each version
82 %define build_winbind 0
88 %define build_winbind 0
94 %define build_winbind 0
98 # Allow commandline option overrides (borrowed from Vince's qmail srpm):
99 # To use it, do rpm [-ba|--rebuild] --with 'xxx'
100 # Check if the rpm was built with the defaults, otherwise we inform the user
101 %define build_non_default 0
102 %{?_with_acl: %{expand: %%define build_acl 1}}
103 %{?_with_acl: %{expand: %%define build_non_default 1}}
104 %{?_without_acl: %{expand: %%define build_acl 0}}
105 %{?_without_acl: %{expand: %%define build_non_default 1}}
106 %{?_with_winbind: %{expand: %%global build_winbind 1}}
107 %{?_with_winbind: %{expand: %%define build_non_default 1}}
108 %{?_without_winbind: %{expand: %%define build_winbind 0}}
109 %{?_without_winbind: %{expand: %%define build_non_default 1}}
110 %{?_with_wins: %{expand: %%global build_wins 1}}
111 %{?_with_wins: %{expand: %%define build_non_default 1}}
112 %{?_without_wins: %{expand: %%global build_wins 0}}
113 %{?_without_wins: %{expand: %%define build_non_default 1}}
114 %{?_with_ldap: %{expand: %%global build_ldap 1}}
115 %{?_with_ldap: %{expand: %%define build_non_default 1}}
116 %{?_without_ldap: %{expand: %%global build_ldap 0}}
117 %{?_without_ldap: %{expand: %%define build_non_default 1}}
118 %{?_with_ads: %{expand: %%define build_ads 1}}
119 %{?_with_ads: %{expand: %%define build_non_default 1}}
120 %{?_without_ads: %{expand: %%define build_ads 0}}
121 %{?_without_ads: %{expand: %%define build_non_default 1}}
123 # As if that weren't enough, we're going to try building with antivirus
124 # support as an option also
125 %define build_fprot 0
126 %define build_kaspersky 0
128 %define build_openantivirus 0
129 %define build_sophos 0
130 %define build_symantec 0
131 %define build_trend 0
133 %{?_with_fprot: %{expand: %%global build_fprot 1}}
134 %{?_with_kaspersky: %{expand: %%global build_kaspersky 1}}
135 %{?_with_mks: %{expand: %%global build_mks 1}}
136 %{?_with_openav: %{expand: %%global build_openantivirus 1}}
137 %{?_with_sophos: %{expand: %%global build_sophos 1}}
138 %{?_with_symantec: %{expand: %%global build_symantec 1}}
139 %{?_with_trend: %{expand: %%global build_trend 1}}
140 %define vscandir "samba-vscan-%{vscanver}"
142 %define vfsdir "examples.bin/VFS"
144 #Workaround missing macros in 8.x:
145 %{!?perl_vendorlib: %{expand: %%global perl_vendorlib %{perl_sitearch}/../}}
147 Summary: Samba SMB server.
148 Name: %{pkg_name}%{samba_major}
149 %if %have_pversion && %have_pre
151 %define source_ver %{pversion}
153 %if %have_pversion && !%have_pre
155 %define source_ver %{pversion}
159 %define source_ver %{ver}
161 %if %have_prelease && !%have_pre
162 Release: 1.%{prelease}mdk
164 %if %have_prelease && %have_pre
165 Release: 0.%{pre_pre}.%{prelease}mdk
171 Group: System/Servers
172 Source: ftp://samba.org/pub/samba/samba-%{source_ver}.tar.bz2
173 URL: http://www.samba.org
176 Source3: samba.xinetd
177 Source4: swat_48.xpm.bz2
178 Source5: swat_32.xpm.bz2
179 Source6: swat_16.xpm.bz2
180 Source7: README.%{name}-mandrake-rpm
182 Source8: samba-vscan-%{vscanver}.tar.bz2
184 Source10: samba-print-pdf.sh.bz2
185 Patch1: smbw.patch.bz2
186 Patch2: samba-glibc21.patch.bz2
187 #Patch3: network-recycle_bin.patch.bz2
188 Patch5: samba-2.2.0-gawk.patch.bz2
189 Patch12: samba-2.2.0-buildroot.patch.bz2
190 #Patch16: samba-mkdir.patch.bz2
191 Patch17: samba-3.0-smbmount-sbin.patch.bz2
192 #Patches 20-22 to get packaging synced from 2.2.2 to 3.0
193 Patch20: samba-3.0-smb.conf.patch.bz2
194 Patch21: samba-3.0-winbind.init.patch.bz2
195 Patch22: samba-3.0-system-auth-winbind.patch.bz2
196 Patch23: samba-3alpha20-destdir.patch.bz2
197 #Patch24: samba-3.0alpha13-installman.patch.bz2
198 Patch25: samba-3.0alpha13-config_lang.patch.bz2
199 #Patch 26 belongs with 20-22
200 Patch26: samba-3.0-smb.init.patch.bz2
201 Requires: pam >= 0.64, samba-common = %{version}
202 BuildRequires: pam-devel autoconf readline-devel
204 BuildRequires: libacl-devel
207 BuildRequires: cups-devel
209 BuildRequires: libcups-devel
212 BuildRequires: libldap-devel
215 BuildRequires: libldap-devel krb5-devel
217 BuildRoot: %{_tmppath}/%{name}-root
219 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
220 Prereq: fileutils sed /bin/grep
223 Samba provides an SMB server which can be used to provide
224 network services to SMB (sometimes called "Lan Manager")
225 clients, including various versions of MS Windows, OS/2,
226 and other Linux machines. Samba also provides some SMB
227 clients, which complement the built-in SMB filesystem
228 in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
229 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame)
232 Samba-3.0 features working NT Domain Control capability and
233 includes the SWAT (Samba Web Administration Tool) that
234 allows samba's smb.conf file to be remotely managed using your
235 favourite web browser. For the time being this is being
236 enabled on TCP port 901 via xinetd. SWAT is now included in
237 it's own subpackage, samba-swat.
239 Please refer to the WHATSNEW.txt document for fixup information.
240 This binary release includes encrypted password support.
242 Please read the smb.conf file and ENCRYPTION.txt in the
243 docs directory for implementation details.
246 NOTE: This is a prerelease of samba-%{samba_major}, not intended
247 for production use. If something breaks, file a bug report.
250 %if %build_non_default
251 WARNING: This RPM was built with command-line options. Please
252 see README.%{name}-mandrake-rpm in the documentation for
257 URL: http://www.samba.org
258 Summary: Samba (SMB) server programs.
259 Requires: %{name}-common = %{version}
260 Group: Networking/Other
264 Obsoletes: samba-server-ldap
265 Obsoletes: samba3-server
267 Provides: samba-server
271 Samba-server provides a SMB server which can be used to provide
272 network services to SMB (sometimes called "Lan Manager")
273 clients. Samba uses NetBIOS over TCP/IP (NetBT) protocols
274 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame)
277 Samba-3.0 features working NT Domain Control capability and
278 includes the SWAT (Samba Web Administration Tool) that
279 allows samba's smb.conf file to be remotely managed using your
280 favourite web browser. For the time being this is being
281 enabled on TCP port 901 via xinetd. SWAT is now included in
282 it's own subpackage, samba-swat.
284 Please refer to the WHATSNEW.txt document for fixup information.
285 This binary release includes encrypted password support.
287 Please read the smb.conf file and ENCRYPTION.txt in the
288 docs directory for implementation details.
291 This package was compiled with LDAP support, which means that
292 passwords can be stored in LDAP or in smbpasswd files.
293 To migrate your passwords from smbpasswd into LDAP, try
294 examples/LDAP/import_smbpasswd.pl using:
295 %{_datadir}/%{name}/scripts/import_smbpasswd.pl </etc/%{name}/smbpasswd
297 Scripts for managing users in LDAP have been added to
298 %{_datadir}/%{name}/scripts, configuration is in /etc/%{name}/smbldap_conf.pm
302 NOTE: This is a prerelease of samba-%{samba_major}, not intended
303 for production use. If something breaks, file a bug report.
307 URL: http://www.samba.org
308 Summary: Samba (SMB) client programs.
309 Group: Networking/Other
310 Requires: %{name}-common = %{version}
313 Obsoletes: samba3-client
315 Provides: samba-client
319 Samba-client provides some SMB clients, which complement the built-in
320 SMB filesystem in Linux. These allow the accessing of SMB shares, and
321 printing to SMB printers.
324 NOTE: This is a prerelease of samba-%{samba_major}, not intended
325 for production use. If something breaks, file a bug report.
329 URL: http://www.samba.org
330 Summary: Files used by both Samba servers and clients.
331 Group: System/Servers
333 Obsoletes: samba-common-ldap
334 Obsoletes: samba3-common
336 Provides: samba-common
340 Samba-common provides files necessary for both the server and client
344 NOTE: This is a prerelease of samba-%{samba_major}, not intended
345 for production use. If something breaks, file a bug report.
349 URL: http://www.samba.org
350 Summary: Documentation for Samba servers and clients.
351 Group: System/Servers
352 Requires: %{name}-common = %{version}
354 Obsoletes: samba3-doc
360 Samba-doc provides documentation files for both the server and client
364 NOTE: This is a prerelease of samba-%{samba_major}, not intended
365 for production use. If something breaks, file a bug report.
369 URL: http://www.samba.org
370 Summary: The Samba Web Administration Tool.
371 Requires: %{name}-server = %{version}
373 Group: System/Servers
375 Obsoletes: samba-swat-ldap
376 Obsoletes: samba3-swat
382 SWAT (the Samba Web Administration Tool) allows samba's smb.conf file
383 to be remotely managed using your favourite web browser. For the time
384 being this is being enabled on TCP port 901 via xinetd. Note that
385 SWAT does not use SSL encryption, nor does it preserve comments in
386 your smb.conf file. Webmin uses SSL encryption by default, and
387 preserves comments in configuration files, even if it does not display
388 them, and is therefore the preferred method for remotely managing
392 NOTE: This is a prerelease of samba-%{samba_major}, not intended
393 for production use. If something breaks, file a bug report.
398 URL: http://www.samba.org
399 Summary: Samba-winbind daemon, utilities and documentation
400 Group: System/Servers
401 Requires: %{name}-common = %{version}
403 Provides the winbind daemon and testing tools to allow authentication
404 and group/user enumeration from a Windows or Samba domain controller.
408 NOTE: This is a prerelease of samba-%{samba_major}, not intended
409 for production use. If something breaks, file a bug report.
413 %package -n nss_wins%{samba_major}
414 URL: http://www.samba.org
415 Summary: Name Service Switch service for WINS
416 Group: System/Servers
417 Requires: %{name}-common = %{version}
419 %description -n nss_wins%{samba_major}
420 Provides the libnss_wins shared library which resolves NetBIOS names to
425 NOTE: This is a prerelease of samba-%{samba_major}, not intended
426 for production use. If something breaks, file a bug report.
432 Summary: On-access virus scanning for samba using FPROT
433 Group: System/Servers
434 Requires: %{name}-server = %{version}
436 %description vscan-fprot
437 A vfs-module for samba to implement on-access scanning using the
438 FPROT antivirus software (which must be installed to use this).
442 %package vscan-kaspersky
443 Summary: On-access virus scanning for samba using Kaspersky
444 Group: System/Servers
445 Requires: %{name}-server = %{version}
447 %description vscan-kaspersky
448 A vfs-module for samba to implement on-access scanning using the
449 Kaspersky antivirus software (which must be installed to use this).
454 Summary: On-access virus scanning for samba using MKS
455 Group: System/Servers
456 Requires: %{name}-server = %{version}
458 %description vscan-mks
459 A vfs-module for samba to implement on-access scanning using the
460 MKS antivirus software (which must be installed to use this).
463 %if %build_openantivirus
464 %package vscan-openantivirus
465 Summary: On-access virus scanning for samba using OpenAntivirus
466 Group: System/Servers
467 Requires: %{name}-server = %{version}
469 %description vscan-openantivirus
470 A vfs-module for samba to implement on-access scanning using the
471 OpenAntivirus antivirus software (which must be installed to use this).
475 %package vscan-sophos
476 Summary: On-access virus scanning for samba using Sophos
477 Group: System/Servers
478 Requires: %{name}-server = %{version}
480 %description vscan-sophos
481 A vfs-module for samba to implement on-access scanning using the
482 Sophos antivirus software (which must be installed to use this).
486 %package vscan-symantec
487 Summary: On-access virus scanning for samba using Symantec
488 Group: System/Servers
489 Requires: %{name}-server = %{version}
491 %description vscan-symantec
492 A vfs-module for samba to implement on-access scanning using the
493 Symantec antivirus software (which must be installed to use this).
498 Summary: On-access virus scanning for samba using Trend
499 Group: System/Servers
500 Requires: %{name}-server = %{version}
502 %description vscan-trend
503 A vfs-module for samba to implement on-access scanning using the
504 Trend antivirus software (which must be installed to use this).
508 # Build a summary of how this RPM was built:
510 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with acl"
512 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without acl"
515 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with winbind"
517 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without winbind"
520 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with wins"
522 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without wins"
525 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with ldap"
527 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without ldap"
530 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with ads"
532 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without ads"
535 %if %build_non_default
536 echo "Building a non-default rpm with the following command-line arguments:"
537 echo "$RPM_EXTRA_OPTIONS"
538 echo "This rpm was built with non-default options, thus, to build ">%{SOURCE7}
539 echo "an identical rpm, you need to supply the following options">>%{SOURCE7}
540 echo "at build time: $RPM_EXTRA_OPTIONS">>%{SOURCE7}
541 echo -e "\n%{name}-%{version}-%{release}\n">>%{SOURCE7}
543 echo "This rpm was built with default options">%{SOURCE7}
544 echo -e "\n%{name}-%{version}-%{release}\n">>%{SOURCE7}
548 %setup -q -a 8 -n %{pkg_name}-%{source_ver}
550 %setup -q -n %{pkg_name}-%{source_ver}
554 #%patch3 -p1 -b .net-r_bin
557 %patch12 -p1 -b .buildroot
558 %patch17 -p1 -b .sbin
559 %patch20 -p1 -b .samba222
560 %patch21 -p1 -b .samba222
561 %patch22 -p1 -b .samba222
562 %patch23 -p1 -b .destdir
563 #%patch24 -p1 -b .langen
564 %patch25 -p1 -b .multilang
565 %patch26 -p1 -b .samba222
568 # Make a copy of examples so that we have a clean one for doc:
569 cp -a examples examples.bin
572 # put antivirus files in examples.bin/VFS/
573 for av in fprot kaspersky mks openantivirus sophos symantec trend; do
574 cp -a %{vscandir}/$av %{vfsdir}
578 # Edit some files when not building system samba:
580 perl -pi -e 's/%{pkg_name}/%{name}/g' source/auth/pampass.c
587 CPPFLAGS="-I/usr/include/openssl"; export CPPFLAGS
588 CFLAGS="$RPM_OPT_FLAGS"
589 %configure --prefix=%{_prefix} \
591 --libdir=/etc/%{name} \
592 --sysconfdir=/etc/%{name} \
593 --localstatedir=/var \
594 --with-configdir=/etc/%{name} \
595 --with-codepagedir=/var/lib/%{name}/codepages \
596 --with-privatedir=/etc/%{name} \
597 --with-swatdir=%{_datadir}/swat%{samba_major} \
606 --with-manpages-langs=en \
607 --with-logfilebase=/var/log/%{name} \
608 --with-lockdir=/var/cache/%{name} \
609 --with-piddir=/var/run/%{name} \
611 --program-suffix=%{samba_major} \
623 # --with-pam_smbpass \
624 # --with-manpages-langs=en,ja,pl \
626 #make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" all
627 make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
628 all smbfilter smbwrapper smbcacls pam_smbpass nsswitch nsswitch/libnss_wins.so debug2html
629 # Build VFS modules (experimental)
631 %configure --prefix=%{prefix} \
632 --mandir=%{prefix}/share/man
634 #make CFLAGS="$RPM_OPT_FLAGS -I../../source -I../../source/include -I../../source/ubiqx \
635 # -I../../source/smbwrapper -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
638 # Build mkntpasswd in examples/LDAP/ for smbldaptools
640 cd examples.bin/LDAP/smbldap-tools/mkntpwd
644 # Build antivirus vfs objects:
646 echo "Building fprot"
649 echo "Building Kaspersky"
650 (cd %{vfsdir}/kaspersky;make)
654 (cd %{vfsdir}/mks;make)
656 %if %build_openantivirus
657 echo "Building OpenAntivirus"
658 (cd %{vfsdir}/openantivirus;make)
661 echo "building sophos"
662 (cd %{vfsdir}/sophos;make)
665 echo "Building symantec"
666 (cd %{vfsdir}/symantec;make)
669 echo "Building Trend"
670 (cd %{vfsdir}/trend;make)
674 rm -rf $RPM_BUILD_ROOT
675 mkdir -p $RPM_BUILD_ROOT
677 # Any entries here mean samba makefile is *really* broken:
678 mkdir -p $RPM_BUILD_ROOT/etc/%{name}
679 mkdir -p $RPM_BUILD_ROOT/%{_datadir}
682 make DESTDIR=$RPM_BUILD_ROOT install)
685 mkdir -p $RPM_BUILD_ROOT/sbin
686 mkdir -p $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d,xinetd.d}
687 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
688 mkdir -p $RPM_BUILD_ROOT/var/cache/%{name}
689 mkdir -p $RPM_BUILD_ROOT/var/log/%{name}
690 mkdir -p $RPM_BUILD_ROOT/var/run/%{name}
691 mkdir -p $RPM_BUILD_ROOT/var/spool/%{name}
692 mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}/{netlogon,profiles,printers}
693 mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC}
694 mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}/codepages/src
695 mkdir -p $RPM_BUILD_ROOT/lib/security
696 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib
697 mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/vfs
698 mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts
700 #smbwrapper and pam_winbind not handled by make, pam_smbpass.so doesn't build
701 install -m 755 source/bin/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper%{samba_major}.so
702 #install -m 755 source/bin/pam_smbpass.so $RPM_BUILD_ROOT/lib/security/pam_smbpass.so
703 install -m 755 source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/lib/security/pam_winbind%{samba_major}.so
705 # Install VFS modules
706 #install -m755 %vfsdir/audit.so $RPM_BUILD_ROOT/%{_libdir}/samba/vfs
707 #for i in block recycle
709 # install -m755 %vfsdir/$i/$i.so $RPM_BUILD_ROOT/%{_libdir}/samba/vfs
713 # mkdir -p $RPM_BUILD_ROOT%{_libdir}/samba/vfs/vscan
714 for av in fprotd kavp mksd oav sophos symantec trend; do
715 if [ -d %{vfsdir}/$av -a -e %{vfsdir}/$av/vscan-$av.so ];then
716 cp %{vfsdir}/$av/vscan-$av.so \
717 $RPM_BUILD_ROOT%{_libdir}/samba/vfs/
721 #These scripts are not handled by make:
722 #for i in addtosmbpass mksmbpasswd.sh smbtar convert_smbpasswd
723 for i in addtosmbpass mksmbpasswd.sh convert_smbpasswd
725 install -m755 source/script/$i $RPM_BUILD_ROOT/%{_bindir}
728 #libnss_* not handled by make:
729 # Install the nsswitch library extension file
730 for i in wins winbind; do
731 install -m755 source/nsswitch/libnss_${i}.so $RPM_BUILD_ROOT/lib/libnss_${i}%{samba_major}.so
733 # Make link for wins and winbind resolvers
734 ( cd $RPM_BUILD_ROOT/lib; ln -s libnss_wins%{samba_major}.so libnss_wins%{samba_major}.so.2; ln -s libnss_winbind%{samba_major}.so libnss_winbind%{samba_major}.so.2)
736 # Install other stuff
738 # install -m644 examples/VFS/recycle/recycle.conf $RPM_BUILD_ROOT/etc/samba/
739 install -m644 packaging/Mandrake/smb.conf $RPM_BUILD_ROOT/etc/%{name}/smb.conf
740 install -m644 packaging/Mandrake/smbusers $RPM_BUILD_ROOT/etc/%{name}/smbusers
741 install -m755 packaging/Mandrake/smbprint $RPM_BUILD_ROOT/%{_bindir}
742 #install -m755 packaging/RedHat/smbadduser $RPM_BUILD_ROOT/usr/bin
743 install -m755 packaging/Mandrake/findsmb $RPM_BUILD_ROOT/%{_bindir}
744 install -m755 packaging/Mandrake/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb%{samba_major}
745 install -m755 packaging/Mandrake/smb.init $RPM_BUILD_ROOT/%{_sbindir}/%{name}
746 install -m755 packaging/Mandrake/winbind.init $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind%{samba_major}
747 install -m755 packaging/Mandrake/winbind.init $RPM_BUILD_ROOT/%{_sbindir}/winbind%{samba_major}
748 install -m644 packaging/Mandrake/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/%{name}
749 install -m644 packaging/Mandrake/system-auth-winbind.pamd $RPM_BUILD_ROOT/etc/pam.d/system-auth-winbind%{samba_major}
751 install -m644 $RPM_SOURCE_DIR/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
752 # install -m644 packaging/Mandrake/samba-slapd-include.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/samba-slapd.include
754 # Install smbldap-tools scripts:
755 #for i in examples/LDAP/smbldap-tools/*.pl; do
756 # install -m 750 $i $RPM_BUILD_ROOT/%{_datadir}/%{name}/scripts/
759 #install -m 750 examples/LDAP/smbldap-tools/smbldap_tools.pm $RPM_BUILD_ROOT/%{_datadir}/%{name}/scripts/
762 #install -m 640 examples/LDAP/smbldap-tools/smbldap_conf.pm $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
764 # Link both smbldap*.pm into vendor-perl (any better ideas?)
765 #mkdir -p %{buildroot}/%{perl_vendorlib}
766 #ln -s %{_sysconfdir}/%{name}/smbldap_conf.pm $RPM_BUILD_ROOT/%{perl_vendorlib}
767 #ln -s %{_datadir}/%{name}/scripts/smbldap_tools.pm $RPM_BUILD_ROOT/%{perl_vendorlib}
770 #install -m750 examples.bin/LDAP/smbldap-tools/mkntpwd/mkntpwd %{buildroot}/%{_sbindir}
772 # Samba smbpasswd migration script:
773 install -m700 examples/LDAP/export_smbpasswd.pl $RPM_BUILD_ROOT/%{_datadir}/%{name}/scripts/
774 install -m700 examples/LDAP/import_smbpasswd.pl $RPM_BUILD_ROOT/%{_datadir}/%{name}/scripts/
778 # make a conf file for winbind from the default one:
779 cat packaging/Mandrake/smb.conf|sed -e 's/^; winbind/ winbind/g;s/^; obey pam/ obey pam/g; s/^; printer admin = @"D/ printer admin = @"D/g;s/^; password server = \*/ password server = \*/g;s/^; template/ template/g; s/^ security = user/ security = domain/g' > packaging/Mandrake/smb-winbind.conf
780 install -m644 packaging/Mandrake/smb-winbind.conf $RPM_BUILD_ROOT/etc/%{name}/smb-winbind.conf
782 # Link smbmount to /sbin/mount.smb and /sbin/mount.smbfs
783 #I don't think it's possible for make to do this ...
784 ln -s $RPM_BUILD_ROOT/%{_bindir}/smbmount%{samba_major} $RPM_BUILD_ROOT/sbin/mount.smb%{samba_major}
785 ln -s $RPM_BUILD_ROOT/%{_bindir}/smbmount%{samba_major} $RPM_BUILD_ROOT/sbin/mount.smbfs%{samba_major}
786 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/%{name}/lmhosts
788 # Link smbspool to CUPS (does not require installed CUPS)
790 mkdir -p $RPM_BUILD_ROOT/%{_libdir}/cups/backend
791 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT/%{_libdir}/cups/backend/smb%{samba_major}
795 mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
796 install -m644 %{SOURCE3} $RPM_BUILD_ROOT/etc/xinetd.d/swat%{samba_major}
800 mkdir -p $RPM_BUILD_ROOT%{_menudir}
801 cat > $RPM_BUILD_ROOT%{_menudir}/%{name} << EOF
802 ?package(%{name}):command="gnome-moz-remote http://localhost:901/" needs="gnome" \
803 icon="swat%{samba_major}.xpm" section="Configuration/Networking" title="Samba Configuration" \
804 longtitle="The Swat Samba Administration Tool"
805 ?package(%{name}):command="sh -c '\$BROWSER http://localhost:901/'" needs="x11" \
806 icon="swat%{samba_major}.xpm" section="Configuration/Networking" title="Samba Configuration" \
807 longtitle="The Swat Samba Administration Tool"
810 mkdir -p $RPM_BUILD_ROOT%{_liconsdir} $RPM_BUILD_ROOT%{_iconsdir} $RPM_BUILD_ROOT%{_miconsdir}
812 bzcat %{SOURCE4} > $RPM_BUILD_ROOT%{_liconsdir}/swat%{samba_major}.xpm
813 bzcat %{SOURCE5} > $RPM_BUILD_ROOT%{_iconsdir}/swat%{samba_major}.xpm
814 bzcat %{SOURCE6} > $RPM_BUILD_ROOT%{_miconsdir}/swat%{samba_major}.xpm
816 bzcat %{SOURCE10}> $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts/print-pdf
818 # Fix configs when not building system samba:
820 # Work around non-existent but claimed --program-suffix support :-(
821 for dir in %{_sbindir} %{_bindir};do
822 FILES=`find %{buildroot}$dir -type f |grep -v "\."|grep -v %{samba_major}$`
823 for OLD in $FILES; do
824 NEW=`echo ${OLD}%{samba_major}`
828 # And the man pages too:
829 FILES=`find %{buildroot}%{_mandir} -type f `
830 for OLD in $FILES; do
831 BASE=`perl -e '$name="'${OLD}'"; print "",($name =~ /(.*?)\.[0-9]/), "\n";'`
832 EXT=`echo $OLD|sed -e 's,'${BASE}',,g'`
833 NEW=`echo ${BASE}%{samba_major}${EXT}`
836 # Replace paths in config files and init scripts:
837 for i in smb winbind;do
838 perl -pi -e 's,/subsys/'$i',/subsys/'$i'%{samba_major},g' $RPM_BUILD_ROOT/etc/rc.d/init.d/${i}%{samba_major}
840 for i in /etc/%{name}/smb.conf /etc/rc.d/init.d/smb%{samba_major} %{_sbindir}/%{name} /etc/rc.d/init.d/winbind%{samba_major} %{_sbindir}/winbind%{samba_major} /etc/logrotate.d/%{name} /etc/xinetd.d/swat%{samba_major}; do
841 perl -pi -e 's,/%{pkg_name},/%{name},g; s,smbd,%{_sbindir}/smbd%{samba_major},g; s,nmbd,%{_sbindir}/nmbd%{samba_major},g; s,winbindd,%{_sbindir}/winbindd%{samba_major},g; s,/usr/sbin/swat,%{_sbindir}/swat%{samba_major},g' $RPM_BUILD_ROOT/$i;
844 perl -pi -e 's/winbind/winbind%{samba_major}/g' $RPM_BUILD_ROOT/etc/pam.d/system-auth-winbind%{samba_major}
845 # Fix xinetd file for swat:
846 perl -pi -e 's,/usr/sbin,%{_sbindir},g' $RPM_BUILD_ROOT/etc/xinetd.d/swat%{samba_major}
850 rm -rf $RPM_BUILD_ROOT
854 /sbin/chkconfig --level 35 smb%{samba_major} on
856 # Add a unix group for samba machine accounts
857 groupadd -frg 421 machines
859 # Migrate tdb's from /var/lock/samba (taken from official samba spec file):
860 for i in /var/lock/samba/*.tdb
863 newname=`echo $i | sed -e's|var\/lock\/samba|var\/cache\/samba|'`
864 echo "Moving $i to $newname"
869 # Remove the transient tdb files (modified from version in off. samba spec:
870 for TDB in brlock unexpected locking messages; do
871 if [ -e /var/cache/%{name}/$TDB.tdb ]; then
872 rm -f /var/cache/%{name}/$TDB.tdb;
876 if [ -d /var/lock/samba ]; then
877 rm -rf /var/lock/samba
881 # Basic migration script for pre-2.2.1 users,
882 # since smb config moved from /etc to /etc/samba
884 # Let's create a proper /etc/samba/smbpasswd file
885 [ -f /etc/%{name}/smbpasswd ] || {
886 echo "Creating password file for samba..."
887 touch /etc/%{name}/smbpasswd
890 # And this too, in case we don't have smbd to create it for us
891 [ -f /var/cache/%{name}/unexpected.tdb ] || {
892 touch /var/cache/%{name}/unexpected.tdb
895 # Let's define the proper paths for config files
896 perl -pi -e 's/(\/etc\/)(smb)/\1%{name}\/\2/' /etc/%{name}/smb.conf
898 # Fix the logrotate.d file from smb and nmb to smbd and nmbd
899 if [ -f /etc/logrotate.d/samba ]; then
900 perl -pi -e 's/smb /smbd /' /etc/logrotate.d/samba
901 perl -pi -e 's/nmb /nmbd /' /etc/logrotate.d/samba
904 # And not loose our machine account SID
905 [ -f /etc/MACHINE.SID ] && mv -f /etc/MACHINE.SID /etc/%{name}/ ||:
910 /sbin/chkconfig winbind%{samba_major} on
911 cp -af /etc/nsswitch.conf /etc/nsswitch.conf.rpmsave
912 cp -af /etc/nsswitch.conf /etc/nsswitch.conf.rpmtemp
913 for i in passwd group;do
914 grep ^$i /etc/nsswitch.conf |grep -v 'winbind%{samba_major}' >/dev/null
916 echo "Adding a winbind%{samba_major} entry to the $i section of /etc/nsswitch.conf"
917 awk '/^'$i'/ {print $0 " winbind%{samba_major}"};!/^'$i'/ {print}' /etc/nsswitch.conf.rpmtemp >/etc/nsswitch.conf;
918 cp -af /etc/nsswitch.conf /etc/nsswitch.conf.rpmtemp
920 echo "$i entry found in /etc/nsswitch.conf"
923 if [ -f /etc/nsswitch.conf.rpmtemp ];then rm -f /etc/nsswitch.conf.rpmtemp;fi
928 echo "Removing winbind%{samba_major} entries from /etc/nsswitch.conf"
929 perl -pi -e 's/ winbind%{samba_major}//' /etc/nsswitch.conf
931 /sbin/chkconfig winbind%{samba_major} reset
933 %endif %build_winbind
936 %post -n nss_wins%{samba_major}
938 cp -af /etc/nsswitch.conf /etc/nsswitch.conf.rpmsave
939 grep '^hosts' /etc/nsswitch.conf |grep -v 'wins%{samba_major}' >/dev/null
941 echo "Adding a wins entry to the hosts section of /etc/nsswitch.conf"
942 awk '/^hosts/ {print $0 " wins%{samba_major}"};!/^hosts/ {print}' /etc/nsswitch.conf.rpmsave >/etc/nsswitch.conf;
944 echo "wins entry found in /etc/nsswitch.conf"
947 # echo "Upgrade, leaving nsswitch.conf intact"
950 %preun -n nss_wins%{samba_major}
952 echo "Removing wins entry from /etc/nsswitch.conf"
953 perl -pi -e 's/ wins%{samba_major}//' /etc/nsswitch.conf
955 # echo "Leaving /etc/nsswitch.conf intact"
961 /sbin/chkconfig --level 35 smb%{samba_major} reset
964 %_preun_service smb%{samba_major}
965 # /sbin/chkconfig --level 35 smb reset
966 # Let's not loose /var/cache/samba
968 # for i in browse.dat wins.dat brlock.tdb unexpected.tdb connections.tdb \
969 #locking.tdb messages.tdb;do
970 # if [ -e /var/cache/samba/$i ]; then
971 # mv -f /var/cache/samba/$i /var/cache/samba/$i.BAK
974 if [ -d /var/log/%{name} ]; then
975 rm -rf /var/log/%{name}/*
977 if [ -d /var/cache/%{name} ]; then
978 mv -f /var/cache/%{name} /var/cache/%{name}.BAK
983 if [ -f /var/lock/subsys/xinetd ]; then
984 service xinetd reload >/dev/null 2>&1 || :
990 # Remove swat entry from xinetd
991 if [ $1 = 0 -a -f /etc/xinetd.conf ] ; then
992 rm -f /etc/xinetd.d/swat%{samba_major}
993 service xinetd reload &>/dev/null || :
996 if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
1000 %triggerpostun -- samba < 1.9.18p7
1002 if [ $1 != 0 ]; then
1003 /sbin/chkconfig --level 35 smb on
1006 %triggerpostun -- samba < 2.0.5a-3, samba >= 2.0.0
1008 if [ $1 != 0 ]; then
1009 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba ||:
1010 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba ||:
1011 [ -f /etc/inetd.conf ] && chmod 644 /etc/services /etc/inetd.conf ||:
1015 %defattr(-,root,root)
1016 #%attr(-,root,root) /sbin/*
1018 %{_sbindir}/smbd%{samba_major}
1019 %{_sbindir}/nmbd%{samba_major}
1020 #%{_sbindir}/smbcontrol
1021 #%{_sbindir}/mkntpwd
1022 #%{prefix}/bin/addtosmbpass
1023 %{_bindir}/mksmbpasswd.sh
1024 %{_bindir}/smbstatus%{samba_major}
1025 %{_bindir}/convert_smbpasswd%{samba_major}
1026 %{_bindir}/pdbedit%{samba_major}
1027 %{_bindir}/smbgroupedit%{samba_major}
1028 #%attr(755,root,root) /lib/security/pam_smbpass*
1030 %attr(-,root,root) %config(noreplace) /etc/%{name}/smbusers
1031 %attr(-,root,root) %config /etc/rc.d/init.d/smb%{samba_major}
1032 %attr(-,root,root) %config(noreplace) /etc/logrotate.d/%{name}
1033 %attr(-,root,root) %config(noreplace) /etc/pam.d/%{name}
1034 #%attr(-,root,root) %config(noreplace) /etc/%{name}/samba-slapd.include
1035 %{_mandir}/man1/smbstatus*.1*
1036 %{_mandir}/man5/smbpasswd*.5*
1037 %{_mandir}/man7/samba*.7*
1038 %{_mandir}/man8/smbd*.8*
1039 %{_mandir}/man8/nmbd*.8*
1040 %{_mandir}/man1/smbcontrol*.1*
1041 %{_mandir}/man5/lmhosts*.5*
1042 %{_mandir}/man5/smb.conf*.5*
1043 %attr(775,root,root) %dir /var/lib/%{name}/netlogon
1044 %attr(775,root,root) %dir /var/lib/%{name}/profiles
1045 %attr(775,root,root) %dir /var/lib/%{name}/printers/*
1046 %dir /var/cache/%{name}
1047 %dir /var/log/%{name}
1048 %attr(1777,root,root) %dir /var/spool/%{name}
1049 %dir %{_datadir}/%{name}/scripts
1050 #%attr(0755,root,root) %{_datadir}/%{name}/scripts/print-pdf
1051 #%attr(0750,root,root) %{_datadir}/%{name}/scripts/smbldap*.pl
1052 #%attr(0640,root,root) %config(noreplace) %{_sysconfdir}/%{name}/smbldap_conf.pm
1053 #%attr(0644,root,root) %{_datadir}/%{name}/scripts/smbldap_tools.pm
1054 #%{perl_vendorlib}/*.pm
1055 %attr(0700,root,root) %{_datadir}/%{name}/scripts/*port_smbpasswd.pl
1059 %defattr(-,root,root)
1060 %doc README COPYING Manifest Read-Manifest-Now
1061 %doc WHATSNEW.txt Roadmap
1062 %doc README.%{name}-mandrake-rpm
1066 %attr(-,root,root) %{_datadir}/swat%{samba_major}/using_samba/*
1069 %defattr(-,root,root)
1070 %config(noreplace) /etc/xinetd.d/swat%{samba_major}
1071 #%attr(-,root,root) /sbin/*
1072 %{_sbindir}/swat%{samba_major}
1077 %attr(-,root,root) %{_datadir}/swat%{samba_major}/help/*
1078 %attr(-,root,root) %{_datadir}/swat%{samba_major}/images/*
1079 %attr(-,root,root) %{_datadir}/swat%{samba_major}/include/*
1080 %{_mandir}/man8/swat*.8*
1083 %defattr(-,root,root)
1085 /sbin/mount.smb%{samba_major}
1086 /sbin/mount.smbfs%{samba_major}
1087 %attr(755,root,root) %{_bindir}/smbmount%{samba_major}
1088 %attr(4755,root,root) %{_bindir}/smbumount%{samba_major}
1089 #%attr(4755,root,root) %{_sbindir}/smbmnt
1090 %{_mandir}/man8/smbmnt*.8*
1091 %{_mandir}/man8/smbmount*.8*
1092 %{_mandir}/man8/smbumount*.8*
1094 %{_bindir}/nmblookup%{samba_major}
1095 %{_bindir}/findsmb%{samba_major}
1096 %{_bindir}/smbclient%{samba_major}
1097 %{_bindir}/smbprint%{samba_major}
1098 %{_bindir}/smbtar%{samba_major}
1099 %{_bindir}/smbspool%{samba_major}
1100 # Link of smbspool to CUPS
1101 /%{_libdir}/cups/backend/smb%{samba_major}
1102 /%{_mandir}/man1/nmblookup*.1*
1103 /%{_mandir}/man1/findsmb*.1*
1104 /%{_mandir}/man1/smbclient*.1*
1105 /%{_mandir}/man1/smbtar*.1*
1108 %defattr(-,root,root)
1109 %dir /var/cache/%{name}
1110 %dir /var/log/%{name}
1111 %dir /var/run/%{name}
1112 #%{_bindir}/make_smbcodepage
1113 #%{_bindir}/make_unicodemap
1114 %{_bindir}/testparm%{samba_major}
1115 %{_bindir}/testprns%{samba_major}
1116 #%{_bindir}/make_printerdef
1117 %{_bindir}/rpcclient%{samba_major}
1118 %{_bindir}/smbsh%{samba_major}
1119 %{_bindir}/smbpasswd%{samba_major}
1120 %{_bindir}/net%{samba_major}
1121 %{_bindir}/smbtree%{samba_major}
1122 %{_libdir}/smbwrapper%{samba_major}.so
1123 %attr(-,root,root) %config(noreplace) /etc/%{name}/smb.conf
1124 %attr(-,root,root) %config(noreplace) /etc/%{name}/smb-winbind.conf
1125 %attr(-,root,root) %config(noreplace) /etc/%{name}/lmhosts
1126 %attr(-,root,root) /var/lib/%{name}/codepages
1127 %{_mandir}/man1/make_smbcodepage*.1*
1128 %{_mandir}/man1/make_unicodemap*.1*
1129 %{_mandir}/man1/testparm*.1*
1130 %{_mandir}/man1/smbsh*.1*
1131 %{_mandir}/man1/testprns*.1*
1132 %{_mandir}/man5/smb.conf*.5*
1133 %{_mandir}/man5/lmhosts*.5*
1134 %{_mandir}/man8/smbpasswd*.8*
1135 /%{_mandir}/man1/smbcacls*.1*
1139 %defattr(-,root,root)
1140 %{_sbindir}/winbindd%{samba_major}
1141 %{_bindir}/wbinfo%{samba_major}
1142 %attr(755,root,root) /lib/security/pam_winbind*
1143 %attr(755,root,root) /lib/libnss_winbind%{samba_major}*
1144 %attr(-,root,root) %config /etc/rc.d/init.d/winbind%{samba_major}
1145 %attr(-,root,root) %config(noreplace) /etc/pam.d/system-auth-winbind*
1146 %{_mandir}/man8/winbindd*.8*
1147 %{_mandir}/man1/wbinfo*.1*
1151 %files -n nss_wins%{samba_major}
1152 %defattr(-,root,root)
1153 %attr(755,root,root) /lib/libnss_wins%{samba_major}.so*
1156 #Files for antivirus support:
1159 %defattr(-,root,root)
1160 %{_libdir}/%{name}/vfs/vscan-fprotd.so
1161 %doc examples.bin/VFS/fprot/INSTALL
1164 %if %build_kaspersky
1165 %files vscan-kaspersky
1166 %defattr(-,root,root)
1167 %{_libdir}/%{name}/vfs/vscan-kavp.so
1168 %doc examples.bin/VFS/kaspersky/INSTALL
1173 %defattr(-,root,root)
1174 %{_libdir}/%{name}/vfs/vscan-mksd.so
1175 %doc examples.bin/VFS/mks/INSTALL
1178 %if %build_openantivirus
1179 %files vscan-openantivirus
1180 %defattr(-,root,root)
1181 %{_libdir}/%{name}/vfs/vscan-oav.so
1182 %doc examples.bin/VFS/openantivirus/INSTALL
1187 %defattr(-,root,root)
1188 %{_libdir}/%{name}/vfs/vscan-sophos.so
1189 %doc examples.bin/VFS/sophos/INSTALL
1193 %files vscan-symantec
1194 %defattr(-,root,root)
1195 %{_libdir}/%{name}/vfs/vscan-symantec.so
1196 %doc examples.bin/VFS/symantec/INSTALL
1201 %defattr(-,root,root)
1202 %{_libdir}/%{name}/vfs/vscan-trend.so
1203 %doc examples.bin/VFS/trend/INSTALL
1207 * Mon Oct 28 2002 Buchan Milne <bgmilne@linux-mandrake.com> 3.0-0.alpha20.3mdk
1208 - Fix mount.smbfs3 pointing to smbmount not in package
1209 - Remove unnecessary lines from install (now done by make)
1210 - Build with ldap and ads on all releases by default
1213 * Mon Oct 21 2002 Buchan Milne <bgmilne@linux-mandrake.com> 3.0-0.alpha20.2mdk
1214 - When not building as system samba, avoid conflicting with system samba
1215 - Macro-ize as much as possible for above (aka finish cleanups)
1216 - Fix paths in init scripts and logrotate and xinetd
1217 - Fix provides and obsoletes so as to provide samba, but not obsolete
1218 current stable until we have a stable release (when it's the system samba).
1219 - Add warnings to descriptions when not system samba.
1220 - This is now parallel installable with the normal samba release, for easy
1221 testing. It shouldn't touch existing installations. Of course, only
1222 one samba at a time on the same interface!
1224 * Sat Sep 28 2002 Buchan Milne <bgmilne@linux-mandrake.com> 3.0-0.alpha20.1mdk
1225 - Merge with 2.2.6pre2.2mdk
1226 - Detect alpha- and beta-, along with pre-releases
1228 * Tue Feb 05 2002 Buchan Milne <bgmilne@cae.co.za> 3.0-alpha14-0.1mdk
1229 - Sync with 2.2.3-2mdk (new --without options, detect when
1230 building for a different distribution.
1232 * Mon Feb 04 2002 Buchan Milne <bgmilne@cae.co.za> 3.0-alpha14-0.0mdk
1233 - Sync with 2.2.2-10mdk, which added build-time options --with ldap,
1234 winbind, acl, wins, mdk72, mdk80, mdk81, mdk82, cooker. Added
1235 warning in description if built with these options.
1237 * Wed Jan 23 2002 Buchan Milne <bgmilne@cae.co.za> 3.0-alpha13-0.2mdk
1238 - Added %%if's for build_ads, which hopefully will add Active Directory
1239 Support (by request).
1241 * Thu Jan 17 2002 Buchan Milne <bgmilne@cae.co.za> 3.0-alpha13-0.1mdk
1242 - More syncing with 2.2 rpm (post and postun scripts)
1243 - Testing without ldap
1245 * Thu Jan 17 2002 Buchan Milne <bgmilne@cae.co.za> 3.0-alpha13-0.0mdk
1247 - Fixed installman.sh patch.
1249 * Wed Jan 09 2002 Buchan Milne <bgmilne@cae.co.za> 3.0-alpha12-0.1mdk
1250 - Fixed %post and %preun for nss_wins, added %post and %preun for
1251 samba-winbind (chkconfig and winbind entries in nsswitch.conf)
1253 * Sun Dec 23 2001 Buchan Milne <bgmilne@cae.co.za> 3.0-alpha12-0.0mdk
1255 - Sync up with changes made in 2.2.2 to support Mandrake 8.0, 7.2
1256 - Added new subpackage for swat
1257 - More %if's for ldap.
1259 * Thu Dec 20 2001 Buchan Milne <bgmilne@cae.co.za> 3.0-alpha11-0.0mdk
1262 * Wed Dec 19 2001 Buchan Milne <bgmilne@cae.co.za> 3.0alpha10-0.0mdk
1265 * Tue Dec 18 2001 Buchan Milne <bgmilne@cae.co.za> 3.0alpha9-0.0mdk
1268 * Mon Dec 17 2001 Buchan Milne <bgmilne@cae.co.za> 3.0alpha8-0.1mdk
1269 - Added net command to %files common, pdbedit and smbgroupedit to
1270 %files, s/%{prefix}\/bin/%{_bindir}/ (the big cleanup).
1271 Added patch to smb.init from 2.2.2 (got missed with 3.0-alpha1 patches)
1273 * Sun Dec 16 2001 Buchan Milne <bgmilne@cae.co.za> 3.0alpha8-0.0mdk
1274 - Patch for installman.sh to handle lang=en correctly (p24)
1275 - added --with-manpages-langs=en,ja,pl (translated manpages), but there
1276 aren't any manpages for these languages yet ... so we still
1277 need %dir and %doc entries for them ...
1278 - patch (p25) to configure.in to support more than 2 languages.
1279 - addtosmbpass seems to have returned for now, but make_* have disappeared!
1281 * Fri Dec 14 2001 Buchan Milne <bgmilne@cae.co.za> 3.0alpha6-0.0mdk
1282 - DESTDIR patch for Makefile.in (p23), remove a lot of %install scripts
1283 this forces move of smbcontrol and smbmnt to %{prefix}/bin
1284 removed --with-pam_smbpass as it doesn't compile.
1286 * Thu Dec 06 2001 Buchan Milne <bgmilne@cae.co.za> 3.0-0.0alpha1mdk
1287 - Samba 3.0alpha1 released (we missed Samba 3.0alpha0!)
1288 - Redid smbmount-sbin patch and smb.conf patch (20), removed xfs quota patch
1289 (applied upstream), removed ook-patch (codepage directory totally different).
1290 - Added winbind.init (21) and system-auth-winbind.pamd (22). Patches 20-23
1291 should be applied upstream before 3.0 ships ...
1293 * Wed Dec 05 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-6mdk
1294 - fixed typo in system-auth-winbind.pamd (--Thanks J. Gluck).
1295 - fixed %post xxx problem (smb not started in chkconfig --Thanks Viet & B. Kenworthy).
1297 * Fri Nov 23 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-5mdk
1298 - Had to remove the network recycle bin patch: it seems to mess up
1299 file deletion from windows (files appear to be "already in use")
1301 * Tue Nov 13 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-4mdk
1302 - added network recycle bin patch:
1303 <http://www.amherst.edu/~bbstone/howto/samba.html>
1304 - added "recycle bin = .recycled" parameter in smb.conf [homes].
1305 - fixed winbind/nss_wins perms (oh no I don't own that stuff ;o)
1307 * Mon Nov 12 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-3mdk
1308 - added %build 8.0 and 7.2, for tweakers to play around.
1309 - changed configure options:
1310 . removed --with-mmap, --with-netatalk (obsolete).
1311 . added --with-msdfs, --with-vfs (seems stable, but still need testing).
1313 * Mon Nov 12 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-2mdk
1314 - rebuilt with winbind and nss_wins enabled.
1316 * Wed Oct 31 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-1mdk
1317 - Rebuilt on cooker.
1319 * Wed Oct 31 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.992mdk
1320 - Patch for smb.conf to fix incorrect lpq command, typo in winbind,
1321 and add sample linpopup command. Added print driver directories.
1322 - New XFS quota patch (untested!, samba runs, but do quotas work? We
1323 can't check yet since the kernel doesn't seem to support XFS quotas!)
1325 * Fri Oct 19 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-0.99mdk
1326 - New samba.spec, almost ready for winbind operations. OLA for Buchan Milne
1327 Who did a tremendous integration work on 2.2.2.
1328 Rebuild on cooker, please test XFS (ACLs and quotas) again...
1330 * Mon Oct 15 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.9mdk
1331 - Samba-2.2.2. released! Use %defines to determine which subpackages
1332 are built and which Mandrake release we are buiding on/for (hint: define
1333 build_mdk81 1 for Mandrake 8.1 updates)
1335 * Sun Oct 14 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011014mdk
1336 - %post and %postun for nss_wins
1338 * Wed Oct 10 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011010mdk
1339 - New CVS snapshot, /etc/pam.d/system-auth-winbind added
1340 with configuration to allow easy winbind setup.
1342 * Sun Oct 7 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011007mdk
1343 - Added new package nss_wins and moved smbpasswd to common (required by
1346 * Sat Oct 6 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011006mdk
1347 - Added new package winbind.
1349 * Mon Oct 1 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011001mdk
1350 - Removed patch to smb init.d file (applied in cvs)
1352 * Sun Sep 30 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20010930mdk
1353 - Added winbind init script, which still needs to check for running nmbd.
1355 * Thu Sep 27 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20010927mdk
1356 - Built from samba-2.2.2-pre cvs, added winbindd, wbinfo, nss_winbind and
1357 pam_winbind, moved pam_smbpass from samba-common to samba. We still
1358 need a start-up script for winbind, or need to modify existing one.
1360 * Mon Sep 10 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-15mdk
1361 - Enabled acl support (XFS acls now supported by kernel-2.4.8-21mdk thx Chmou)
1362 Added smbd patch to support XFS quota (Nathan Scott)
1364 * Mon Sep 10 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-14mdk
1365 - Oops! smbpasswd created in wrong directory...
1367 * Tue Sep 06 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-13mdk
1368 - Removed a wrong comment in smb.conf.
1369 Added creation of smbpasswd during install.
1371 * Mon Aug 27 2001 Pixel <pixel@mandrakesoft.com> 2.2.1a-12mdk
1372 - really less verbose %%post
1374 * Sat Aug 25 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.2.1a-11mdk
1375 - Fix shared libs in /usr/bin silliness.
1377 * Thu Aug 23 2001 Pixel <pixel@mandrakesoft.com> 2.2.1a-10mdk
1378 - less verbose %%post
1380 * Wed Aug 22 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1a-9mdk
1381 - Added smbcacls (missing in %files), modification to smb.conf: ([printers]
1382 is still needed, even with point-and-print!, user add script should
1383 use name and not gid, since we may not get the gid . New script for
1384 putting manpages in place (still need to be added in %files!). Moved
1385 smbcontrol to sbin and added it and its man page to %files.
1387 * Wed Aug 22 2001 Pixel <pixel@mandrakesoft.com> 2.2.1a-8mdk
1388 - cleanup /var/lib/samba/codepage/src
1390 * Tue Aug 21 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-7mdk
1391 - moved codepage generation to %install and codepage dir to /var/lib/samba
1393 * Tue Aug 21 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-6mdk
1394 - /lib/* was in both samba and samba-common
1395 Introducing samba-doc: "alas, for the sake of thy modem, shalt thou remember
1396 when Samba was under the Megabyte..."
1398 * Fri Aug 03 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-5mdk
1399 - Added "the gc touch" to smbinit through the use of killall -0 instead of
1400 grep cupsd | grep -v grep (too many greps :o)
1402 * Wed Jul 18 2001 Stefan van der Eijk <stefan@eijk.nu> 2.2.1a-4mdk
1403 - BuildRequires: libcups-devel
1404 - Removed BuildRequires: openssl-devel
1406 * Fri Jul 13 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-3mdk
1407 - replace chkconfig --add/del with --level 35 on/reset.
1409 * Fri Jul 13 2001 Geoffrey Lee <snailtalk@mandrakesoft.cm> 2.2.1a-2mdk
1410 - Replace discription s/inetd/xinetd/, we all love xinetd, blah.
1412 * Thu Jul 12 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1a-1mdk
1413 - Bugfix release. Fixed add user script, added print$ share and printer admin
1414 We need to test interaction of new print support with CUPS, but printer
1415 driver uploads should work.
1417 * Wed Jul 11 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-17mdk
1418 - fixed smb.conf a bit, rebuilt on cooker.
1420 * Tue Jul 10 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1-16mdk
1421 - Finally, samba 2.2.1 has actually been release. At least we were ready!
1422 Cleaned up smb.conf, and added some useful entries for domain controlling.
1423 Migrated changes made in samba's samba2.spec for 2.2.1 to this file.
1424 Added groupadd command in post to create a group for samba machine accounts.
1425 (We should still check the postun, samba removes pam, logs and cache)
1427 * Tue Jun 26 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-15mdk
1428 - fixed smbwrapper compile options.
1430 * Tue Jun 26 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-14mdk
1431 - added LFS support.
1432 added smbwrapper support (smbsh)
1434 * Wed Jun 20 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-13mdk
1435 - /sbin/mount.smb and /sbin/mount.smbfs now point to the correct location
1436 of smbmount (/usr/bin/smbmount)
1438 * Tue Jun 19 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-12mdk
1439 - smbmount and smbumount are now in /usr/bin and SUID.
1440 added ||: to triggerpostun son you don't get error 1 anymore when rpm -e
1441 Checked the .bz2 sources with file *: everything is OK now (I'm so stupid ;o)!
1443 * Tue Jun 19 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.2.1-11mdk
1444 - s/Copyright/License/;
1445 - Stop Sylvester from pretending .gz source to be .bz2 source via filename
1446 aka really bzip2 the source.
1448 * Mon Jun 18 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-10mdk
1449 - changed Till's startup script modifications: now samba is being reloaded
1450 automatically 1 minute after it has started (same reasons as below in 9mdk)
1451 added _post_ and _preun_ for service smb
1452 fixed creation of /var/lib/samba/{netlogon,profiles} (%dir was missing)
1454 * Thu Jun 14 2001 Till Kamppeter <till@mandrakesoft.com> 2.2.1-9mdk
1455 - Modified the Samba startup script so that in case of CUPS being used as
1456 printing system Samba only starts when the CUPS daemon is ready to accept
1457 requests. Otherwise the CUPS queues would not appear as Samba shares.
1459 * Mon Jun 11 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-8mdk
1460 - patched smbmount.c to have it call smbmnt in sbin (thanks Seb).
1462 * Wed May 30 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-7mdk
1463 - put SWAT menu icons back in place.
1465 * Mon May 28 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-6mdk
1466 - OOPS! fixed smbmount symlinks
1468 * Mon May 28 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-5mdk
1469 - removed inetd postun script, replaced with xinetd.
1470 updated binary list (smbcacls...)
1473 * Mon May 28 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1-4mdk
1474 - Changed configure options to point to correct log and codepage directories,
1475 added crude script to fix logrotate file for new log file names, updated
1476 patches to work with current CVS.
1478 * Thu May 24 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-3mdk
1479 - Cleaned and updated the %files section.
1481 * Sat May 19 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-2mdk
1482 - Moved all samba files from /etc to /etc/samba (Thanks DomS!).
1483 Fixed fixinit patch (/etc/samba/smb.conf)
1485 * Fri May 18 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1-1mdk
1486 - Now use packaging/Mandrake/smb.conf, removed unused and obsolete
1487 patches, moved netlogon and profile shares to /var/lib/samba in the
1488 smb.conf to match the spec file. Added configuration for ntlogon to
1489 smb.conf. Removed pam-foo, fixinit and makefilepath patches. Removed
1490 symlink I introduced in 2.2.0-1mdk
1492 * Thu May 3 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.0-5mdk
1493 - Added more configure options. Changed Description field (thx John T).
1495 * Wed Apr 25 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.0-4mdk
1496 - moved netlogon and profiles to /var/lib/samba by popular demand ;o)
1498 * Tue Apr 24 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.0-3mdk
1499 - moved netlogon and profiles back to /home.
1501 * Fri Apr 20 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.0-2mdk
1502 - fixed post inetd/xinetd script&
1504 * Thu Apr 19 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.0-1mdk
1505 - Upgrade to 2.2.0. Merged most of 2.0.7-25mdk's patches (beware
1506 nasty "ln -sf samba-%{ver} ../samba-2.0.7" hack to force some patches
1507 to take. smbadduser and addtosmbpass seem to have disappeared. Moved
1508 all Mandrake-specific files to packaging/Mandrake and made patches
1509 from those shipped with samba. Moved netlogon to /home/samba and added
1510 /home/samba/profiles. Added winbind,smbfilter and debug2html to make command.
1512 * Thu Apr 12 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.7-25mdk
1513 - Fix menu entry and provide separate menu entry for GNOME
1514 (nautilus doesn't support HTTP authentication yet)
1515 - Add icons in package
1517 * Fri Mar 30 2001 Frederic Lepied <flepied@mandrakesoft.com> 2.0.7-24mdk
1518 - use new server macros
1520 * Wed Mar 21 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-23mdk
1521 - check whether /etc/inetd.conf exists (upgrade) or not (fresh install).
1523 * Thu Mar 15 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-22mdk
1524 - spec cosmetics, added '-r' option to lpr-cups command line so files are
1525 removed from /var/spool/samba after printing.
1527 * Tue Mar 06 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-21mdk
1528 - merged last rh patches.
1530 * Thu Nov 23 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-20mdk
1531 - removed dependencies on cups and cups-devel so one can install samba without using cups
1532 - added /home/netlogon
1534 * Mon Nov 20 2000 Till Kamppeter <till@mandrakesoft.com> 2.0.7-19mdk
1535 - Changed default print command in /etc/smb.conf, so that the Windows
1536 driver of the printer has to be used on the client.
1537 - Fixed bug in smbspool which prevented from printing from a
1538 Linux-Samba-CUPS client to a Windows server through the guest account.
1540 * Mon Oct 16 2000 Till Kamppeter <till@mandrakesoft.com> 2.0.7-18mdk
1541 - Moved "smbspool" (Samba client of CUPS) to the samba-client package
1543 * Sat Oct 7 2000 Stefan van der Eijk <s.vandereijk@chello.nl> 2.0.7-17mdk
1544 - Added RedHat's "quota" patch to samba-glibc21.patch.bz2, this fixes
1545 quota related compile problems on the alpha.
1547 * Wed Oct 4 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-16mdk
1548 - Fixed 'guest ok = ok' flag in smb.conf
1550 * Tue Oct 3 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-15mdk
1551 - Allowed guest account to print in smb.conf
1552 - added swat icon in menu
1554 * Tue Oct 3 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-14mdk
1555 - Removed rh ssl patch and --with-ssl flag: not appropriate for 7.2
1557 * Tue Oct 3 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-13mdk
1558 - Changed fixinit patch.
1559 - Changed smb.conf for better CUPS configuration.
1560 - Thanks Fred for doing this ---vvv.
1562 * Tue Oct 3 2000 Frederic Lepied <flepied@mandrakesoft.com> 2.0.7-12mdk
1563 - menu entry for web configuration tool.
1564 - merge with rh: xinetd + ssl + pam_stack.
1565 - Added smbadduser rh-bugfix w/o relocation of config-files.
1567 * Mon Oct 2 2000 Frederic Lepied <flepied@mandrakesoft.com> 2.0.7-11mdk
1568 - added build requires on cups-devel and pam-devel.
1570 * Mon Oct 2 2000 Till Kamppeter <till@mandrakesoft.com> 2.0.7-10mdk
1571 - Fixed smb.conf entry for CUPS: "printcap name = lpstat", "lpstats" was
1574 * Mon Sep 25 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-9mdk
1575 - Cosmetic changes to make rpmlint more happy
1577 * Wed Sep 11 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-8mdk
1578 - added linkage to the using_samba book in swat
1580 * Fri Sep 01 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-7mdk
1581 - Added CUPS support to smb.conf
1582 - Added internationalization options to smb.conf [Global]
1584 * Wed Aug 30 2000 Till Kamppeter <till@mandrakesoft.com> 2.0.7-6mdk
1585 - Put "smbspool" to the files to install
1587 * Wed Aug 30 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-5mdk
1588 - Did some cleaning in the patches
1590 * Fri Jul 28 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-4mdk
1591 - relocated man pages from /usr/man to /usr/share/man for compatibility reasons
1593 * Fri Jul 28 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-3mdk
1594 - added make_unicodemap and build of unicode_map.$i in the spec file
1596 * Fri Jul 28 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-2mdk
1597 - renamed /etc/codepage/codepage.$i into /etc/codepage/unicode_map.$i to fix smbmount bug.
1599 * Fri Jul 07 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-1mdk
1602 * Wed Apr 05 2000 Francis Galiegue <fg@mandrakesoft.com> 2.0.6-4mdk
1604 - Titi sucks, does not put versions in changelog
1605 - Fixed groups for -common and -client
1606 - /usr/sbin/samba is no config file
1608 * Thu Mar 23 2000 Thierry Vignaud <tvignaud@mandrakesoft.com>
1609 - fix buggy post install script (pixel)
1611 * Fri Mar 17 2000 Francis Galiegue <francis@mandrakesoft.com> 2.0.6-2mdk
1613 - Changed group according to 7.1 specs
1614 - Some spec file changes
1615 - Let spec-helper do its job
1617 * Thu Nov 25 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
1620 * Tue Nov 2 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
1621 - Merge with rh changes.
1622 - Split in 3 packages.
1624 * Fri Aug 13 1999 Pablo Saratxaga <pablo@@mandrakesoft.com>
1625 - corrected a bug with %post (the $1 parameter is "1" in case of
1626 a first install, not "0". That parameter is the number of packages
1627 of the same name that will exist after running all the steps if nothing
1628 is removed; so it is "1" after first isntall, "2" for a second install
1629 or an upgrade, and "0" for a removal)
1631 * Wed Jul 28 1999 Pablo Saratxaga <pablo@@mandrakesoft.com>
1632 - made smbmnt and smbumount suid root, and only executable by group 'smb'
1633 add to 'smb' group any user that should be allowed to mount/unmount
1634 SMB shared directories
1636 * Fri Jul 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
1637 - 2.0.5a (bug security fix).
1639 * Wed Jul 21 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
1641 - cs/da/de/fi/fr/it/tr descriptions/summaries
1643 * Sun Jun 13 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com>
1645 - recompile on a system that works ;)
1647 * Wed Apr 21 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
1648 - Mandrake adaptations.
1651 * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
1652 - add a mount.smb to make smb mounting a little easier.
1653 - smb filesystems apparently do not work on alpha. Oops.
1655 * Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
1656 - always create codepages
1658 * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
1661 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
1662 - auto rebuild in the new build environment (release 3)
1664 * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
1665 - updated init script to use graceful restart (not stop/start)
1667 * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
1670 * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
1673 * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
1676 * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
1677 - fix bash2 breakage in post script
1679 * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
1682 * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
1683 - make sure all binaries are stripped
1685 * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
1686 - update to 1.9.18p10.
1687 - fix %triggerpostun.
1689 * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
1690 - updated postun triggerscript to check $0
1691 - clear /etc/codepages from %preun instead of %postun
1693 * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
1694 - made the %postun script a tad less agressive; no reason to remove
1695 the logs or lock file (after all, if the lock file is still there,
1696 samba is still running)
1697 - the %postun and %preun should only exectute if this is the final
1699 - migrated %triggerpostun from Red Hat's samba package to work around
1700 packaging problems in some Red Hat samba releases
1702 * Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
1703 - minor tidy up in preparation for release of 1.9.18p5
1704 - added findsmb utility from SGI package
1706 * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
1707 - Updated version and codepage info.
1708 - Release to test name resolve order
1710 * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
1711 - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
1712 - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
1713 - Compounded make line
1714 - Updated smb.init restart mechanism
1715 - Use compound mkdir -p line instead of individual calls to mkdir
1716 - Fixed smb.conf file path for log files
1717 - Fixed smb.conf file path for incoming smb print spool directory
1718 - Added a number of options to smb.conf file
1719 - Added smbadduser command (missed from all previous RPMs) - Doooh!
1720 - Added smbuser file and smb.conf file updates for username map