3 %define vscanver 0.2.5c
5 # 2.2.4 and 1 replace by samba-team at release
6 %define pversion PVERSION
7 %define prelease PRELEASE
8 # For testing this setup:
9 #%define pversion1 2.2.5
10 #%define prelease1 %(date +%Y%m%d)
12 #Check to see if p(version|release) has been replaced (1 if replaced)
13 %define have_pversion %(if [ "%pversion" = `echo "pversion" |tr '[:lower:]' '[:upper:]'` ];then echo 0; else echo 1; fi)
14 %define have_prelease %(if [ "%prelease" = `echo "prelease" |tr '[:lower:]' '[:upper:]'` ];then echo 0; else echo 1; fi)
16 # We might have a alpha-/beta-/pre-/rc-release:
17 %define have_pre %(echo %pversion|awk '{p=0} /[a-z,A-Z][a-z,A-Z]/ {p=1} {print p}')
19 %define pre_ver %(perl -e '$name="%pversion"; print ($name =~ /(.*?)[a-z]/);')
20 %define pre_pre %(echo %pversion|sed -e 's/%pre_ver//g')
24 # Check to see if we are running a build from a tarball release from samba.org
25 # (%have_pversion) If so, disable vscan, unless explicitly requested
30 %{?_with_vscan: %define build_vscan 1}
33 # We now do detection of the Mandrake release we are building on:
34 #%define build_cooker %(if [ `awk '{print $3}' /etc/mandrake-release` = "Cooker" ];then echo 1; else echo 0; fi)
35 #%define build_cooker %(if [[ `cat /etc/mandrake-release|grep Cooker` ]];then echo 1; else echo 0; fi)
36 %define build_mdk90 %(if [ `awk '{print $4}' /etc/mandrake-release` = 9.0 ];then echo 1; else echo 0; fi)
37 %define build_mdk83 %(if [ `awk '{print $4}' /etc/mandrake-release` = 8.3 ];then echo 1; else echo 0; fi)
38 %define build_mdk82 %(if [ `awk '{print $4}' /etc/mandrake-release` = 8.2 ];then echo 1; else echo 0; fi)
39 %define build_mdk81 %(if [ `awk '{print $4}' /etc/mandrake-release` = 8.1 ];then echo 1; else echo 0; fi)
40 %define build_mdk80 %(if [ `awk '{print $4}' /etc/mandrake-release` = 8.0 ];then echo 1; else echo 0; fi)
41 %define build_mdk72 %(if [ `awk '{print $4}' /etc/mandrake-release` = 7.2 ];then echo 1; else echo 0; fi)
42 %define build_non_default 0
45 %define build_winbind 1
49 # Set defaults for each version
63 %define build_winbind 0
70 %define build_winbind 0
77 %define build_winbind 0
82 # Allow commandline option overrides (borrowed from Vince's qmail srpm):
83 # To use it, do rpm [-ba|--rebuild] --with 'xxx'
84 # Check if the rpm was built with the defaults, otherwise we inform the user
85 %{?_with_acl: %{expand: %%define build_acl 1}}
86 %{?_with_acl: %{expand: %%define build_non_default 1}}
87 %{?_without_acl: %{expand: %%define build_acl 0}}
88 %{?_without_acl: %{expand: %%define build_non_default 1}}
89 %{?_with_winbind: %{expand: %%global build_winbind 1}}
90 %{?_with_winbind: %{expand: %%define build_non_default 1}}
91 %{?_without_winbind: %{expand: %%global build_winbind 0}}
92 %{?_without_winbind: %{expand: %%define build_non_default 1}}
93 %{?_with_wins: %{expand: %%global build_wins 1}}
94 %{?_with_wins: %{expand: %%define build_non_default 1}}
95 %{?_without_wins: %{expand: %%global build_wins 0}}
96 %{?_without_wins: %{expand: %%define build_non_default 1}}
97 %{?_with_ldap: %{expand: %%global build_ldap 1}}
98 %{?_with_ldap: %{expand: %%define build_non_default 1}}
99 %{?_without_ldap: %{expand: %%global build_ldap 0}}
100 %{?_without_ldap: %{expand: %%define build_non_default 1}}
102 # As if that weren't enough, we're going to try building with antivirus
103 # support as an option also
104 %define build_fprot 0
105 %define build_kaspersky 0
107 %define build_openantivirus 0
108 %define build_sophos 0
109 %define build_symantec 0
110 %define build_trend 0
112 %{?_with_fprot: %{expand: %%global build_fprot 1}}
113 %{?_with_kaspersky: %{expand: %%global build_kaspersky 1}}
114 %{?_with_mks: %{expand: %%global build_mks 1}}
115 %{?_with_openav: %{expand: %%global build_openantivirus 1}}
116 %{?_with_sophos: %{expand: %%global build_sophos 1}}
117 %{?_with_symantec: %{expand: %%global build_symantec 1}}
118 %{?_with_trend: %{expand: %%global build_trend 1}}
119 %define vscandir "samba-vscan-%{vscanver}"
121 %define vfsdir "examples.bin/VFS"
123 #Workaround missing macros in 8.x:
124 %{!?perl_vendorlib: %{expand: %%global perl_vendorlib %{perl_sitearch}/../}}
126 Summary: Samba SMB server.
128 %if %have_pversion && %have_pre
130 %define source_ver %{pversion}
132 %if %have_pversion && !%have_pre
134 %define source_ver %{pversion}
138 %define source_ver %{ver}
140 %if %have_prelease && !%have_pre
141 Release: 1.%{prelease}mdk
143 %if %have_prelease && %have_pre
144 Release: 1.0.%{pre_pre}.%{prelease}mdk
150 Group: System/Servers
151 Source: ftp://samba.org/pub/samba/samba-%{source_ver}.tar.bz2
154 Source3: samba.xinetd
155 Source4: swat_48.xpm.bz2
156 Source5: swat_32.xpm.bz2
157 Source6: swat_16.xpm.bz2
158 Source7: README.%{name}-mandrake-rpm
160 Source8: samba-vscan-%{vscanver}.tar.bz2
162 Source10: samba-print-pdf.sh.bz2
163 Patch1: smbw.patch.bz2
164 Patch5: samba-2.2.0-gawk.patch.bz2
165 #Patch11: samba-2.0.7-smbspool-guest.patch.bz2
166 Patch12: samba-2.2.0-buildroot.patch.bz2
167 #Patch16: samba-mkdir.patch.bz2
168 Patch17: smbmount-sbin.patch.bz2
169 Patch18: samba-2.2.5-gp-reloc-fix.patch.bz2
171 # Version specific patches: current version
172 Patch26: samba-2.2.5-smb.conf.patch.bz2
173 Patch28: samba-2.2.5-ldap_start_tls.patch.bz2
174 Patch29: samba-2.2.5-parse_sec.patch.bz2
175 Patch30: samba-2.2.5-nt-dirlisting.patch.bz2
176 Patch31: samba-2.2.5-random_smbd-read.patch.bz2
177 Patch32: samba-2.2.5-winbind-init.patch.bz2
178 Patch33: samba-2.2.5-pam-password.patch.bz2
179 Patch34: samba-2.2.5-win2k_copy_bug.patch.bz2
180 Patch35: samba-2.2.5-samba-ldap-include-conf.patch.bz2
181 Patch36: samba-2.2.6-smb.conf.patch.bz2
182 Patch37: samba-2.2.6-smbumount_lazy.patch.bz2
184 # Version specific patches: upcoming version
186 # Limbo patches (applied to prereleases, but not preleases, ie destined for
188 %if %have_pversion && %have_pre
189 Patch36: samba-2.2.6-smb.conf.patch.bz2
191 Requires: pam >= 0.64, samba-common = %{version}
192 BuildRequires: pam-devel autoconf readline-devel
194 BuildRequires: libacl-devel
197 BuildRequires: cups-devel
199 BuildRequires: libcups-devel
202 BuildRequires: libldap-devel
204 BuildRoot: %{_tmppath}/%{name}-root
206 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
207 Prereq: fileutils sed /bin/grep
210 Samba provides an SMB server which can be used to provide
211 network services to SMB (sometimes called "Lan Manager")
212 clients, including various versions of MS Windows, OS/2,
213 and other Linux machines. Samba also provides some SMB
214 clients, which complement the built-in SMB filesystem
215 in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
216 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame)
219 Samba-2.2 features working NT Domain Control capability and
220 includes the SWAT (Samba Web Administration Tool) that
221 allows samba's smb.conf file to be remotely managed using your
222 favourite web browser. For the time being this is being
223 enabled on TCP port 901 via xinetd. SWAT is now included in
224 it's own subpackage, samba-swat.
226 Users are advised to use Samba-2.2 as a Windows NT4
227 Domain Controller only on networks that do NOT have a Windows
228 NT Domain Controller. This release does NOT as yet have
229 Backup Domain control ability.
231 Please refer to the WHATSNEW.txt document for fixup information.
232 This binary release includes encrypted password support.
234 Please read the smb.conf file and ENCRYPTION.txt in the
235 docs directory for implementation details.
237 %if %build_non_default
238 WARNING: This RPM was built with command-line options. Please
239 see README.%{name}-mandrake-rpm in the documentation for
245 Summary: Samba (SMB) server programs with LDAP (only) support
246 Obsoletes: samba-server
247 Provides: samba-server
248 Requires: samba-common-ldap = %{version}
251 Summary: Samba (SMB) server programs.
252 Obsoletes: samba-server-ldap
253 Requires: samba-common = %{version}
255 Group: Networking/Other
260 %description server-ldap
264 Samba-server provides a SMB server which can be used to provide
265 network services to SMB (sometimes called "Lan Manager")
266 clients. Samba uses NetBIOS over TCP/IP (NetBT) protocols
267 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame)
270 Samba-2.2 features working NT Domain Control capability and
271 includes the SWAT (Samba Web Administration Tool) that
272 allows samba's smb.conf file to be remotely managed using your
273 favourite web browser. For the time being this is being
274 enabled on TCP port 901 via xinetd. SWAT is now included in
275 it's own subpackage, samba-swat.
277 Users are advised to use Samba-2.2 as a Windows NT4
278 Domain Controller only on networks that do NOT have a Windows
279 NT Domain Controller. This release does NOT as yet have
280 Backup Domain control ability.
282 Please refer to the WHATSNEW.txt document for fixup information.
283 This binary release includes encrypted password support.
285 Please read the smb.conf file and ENCRYPTION.txt in the
286 docs directory for implementation details.
289 This package was compiled with LDAP support, which means that
290 passwords can ONLY be stored in LDAP, not in smbpasswd files.
291 To migrate your passwords from smbpasswd into LDAP, try
292 examples/LDAP/import_smbpasswd.pl using:
293 /usr/share/samba/scripts/import_smbpasswd.pl </etc/samba/smbpasswd
295 Scripts for managing users in LDAP have been added to
296 /usr/share/samba/scripts, configuration is in /etc/samba/smbldap_conf.pm
300 Summary: Samba (SMB) client programs.
301 Group: Networking/Other
302 Requires: samba-common = %{version}
306 Samba-client provides some SMB clients, which complement the built-in
307 SMB filesystem in Linux. These allow the accessing of SMB shares, and
308 printing to SMB printers.
312 Summary: Files used by both Samba servers and clients with LDAP support
313 Obsoletes: samba-common
314 Provides: samba-common
317 Summary: Files used by both Samba servers and clients.
318 Obsoletes: samba-common-ldap
320 Group: System/Servers
323 %description common-ldap
327 Samba-common provides files necessary for both the server and client
331 Summary: Documentation for Samba servers and clients.
332 Group: System/Servers
333 Requires: samba-common = %{version}
336 Samba-doc provides documentation files for both the server and client
341 Summary: The Samba Web Administration Tool (with LDAP support)
342 Obsoletes: samba-swat
344 Requires: samba-server-ldap = %{version}
347 Summary: The Samba Web Administration Tool.
348 Obsoletes: samba-swat-ldap
349 Requires: samba-server = %{version}
352 Group: System/Servers
353 Provides: samba-swat swat
356 %description swat-ldap
360 SWAT (the Samba Web Administration Tool) allows the samba smb.conf file
361 to be remotely managed using your favourite web browser. For the time
362 being this is being enabled on TCP port 901 via xinetd. Note that
363 SWAT does not use SSL encryption, nor does it preserve comments in
364 your smb.conf file. Webmin uses SSL encryption by default, and
365 preserves comments in configuration files, even if it does not display
366 them, and is therefore the preferred method for remotely managing
370 %if %build_winbind && %build_ldap
371 %package winbind-ldap
372 Requires: samba-common-ldap = %{version}
373 Obsoletes: samba-winbind
374 Provides: samba-winbind
376 %if %build_winbind && !%build_ldap
378 Requires: samba-common = %{version}
379 Obsoletes: samba-winbind-ldap
382 Summary: Samba-winbind daemon, utilities and documentation
383 Group: System/Servers
384 Provides: winbind samba-winbind
386 %if %build_winbind && %build_ldap
387 %description winbind-ldap
389 %if %build_winbind && !%build_ldap
393 Provides the winbind daemon and testing tools to allow authentication
394 and group/user enumeration from a Windows or Samba domain controller.
399 Summary: Name Service Switch service for WINS
400 Group: System/Servers
401 Requires: samba-common = %{version}
403 %description -n nss_wins
404 Provides the libnss_wins shared library which resolves NetBIOS names to
411 Summary: On-access virus scanning for samba using FPROT
412 Group: System/Servers
413 Requires: samba = %{version}
415 %description vscan-fprot
416 A vfs-module for samba to implement on-access scanning using the
417 FPROT antivirus software (which must be installed to use this).
421 %package vscan-kaspersky
422 Summary: On-access virus scanning for samba using Kaspersky
423 Group: System/Servers
424 Requires: samba = %{version}
426 %description vscan-kaspersky
427 A vfs-module for samba to implement on-access scanning using the
428 Kaspersky antivirus software (which must be installed to use this).
433 Summary: On-access virus scanning for samba using MKS
434 Group: System/Servers
435 Requires: samba = %{version}
437 %description vscan-mks
438 A vfs-module for samba to implement on-access scanning using the
439 MKS antivirus software (which must be installed to use this).
442 %if %build_openantivirus
443 %package vscan-openantivirus
444 Summary: On-access virus scanning for samba using OpenAntivirus
445 Group: System/Servers
446 Requires: samba = %{version}
448 %description vscan-openantivirus
449 A vfs-module for samba to implement on-access scanning using the
450 OpenAntivirus antivirus software (which must be installed to use this).
454 %package vscan-sophos
455 Summary: On-access virus scanning for samba using Sophos
456 Group: System/Servers
457 Requires: samba = %{version}
459 %description vscan-sophos
460 A vfs-module for samba to implement on-access scanning using the
461 Sophos antivirus software (which must be installed to use this).
465 %package vscan-symantec
466 Summary: On-access virus scanning for samba using Symantec
467 Group: System/Servers
468 Requires: samba = %{version}
470 %description vscan-symantec
471 A vfs-module for samba to implement on-access scanning using the
472 Symantec antivirus software (which must be installed to use this).
477 Summary: On-access virus scanning for samba using Trend
478 Group: System/Servers
479 Requires: samba = %{version}
481 %description vscan-trend
482 A vfs-module for samba to implement on-access scanning using the
483 Trend antivirus software (which must be installed to use this).
487 # Build a summary of how this RPM was built:
489 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with acl"
491 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without acl"
494 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with winbind"
496 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without winbind"
499 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with wins"
501 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without wins"
504 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with ldap"
506 RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without ldap"
509 %if %build_non_default
510 echo "Building a non-default rpm with the following command-line arguments:"
511 echo "$RPM_EXTRA_OPTIONS"
512 echo "This rpm was built with non-default options, thus, to build ">%{SOURCE7}
513 echo "an identical rpm, you need to supply the following options">>%{SOURCE7}
514 echo "at build time: $RPM_EXTRA_OPTIONS">>%{SOURCE7}
515 echo -e "\n%{name}-%{version}-%{release}\n">>%{SOURCE7}
517 echo "This rpm was built with default options">%{SOURCE7}
518 echo -e "\n%{name}-%{version}-%{release}\n">>%{SOURCE7}
522 %setup -q -a 8 -n %{name}-%{source_ver}
524 %setup -q -n %{name}-%{source_ver}
530 #%patch11 -p0 -b .smbspool
531 %patch12 -p1 -b .buildroot
533 %patch18 -p1 -b .gp-reloc-fix
534 # Version specific patches: current version
536 echo "Applying patches for current version: %{ver}"
549 # Version specific patches: upcoming version
550 echo "Applying patches for new versions: %{pversion}"
554 %if %have_pversion && %have_pre
555 echo "Appling patches which should only be applied to prereleases"
561 # Make a copy of examples so that we have a clean one for doc:
562 cp -a examples examples.bin
565 # put antivirus files in examples.bin/VFS/
566 for av in fprot kaspersky mks openantivirus sophos symantec trend; do
567 cp -a %{vscandir}/$av %{vfsdir}
575 CPPFLAGS="-I/usr/include/openssl"; export CPPFLAGS
576 CFLAGS="$RPM_OPT_FLAGS"
577 %configure --prefix=%{prefix} \
579 --libdir=/etc/samba \
580 --sysconfdir=/etc/samba \
581 --localstatedir=/var \
582 --with-configdir=/etc/samba \
583 --with-codepagedir=/var/lib/samba/codepages \
584 --with-privatedir=/etc/samba \
585 --with-swatdir=%{prefix}/share/swat \
595 --with-libsmbclient \
604 #make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" all
605 make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
606 all smbfilter smbwrapper smbcacls pam_smbpass nsswitch nsswitch/libnss_wins.so debug2html
607 # Build VFS modules (experimental)
609 %configure --prefix=%{prefix} \
610 --mandir=%{prefix}/share/man
612 #make CFLAGS="$RPM_OPT_FLAGS -I../../source -I../../source/include -I../../source/ubiqx \
613 # -I../../source/smbwrapper -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
616 # Build mkntpasswd in examples/LDAP/ for smbldaptools
618 cd examples.bin/LDAP/smbldap-tools/mkntpwd
622 # Build antivirus vfs objects:
624 echo "Building fprot"
627 echo "Building Kaspersky"
628 (cd %{vfsdir}/kaspersky;make)
632 (cd %{vfsdir}/mks;make)
634 %if %build_openantivirus
635 echo "Building OpenAntivirus"
636 (cd %{vfsdir}/openantivirus;make)
639 echo "building sophos"
640 (cd %{vfsdir}/sophos;make)
643 echo "Building symantec"
644 (cd %{vfsdir}/symantec;make)
647 echo "Building Trend"
648 (cd %{vfsdir}/trend;make)
652 rm -rf $RPM_BUILD_ROOT
653 mkdir -p $RPM_BUILD_ROOT
654 mkdir -p $RPM_BUILD_ROOT/sbin
655 mkdir -p $RPM_BUILD_ROOT/etc/samba
656 mkdir -p $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d,xinetd.d}
657 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
658 mkdir -p $RPM_BUILD_ROOT/%{prefix}/{bin,sbin}
659 mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/swat/{images,help,include,using_samba}
660 mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/swat/using_samba/{figs,gifs}
661 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/{man1,man5,man7,man8}
662 mkdir -p $RPM_BUILD_ROOT/var/cache/samba
663 mkdir -p $RPM_BUILD_ROOT/var/log/samba
664 mkdir -p $RPM_BUILD_ROOT/var/run/samba
665 mkdir -p $RPM_BUILD_ROOT/var/spool/samba
666 mkdir -p $RPM_BUILD_ROOT/var/lib/samba/{netlogon,profiles,printers}
667 mkdir -p $RPM_BUILD_ROOT/var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC}
668 mkdir -p $RPM_BUILD_ROOT/var/lib/samba/codepages/src
669 mkdir -p $RPM_BUILD_ROOT/lib/security
670 mkdir -p $RPM_BUILD_ROOT%prefix/lib
671 mkdir -p $RPM_BUILD_ROOT%{_libdir}/samba/vfs
672 mkdir -p $RPM_BUILD_ROOT%{_datadir}/samba/scripts
674 # Install standard binary files
676 for i in nmblookup smbclient smbpasswd smbstatus testparm testprns \
677 make_smbcodepage make_unicodemap make_printerdef rpcclient smbspool \
678 smbcacls smbclient smbmount smbumount smbsh wbinfo
680 install -m755 source/bin/$i $RPM_BUILD_ROOT/%{prefix}/bin
683 install -m755 source/bin/smbwrapper.so $RPM_BUILD_ROOT%prefix/lib/smbwrapper.so
684 install -m755 source/bin/pam_smbpass.so $RPM_BUILD_ROOT/lib/security/pam_smbpass.so
685 install -m755 source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/lib/security/pam_winbind.so
686 install -m755 source/bin/libsmbclient.so $RPM_BUILD_ROOT%prefix/lib/libsmbclient.so
688 # Install VFS modules
689 install -m755 %vfsdir/audit.so $RPM_BUILD_ROOT/%{_libdir}/samba/vfs
690 for i in block recycle
692 install -m755 %vfsdir/$i/$i.so $RPM_BUILD_ROOT/%{_libdir}/samba/vfs
696 # mkdir -p $RPM_BUILD_ROOT%{_libdir}/samba/vfs/vscan
697 for av in fprotd kavp mksd oav sophos symantec trend; do
698 if [ -d %{vfsdir}/$av -a -e %{vfsdir}/$av/vscan-$av.so ];then
699 cp %{vfsdir}/$av/vscan-$av.so \
700 $RPM_BUILD_ROOT%{_libdir}/samba/vfs/
704 for i in mksmbpasswd.sh smbtar convert_smbpasswd
706 install -m755 source/script/$i $RPM_BUILD_ROOT/%{prefix}/bin
709 # Install secure binary files
711 for i in smbd nmbd swat smbfilter debug2html smbmnt smbcontrol winbindd
713 install -m755 source/bin/$i $RPM_BUILD_ROOT/%{prefix}/sbin
716 # Install level 1,5,7,8 man pages
718 for mpl in 1 5 7 8;do
719 mp=$(ls docs/manpages/*.$mpl)
721 install -m644 $i $RPM_BUILD_ROOT/%{_mandir}/man$mpl
725 # Install codepage source files
727 for i in 437 737 775 850 852 857 861 862 866 932 936 949 950 1125 1251
729 install -m644 source/codepages/codepage_def.$i $RPM_BUILD_ROOT/var/lib/samba/codepages/src
732 for i in 437 737 775 850 852 857 861 862 866 932 936 949 950 1125 1251 ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 ISO8859-9 ISO8859-13 ISO8859-15 KOI8-R KOI8-U
734 install -m644 source/codepages/CP$i.TXT $RPM_BUILD_ROOT/var/lib/samba/codepages/src
737 # Build codepage load files
738 for i in 437 737 775 850 852 857 861 862 866 932 936 949 950 1125 1251; do
739 $RPM_BUILD_ROOT/%{prefix}/bin/make_smbcodepage c $i $RPM_BUILD_ROOT/var/lib/samba/codepages/src/codepage_def.$i $RPM_BUILD_ROOT/var/lib/samba/codepages/codepage.$i
742 # Build unicode load files
743 for i in 437 737 775 850 852 857 861 862 866 932 936 949 950 1125 1251 ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 ISO8859-9 ISO8859-13 ISO8859-15 KOI8-R KOI8-U; do
744 $RPM_BUILD_ROOT/%{prefix}/bin/make_unicodemap $i $RPM_BUILD_ROOT/var/lib/samba/codepages/src/CP$i.TXT $RPM_BUILD_ROOT/var/lib/samba/codepages/unicode_map.$i
746 rm -rf $RPM_BUILD_ROOT/var/lib/samba/codepages/src
748 # Install the nsswitch library extension file
749 for i in wins winbind; do
750 install -m755 source/nsswitch/libnss_$i.so $RPM_BUILD_ROOT/lib
752 # Make link for wins and winbind resolvers
753 ( cd $RPM_BUILD_ROOT/lib; ln -s libnss_wins.so libnss_wins.so.2; ln -s libnss_winbind.so libnss_winbind.so.2)
755 # Install SWAT helper files
756 for i in swat/help/*.html docs/htmldocs/*.html; do
757 install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/help
760 for i in swat/images/*.gif; do
761 install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/images
764 for i in swat/include/*.html; do
765 install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/include
768 # Install the O'Reilly "Using Samba" book
770 for i in docs/htmldocs/using_samba/*.html; do
771 install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/using_samba
774 for i in docs/htmldocs/using_samba/gifs/*.gif; do
775 install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/using_samba/gifs
778 for i in docs/htmldocs/using_samba/figs/*.gif; do
779 install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/using_samba/figs
782 # Install other stuff
784 install -m644 examples/VFS/recycle/recycle.conf $RPM_BUILD_ROOT/etc/samba/
785 install -m644 packaging/Mandrake/smb.conf $RPM_BUILD_ROOT/etc/samba/smb.conf
786 install -m644 packaging/Mandrake/smbusers $RPM_BUILD_ROOT/etc/samba/smbusers
787 install -m755 packaging/Mandrake/smbprint $RPM_BUILD_ROOT/usr/bin
788 #install -m755 packaging/RedHat/smbadduser $RPM_BUILD_ROOT/usr/bin
789 install -m755 packaging/Mandrake/findsmb $RPM_BUILD_ROOT/usr/bin
790 install -m755 packaging/Mandrake/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
791 install -m755 packaging/Mandrake/smb.init $RPM_BUILD_ROOT/usr/sbin/samba
792 install -m755 packaging/Mandrake/winbind.init $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
793 install -m755 packaging/Mandrake/winbind.init $RPM_BUILD_ROOT/usr/sbin/winbind
794 install -m644 packaging/Mandrake/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba
795 install -m644 packaging/Mandrake/system-auth-winbind.pamd $RPM_BUILD_ROOT/etc/pam.d/system-auth-winbind
797 install -m644 $RPM_SOURCE_DIR/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba
798 install -m644 packaging/Mandrake/samba-slapd-include.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba/samba-slapd.include
800 # Install smbldap-tools scripts:
801 for i in examples/LDAP/smbldap-tools/*.pl; do
802 install -m 750 $i $RPM_BUILD_ROOT/%{_datadir}/samba/scripts/
805 install -m 750 examples/LDAP/smbldap-tools/smbldap_tools.pm $RPM_BUILD_ROOT/%{_datadir}/samba/scripts/
808 install -m 640 examples/LDAP/smbldap-tools/smbldap_conf.pm $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
810 # Link both smbldap*.pm into vendor-perl (any better ideas?)
811 mkdir -p %{buildroot}/%{perl_vendorlib}
812 ln -s %{_sysconfdir}/samba/smbldap_conf.pm $RPM_BUILD_ROOT/%{perl_vendorlib}
813 ln -s %{_datadir}/samba/scripts/smbldap_tools.pm $RPM_BUILD_ROOT/%{perl_vendorlib}
816 install -m750 examples.bin/LDAP/smbldap-tools/mkntpwd/mkntpwd %{buildroot}/%{_sbindir}
818 # Samba smbpasswd migration script:
819 install -m700 examples/LDAP/export_smbpasswd.pl $RPM_BUILD_ROOT/%{_datadir}/samba/scripts/
820 install -m700 examples/LDAP/import_smbpasswd.pl $RPM_BUILD_ROOT/%{_datadir}/samba/scripts/
824 # make a conf file for winbind from the default one:
825 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
826 install -m644 packaging/Mandrake/smb-winbind.conf $RPM_BUILD_ROOT/etc/samba/smb-winbind.conf
828 # Link smbmount to /sbin/mount.smb and /sbin/mount.smbfs
830 ln -s /%{prefix}/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smb
831 ln -s /%{prefix}/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
832 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/samba/lmhosts
834 # Link smbspool to CUPS (does not require installed CUPS)
836 mkdir -p $RPM_BUILD_ROOT/usr/lib/cups/backend
837 ln -s /usr/bin/smbspool $RPM_BUILD_ROOT/usr/lib/cups/backend/smb
841 mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
842 install -m644 %{SOURCE3} $RPM_BUILD_ROOT/etc/xinetd.d/swat
846 mkdir -p $RPM_BUILD_ROOT%{_menudir}
847 cat > $RPM_BUILD_ROOT%{_menudir}/%{name} << EOF
848 ?package(%{name}):command="gnome-moz-remote http://localhost:901/" needs="gnome" \
849 icon="swat.xpm" section="Configuration/Networking" title="Samba Configuration" \
850 longtitle="The Swat Samba Administration Tool"
851 ?package(%{name}):command="sh -c '\$BROWSER http://localhost:901/'" needs="x11" \
852 icon="swat.xpm" section="Configuration/Networking" title="Samba Configuration" \
853 longtitle="The Swat Samba Administration Tool"
856 mkdir -p $RPM_BUILD_ROOT%{_liconsdir} $RPM_BUILD_ROOT%{_iconsdir} $RPM_BUILD_ROOT%{_miconsdir}
858 bzcat %{SOURCE4} > $RPM_BUILD_ROOT%{_liconsdir}/swat.xpm
859 bzcat %{SOURCE5} > $RPM_BUILD_ROOT%{_iconsdir}/swat.xpm
860 bzcat %{SOURCE6} > $RPM_BUILD_ROOT%{_miconsdir}/swat.xpm
862 bzcat %{SOURCE10}> $RPM_BUILD_ROOT%{_datadir}/samba/scripts/print-pdf
864 rm -rf $RPM_BUILD_ROOT
867 %post -n samba-server-ldap
869 %post -n samba-server
872 #/sbin/chkconfig --level 35 smb on
874 # Add a unix group for samba machine accounts
875 groupadd -frg 421 machines
878 %post -n samba-common-ldap
880 %post -n samba-common
882 # Basic migration script for pre-2.2.1 users,
883 # since smb config moved from /etc to /etc/samba
886 for s in smb.conf smbusers smbpasswd printers.def secrets.tdb lmhosts; do
888 cp -f /etc/$s /etc/$s.OLD
889 mv -f /etc/$s /etc/samba/
893 # Migrate tdb's from /var/lock/samba (taken from official samba spec file):
894 for i in /var/lock/samba/*.tdb
897 newname=`echo $i | sed -e's|var\/lock\/samba|var\/cache\/samba|'`
898 echo "Moving $i to $newname"
903 # Remove the transient tdb files (modified from version in off. samba spec:
904 for TDB in brlock unexpected locking messages; do
905 if [ -e /var/cache/samba/$TDB.tdb ]; then
906 rm -f /var/cache/samba/$TDB.tdb;
910 if [ -d /var/lock/samba ]; then
911 rm -rf /var/lock/samba
913 # Make a symlink on /usr/lib/smbwrapper.so in /usr/bin
914 # to fix smbsh problem (another way to do that, anyone???)
916 ln -sf /usr/lib/smbwrapper.so /usr/bin/smbwrapper.so
918 # Let's create a proper /etc/samba/smbpasswd file
919 [ -f /etc/samba/smbpasswd ] || {
920 echo "Creating password file for samba..."
921 touch /etc/samba/smbpasswd
924 # And this too, in case we don't have smbd to create it for us
925 [ -f /var/cache/samba/unexpected.tdb ] || {
926 touch /var/cache/samba/unexpected.tdb
929 # Let's define the proper paths for config files
930 perl -pi -e 's/(\/etc\/)(smb)/\1samba\/\2/' /etc/samba/smb.conf
932 # Fix the logrotate.d file from smb and nmb to smbd and nmbd
933 if [ -f /etc/logrotate.d/samba ]; then
934 perl -pi -e 's/smb /smbd /' /etc/logrotate.d/samba
935 perl -pi -e 's/nmb /nmbd /' /etc/logrotate.d/samba
938 # And not loose our machine account SID
939 [ -f /etc/MACHINE.SID ] && mv -f /etc/MACHINE.SID /etc/samba/ ||:
941 %if %build_winbind && %build_ldap
942 %post -n samba-winbind-ldap
944 %if %build_winbind && !%build_ldap
945 %post -n samba-winbind
948 %_post_service winbind
950 # /sbin/chkconfig winbind on
951 cp -af /etc/nsswitch.conf /etc/nsswitch.conf.rpmsave
952 cp -af /etc/nsswitch.conf /etc/nsswitch.conf.rpmtemp
953 for i in passwd group;do
954 grep ^$i /etc/nsswitch.conf |grep -v 'winbind' 1>/dev/null 2>/dev/null
956 echo "Adding a winbind entry to the $i section of /etc/nsswitch.conf"
957 awk '/^'$i'/ {print $0 " winbind"};!/^'$i'/ {print}' /etc/nsswitch.conf.rpmtemp >/etc/nsswitch.conf;
958 cp -af /etc/nsswitch.conf /etc/nsswitch.conf.rpmtemp
960 echo "$i entry found in /etc/nsswitch.conf"
963 if [ -f /etc/nsswitch.conf.rpmtemp ];then
964 rm -f /etc/nsswitch.conf.rpmtemp;fi
968 %if %build_winbind && %build_ldap
969 %preun -n samba-winbind-ldap
971 %if %build_winbind && !%build_ldap
972 %preun -n samba-winbind
975 %_preun_service winbind
977 echo "Removing winbind entries from /etc/nsswitch.conf"
978 perl -pi -e 's/ winbind//' /etc/nsswitch.conf
980 # /sbin/chkconfig winbind reset
987 cp -af /etc/nsswitch.conf /etc/nsswitch.conf.rpmsave
988 grep '^hosts' /etc/nsswitch.conf |grep -v 'wins' >/dev/null
990 echo "Adding a wins entry to the hosts section of /etc/nsswitch.conf"
991 awk '/^hosts/ {print $0 " wins"};!/^hosts/ {print}' /etc/nsswitch.conf.rpmsave >/etc/nsswitch.conf;
993 echo "wins entry found in /etc/nsswitch.conf"
996 # echo "Upgrade, leaving nsswitch.conf intact"
1001 echo "Removing wins entry from /etc/nsswitch.conf"
1002 perl -pi -e 's/ wins//' /etc/nsswitch.conf
1004 # echo "Leaving /etc/nsswitch.conf intact"
1009 %preun -n samba-server-ldap
1011 %preun -n samba-server
1014 if [ $1 = 0 ] ; then
1016 # /sbin/chkconfig --level 35 smb reset
1017 # Let's not loose /var/cache/samba
1019 # for i in browse.dat wins.dat brlock.tdb unexpected.tdb connections.tdb \
1020 #locking.tdb messages.tdb;do
1021 # if [ -e /var/cache/samba/$i ]; then
1022 # mv -f /var/cache/samba/$i /var/cache/samba/$i.BAK
1025 if [ -d /var/log/samba ]; then
1026 rm -rf /var/log/samba/*
1028 if [ -d /var/cache/samba ]; then
1029 mv -f /var/cache/samba /var/cache/samba.BAK
1034 %preun -n samba-common-ldap
1036 %preun -n samba-common
1039 if [ $1 = 0 ] ; then
1040 for n in /etc/samba/codepages/*; do
1041 if [ "$n" != "/etc/samba/codepages/src" ]; then
1049 %post -n samba-swat-ldap
1053 if [ -f /var/lock/subsys/xinetd ]; then
1054 service xinetd reload >/dev/null 2>&1 || :
1059 %postun -n samba-swat-ldap
1061 %postun -n samba-swat
1063 # Remove swat entry from xinetd
1064 if [ -f /var/lock/subsys/xinetd ]; then
1065 service xinetd reload &>/dev/null || :
1069 %triggerpostun -- samba < 1.9.18p7
1071 if [ $1 != 0 ]; then
1072 /sbin/chkconfig --level 35 smb on
1075 %triggerpostun -- samba < 2.0.5a-3, samba >= 2.0.0
1077 if [ $1 != 0 ]; then
1078 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba ||:
1079 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba ||:
1080 [ -f /etc/inetd.conf ] && chmod 644 /etc/services /etc/inetd.conf ||:
1088 %defattr(-,root,root)
1089 #%attr(-,root,root) %{prefix}/sbin/*
1090 %attr(-,root,root) /sbin/*
1091 #%attr(-,root,root) %{prefix}/bin/*
1092 #%attr(755,root,root) /lib/*
1096 %{_sbindir}/smbcontrol
1098 #%{prefix}/bin/addtosmbpass
1099 %{_bindir}/mksmbpasswd.sh
1100 %{_bindir}/smbstatus
1101 %{_bindir}/convert_smbpasswd
1102 %attr(755,root,root) /lib/security/pam_smbpass*
1104 %attr(-,root,root) %config(noreplace) /etc/samba/smbusers
1105 %attr(-,root,root) %config /etc/rc.d/init.d/smb
1106 %attr(-,root,root) %config(noreplace) /etc/logrotate.d/samba
1107 %attr(-,root,root) %config(noreplace) /etc/pam.d/samba
1108 %attr(-,root,root) %config(noreplace) /etc/samba/samba-slapd.include
1109 %{_mandir}/man1/smbstatus.1*
1110 %{_mandir}/man5/smbpasswd.5*
1111 %{_mandir}/man7/samba.7*
1112 %{_mandir}/man8/smbd.8*
1113 %{_mandir}/man8/nmbd.8*
1114 %{_mandir}/man1/smbcontrol.1*
1115 #%{_mandir}/man1/lmhosts.1*
1116 %{_mandir}/man5/smb.conf.5*
1117 %attr(755,root,root) %dir /var/lib/samba/netlogon
1118 %attr(775,root,users) %dir /var/lib/samba/profiles
1119 %attr(755,root,root) %dir /var/lib/samba/printers/*
1120 %attr(755,root,root) %dir %{_libdir}/samba/vfs
1121 %attr(755,root,root) %{_libdir}/samba/vfs/audit.so
1122 %attr(755,root,root) %{_libdir}/samba/vfs/block.so
1123 %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so
1124 %attr(-,root,root) %config(noreplace) %{_sysconfdir}/samba/recycle.conf
1125 #%attr(775,root,root) %dir %{_libdir}/samba/vfs/vscan
1126 %attr(1777,root,root) %dir /var/spool/samba
1127 %dir %{_datadir}/%{name}/scripts
1128 %attr(0755,root,root) %{_datadir}/%{name}/scripts/print-pdf
1129 %attr(0750,root,root) %{_datadir}/%{name}/scripts/smbldap*.pl
1130 %attr(0640,root,root) %config(noreplace) %{_sysconfdir}/%{name}/smbldap_conf.pm
1131 %attr(0644,root,root) %{_datadir}/%{name}/scripts/smbldap_tools.pm
1132 %{perl_vendorlib}/*.pm
1133 %attr(0700,root,root) %{_datadir}/%{name}/scripts/*port_smbpasswd.pl
1137 %defattr(-,root,root)
1138 %doc README COPYING Manifest Read-Manifest-Now
1139 %doc WHATSNEW.txt Roadmap
1140 %doc README.%{name}-mandrake-rpm
1144 %attr(-,root,root) %{prefix}/share/swat/using_samba/*
1151 %defattr(-,root,root)
1152 %config(noreplace) /etc/xinetd.d/swat
1153 %attr(-,root,root) /sbin/*
1159 %attr(-,root,root) %{_datadir}/swat/help/*
1160 %attr(-,root,root) %{_datadir}/swat/images/*
1161 %attr(-,root,root) %{_datadir}/swat/include/*
1162 %{_mandir}/man8/swat.8*
1165 %defattr(-,root,root)
1169 %attr(755,root,root) %{_bindir}/smbmount
1170 %attr(4755,root,root) %{_bindir}/smbumount
1171 %attr(4755,root,root) %{_sbindir}/smbmnt
1172 %{_mandir}/man8/smbmnt.8*
1173 %{_mandir}/man8/smbmount.8*
1174 %{_mandir}/man8/smbumount.8*
1176 %{_bindir}/nmblookup
1178 %{_bindir}/smbclient
1182 # Link of smbspool to CUPS
1183 /%{_libdir}/cups/backend/smb
1184 /%{_mandir}/man1/nmblookup.1*
1185 /%{_mandir}/man1/findsmb.1*
1186 /%{_mandir}/man1/smbclient.1*
1187 /%{_mandir}/man1/smbtar.1*
1194 %defattr(-,root,root)
1195 %dir /var/cache/samba
1198 %{_bindir}/make_smbcodepage
1199 %{_bindir}/make_unicodemap
1202 %{_bindir}/make_printerdef
1203 %{_bindir}/rpcclient
1205 %{_bindir}/smbpasswd
1207 %{_libdir}/smbwrapper.so
1208 %{_libdir}/libsmbclient.so
1209 %attr(-,root,root) %config(noreplace) /etc/samba/smb.conf
1210 %attr(-,root,root) %config(noreplace) /etc/samba/smb-winbind.conf
1211 %attr(-,root,root) %config(noreplace) /etc/samba/lmhosts
1212 %attr(-,root,root) /var/lib/samba/codepages
1213 %{_mandir}/man1/make_smbcodepage.1*
1214 %{_mandir}/man1/make_unicodemap.1*
1215 %{_mandir}/man1/testparm.1*
1216 %{_mandir}/man1/smbsh.1*
1217 %{_mandir}/man1/testprns.1*
1218 %{_mandir}/man5/smb.conf.5*
1219 %{_mandir}/man5/lmhosts.5*
1220 %{_mandir}/man8/smbpasswd.8*
1221 /%{_mandir}/man1/smbcacls.1*
1225 %if %build_winbind && %build_ldap
1229 %if %build_winbind && !%build_ldap
1233 %defattr(-,root,root)
1234 %{_sbindir}/winbindd
1236 %attr(755,root,root) /lib/security/pam_winbind*
1237 %attr(755,root,root) /lib/libnss_winbind*
1238 %attr(-,root,root) %config /etc/rc.d/init.d/winbind
1239 %attr(-,root,root) %config(noreplace) /etc/pam.d/system-auth-winbind
1240 %{_mandir}/man8/winbindd.8*
1241 %{_mandir}/man1/wbinfo.1*
1246 %defattr(-,root,root)
1247 %attr(755,root,root) /lib/libnss_wins.so*
1250 #Files for antivirus support:
1253 %defattr(-,root,root)
1254 %{_libdir}/samba/vfs/vscan-fprotd.so
1255 %doc examples.bin/VFS/fprot/INSTALL
1258 %if %build_kaspersky
1259 %files vscan-kaspersky
1260 %defattr(-,root,root)
1261 %{_libdir}/samba/vfs/vscan-kavp.so
1262 %doc examples.bin/VFS/kaspersky/INSTALL
1267 %defattr(-,root,root)
1268 %{_libdir}/samba/vfs/vscan-mksd.so
1269 %doc examples.bin/VFS/mks/INSTALL
1272 %if %build_openantivirus
1273 %files vscan-openantivirus
1274 %defattr(-,root,root)
1275 %{_libdir}/samba/vfs/vscan-oav.so
1276 %doc examples.bin/VFS/openantivirus/INSTALL
1281 %defattr(-,root,root)
1282 %{_libdir}/samba/vfs/vscan-sophos.so
1283 %doc examples.bin/VFS/sophos/INSTALL
1287 %files vscan-symantec
1288 %defattr(-,root,root)
1289 %{_libdir}/samba/vfs/vscan-symantec.so
1290 %doc examples.bin/VFS/symantec/INSTALL
1295 %defattr(-,root,root)
1296 %{_libdir}/samba/vfs/vscan-trend.so
1297 %doc examples.bin/VFS/trend/INSTALL
1301 * Thu Oct 10 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-21mdk
1302 - Put docs back (aka rpm sucks, builds cleanly when doc fails)
1303 - 2.2.6-1.0.rc2.3mdk
1305 * Thu Oct 10 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-20mdk
1306 - Fix typo in print-pdf script
1307 - Make spec resistant to arbitrary pre/alpha/rc/beta/iamnotfinishedyet strings
1309 - Stop filling CVS with READMEs (use README.samba-mandrake-rpm instead)
1310 - Make example profiles share writeable by default, and add auto-creation
1312 - Make ps printing example remove printed files by default (smb.conf)
1313 - Fix ntlogon example (smb.conf)
1315 * Thu Oct 10 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-19mdk
1316 - almost 2.26 (rc2)!
1318 * Mon Oct 07 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-18mdk
1319 - add lazy umount patch for smbumount to allow smbumount to handle
1320 broken connection. (36) (-- <kevin@vega.idv.tw>)
1322 * Thu Sep 05 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-17mdk
1323 - changed localhost entry in /etc/xinetd.d/swat to 127.0.0.1
1324 for resolving issue.
1326 * Thu Aug 15 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-16mdk
1327 - Don't remove swat xinetd config (that's what RPM is for!)
1328 - Don't clean menus twice
1329 - This should also be 2.2.6-1.1mdk (build from official samba tarball)
1330 - Use samba-slapd-include.conf from packaging dir (patch it in for 2.2.5)
1332 * Wed Aug 07 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-15mdk
1333 - put /var/log/samba and /var/run/samba in common (for winbind - sbenedict)
1334 - Integrate smbldap-tools, now in /usr/share/scripts/samba, with examples
1335 in smb.conf, configuration is /etc/samba/smbldap_conf.pm (please test!)
1336 This links smbldap_tools.pm and smbldap_conf.pm into perl_vendorlib
1338 - Add mkntpwd (for smbldap-tools)
1339 - Samba smbpasswd->ldap migration script also in samba scripts dir.
1340 - Add recycle.conf, fix recycle example in smb.conf (pascal@vmfacility.fr)
1342 - bump samba-vscan to 0.2.5c (not tested though - yet).
1344 * Wed Jul 24 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-14mdk
1345 - Fix ldap description (really only when built with LDAP)
1346 - Expand -server description
1347 - more winbind examples in smb.conf
1348 - add winbind version of default smb.conf (smb-winbind.conf)
1349 - Add PDF-creation script and share
1350 - Rebuild for new acl
1352 * Wed Jul 24 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.2.5-13mdk
1353 - rebuild for new readline
1355 * Mon Jul 22 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-12mdk
1356 - fixed source no. for samba-slapd.include (-- Oden Eriksson)
1357 - added CVS win2k copy bug patch (34) (-- Jeremy Alison)
1359 * Tue Jul 16 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-11mdk
1360 - Fix winbind init script (doesn't need nmbd)
1361 - Add ldap examples, pam password change, obey pam restrictions (winbind)
1362 in smb.conf (disabled of course)
1363 - Add sample LDAP configuration (/etc/samba/samba-slapd.include
1364 - Add password section to /etc/pam.d/samba (pam password change)
1365 - buildrequires readline-devel
1366 - Ensure unexpected.tdb exists for winbind/client without smbd (post in common)
1368 * Wed Jul 10 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-10mdk
1369 - patch (30) to randomize the way smb re-reads config files (-- Jonathan Knight)
1371 * Thu Jul 04 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-9mdk
1372 - changed a few perms from 775 to 755 to make rpmlint happy.
1374 * Mon Jul 01 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.2.5-8mdk
1375 - Don't make smbmnt and smbumount group writable.
1377 * Mon Jul 01 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.2.5-7mdk
1378 - Really fix the Alpha (I suck).
1380 * Thu Jun 27 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-6mdk
1381 - directory listings vs NT/win2k servers helper patch (30) (--Urban Widmark)
1382 - build --with-libsmbclient
1384 * Thu Jun 27 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-5mdk
1385 - parsing fix for spoolss (29) (-- Jerry Carter)
1386 - Don't make the -ldap packages conflicts with the "normal" packages,
1387 but make them Obsoletes (-- Alexander Skwar)
1389 * Thu Jun 27 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.2.5-4mdk
1392 * Wed Jun 26 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-3mdk
1393 - ldap patch (28) (-- Jerry Carter)
1395 * Wed Jun 19 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-2mdk
1396 - Fix build on 8.1 (no nested conditionals)
1397 - Make provision for newer Mandrake releases
1399 * Wed Jun 19 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-1mdk
1401 - removed patch27 (included in new release)
1403 * Mon Jun 18 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-0.pre1.5mdk
1404 - Modifications for samba-2.2.5 source release
1405 - New samba-vscan (0.2.5a)
1406 - Samba releases will be 1.prelease.mdk (to upgrade prereleases nicely).
1408 * Mon Jun 17 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-0.pre1.4mdk
1410 - Please TEST, REBUILD with or without LDAP etc., and report any errors... Thanks!
1412 * Mon Jun 17 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-0.pre1.3mdk
1413 - s/%%define/%%global for macros used for package definitions (so --with
1414 ldap and --with sophos actually build appropriate packages f.e.)
1415 - Obsoletes: samba in samba-server
1416 - Prevent vscan vfs objects going into samba-server (!deps on scanner)
1417 - Disable automatic dependency checks for vscan subpackages
1418 - Build vfs objects in a copy of examples (examples.bin) so no bins in doc
1419 - Make vi faster ;-) (remove spurious single quote in swat description)
1420 - Add doc (INSTALL) for vscan packages
1421 - Try and sort out dependencies and conflicts
1423 * Fri Jun 14 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-0.pre1.2mdk
1424 - Patch27 (prevent all samba binaries linking to libldap)
1425 - New samba-swat-ldap and samba-winbind-ldap packages
1426 - move smbcacls to samba-common(-ldap), since it links to libldap
1427 - Only packages which don't build ldap-specific are nss_wins,doc and client
1429 * Mon Jun 10 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.5-0.pre1.1mdk
1430 - Introduce new samba-server-ldap and samba-common-ldap packages
1432 * Mon Jun 10 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.5-0.pre1.0mdk
1433 - first release with 2.2.5pre1.
1434 - samba-*.rpm now renamed samba-server-*.rpm
1435 - vfs modules are back in town
1437 * Tue Jun 04 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.4-5mdk
1438 - changed vfs location in sample mdk smb.conf.
1440 * Mon Jun 03 2002 Buchan Milne <bgmilne@linux-mandrake.com> 2.2.4-4mdk
1441 - More patch cleaning
1442 - Antivirus support (optional at build time). Please test if you have one of
1443 fprot, kaspersky,mks,symantec or trend. Sophos has been tested and builds
1445 - Move all vfs objects to /usr/lib/samba/vfs
1447 * Mon May 27 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.4-3mdk
1448 - Rollup patch for most of the printing fixes in SAMBA_2_2. (-- Jerry Carter)
1449 - build + install VFS objects
1450 - patched VFS network recycle_bin (-- Kohei Yoshida)
1451 - added VFS examples in smb.conf
1453 * Mon May 13 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.4-2mdk
1454 - Cleaned a few useless patches.
1455 - Added a few codepages.
1456 - LDAP support in option.
1458 * Fri May 03 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.4-1mdk
1460 - Default build for cooker now includes LDAP support (as in 2.2.X).
1461 - Commented pversion/prelease defs.
1462 - Modif of the Cooker detection routine (use of grep).
1464 * Fri Apr 26 2002 Buchan Milne <bgmilne@cae.co.za> 2.2.3a-12mdk
1465 - Final changes for 2.2.4 release
1466 - Removed patches 4(nsl),11(smbspool-guest)
1467 - Made patch 7 (2.2.3a-init) release specific
1469 * Sun Apr 21 2002 Buchan Milne <bgmilne@cae.co.za> 2.2.3a-11mdk
1470 - Tested with CVS snapshot (upcoming relaese, sync packaging)
1471 - Added detection of samba-official release (so we can keep one spec
1472 file in sync in both cvs trees)
1473 - Add Distro-detection(tm) (allows us to remove some arbitrary repitition)
1474 - Made patches 20,21,23 (merged upstream), and 22 (breaks pam_smbpass
1475 compilation, pam_smbpass.so seems to be built correctly without it)
1477 - Removed patches 18,19 (only applicable to 2.2.2)
1479 * Sat Mar 16 2002 Pixel <pixel@mandrakesoft.com> 2.2.3a-10mdk
1480 - fix Patch 7 to fix samba not starting at boot time
1482 * Tue Mar 12 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.3a-9mdk
1483 - Patch 7 to fix samba not starting at boot time (-- Pixel)
1485 * Sat Mar 9 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.3a-8mdk
1486 - Patch 23 from CVS to fix saving changes in printer properties (-- Gerald Carter)
1488 * Fri Mar 8 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.3a-7mdk
1489 - Added a few new codepage/character sets.
1490 - replace deletion of /var/cache/samba by simple backup when removing samba
1491 to avoid loosing winbind rid->uid map and print driver tdbs.
1492 - Moved /var/cache/samba migration process from %post samba to %post samba-common.
1493 - Moved require xinetd from samba to samba-swat.
1495 * Mon Feb 27 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.3a-6mdk
1496 - Fixed pam_smbpass compiling problem. (-- Ilia Chipitsine)
1497 - moved /var/cache/samba from server to common as it's used by client too.
1498 - symlinked smbwrapper.so back to /usr/bin to fix smbsh pb. (-- Alexander Skwar)
1499 - added %_post/preun_service macro for smb & winbind.
1501 * Fri Feb 22 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.3a-5mdk
1502 - added cli_spoolss_notify patch to prevent smbd dying when a printer
1503 is opened from Win2k. (-- Gerald Carter)
1505 * Mon Feb 18 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.3a-4mdk
1506 - fixed the chkconfig --reset when upgrading form previos version.
1507 - added correct LDAP schema in example section.
1509 * Fri Feb 08 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.3a-3mdk
1510 - _Really_ suid back smbumount; OK, you can laugh now...
1512 * Fri Feb 08 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.3a-2mdk
1513 - suid back smbumount.
1515 * Thu Feb 07 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.3a-1mdk
1516 - upped to 2.2.3a bugfix version.
1517 - removed suid on smb(u)mount, suid smbmnt instead.
1519 * Mon Feb 04 2002 Buchan Milne <bgmilne@cae.co.za> 2.2.3-2mdk
1520 - Added --without xxx support for all the --with xxx command-
1521 line options. Now also detects (and warns) when built
1522 for non-default distro.
1523 - Fix %post -n samba-winbind
1525 * Mon Feb 04 2002 Buchan Milne <bgmilne@cae.co.za> 2.2.3-1mdk
1526 - Samba-2.2.3. Disabled patches 6,18,19, which should have been
1527 applied in samba CVS.
1529 * Sun Feb 03 2002 Buchan Milne <bgmilne@cae.co.za> 2.2.2-10mdk
1530 - Reenable patches 6 and 19 (applied in CVS, but this is 2.2.2!)
1531 - Added option to use --with xxx when building, options so far
1532 for mdk72, mdk80, mdk81, mdk82, cooker, ldap, winbind, wins, acl
1533 - Put warning text in %description if the RPM was built with
1536 * Mon Jan 21 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-9mdk
1537 - Fixed %post scripts here and there.
1538 - samba-common %post scriptlet is now clean (-- thanks Zytho).
1540 * Mon Jan 21 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-8mdk
1541 - rebuilt on cooker.
1542 - please test extensively this package,
1543 but consider our target _is_ 2.2.3.
1545 * Thu Jan 17 2002 Buchan Milne <bgmilne@cae.co.za> 2.2.2-7mdk
1546 - Make a 2.2.2 package for the changes in 2.2.3:
1547 - reenable XFS quota patch, turned off ldap
1549 * Thu Jan 17 2002 Buchan Milne <bgmilne@cae.co.za> 2.2.3-0.20020117mdk
1550 - New scripts for winbind from 3.0alpha spec file
1552 * Wed Jan 16 2002 Buchan Milne <bgmilne@cae.co.za> 2.2.3-0.20020116mdk
1553 - Updated CVS snapshot
1555 * Sun Dec 23 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.3-0.20011222mdk
1557 - Sync up with changes made in 2.2.2 to support Mandrake 8.0, 7.2
1558 - Added new subpackage for swat
1559 - More %if's for ldap.
1561 * Thu Dec 06 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.3-0.20011205mdk
1562 - Build from CVS snapshot of SAMBA_2_2 to test XFS quotas
1563 - Removed XFS quota patch (applied upstream)
1565 * Wed Dec 05 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-6mdk
1566 - fixed typo in system-auth-winbind.pamd (--Thanks J. Gluck).
1567 - fixed %post xxx problem (smb not started in chkconfig --Thanks Viet & B. Kenworthy).
1569 * Fri Nov 23 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-5mdk
1570 - Had to remove the network recycle bin patch: it seems to mess up
1571 file deletion from windows (files appear to be "already in use")
1573 * Tue Nov 13 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-4mdk
1574 - added network recycle bin patch:
1575 <http://www.amherst.edu/~bbstone/howto/samba.html>
1576 - added "recycle bin = .recycled" parameter in smb.conf [homes].
1577 - fixed winbind/nss_wins perms (oh no I don't own that stuff ;o)
1579 * Mon Nov 12 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-3mdk
1580 - added %build 8.0 and 7.2, for tweakers to play around.
1581 - changed configure options:
1582 . removed --with-mmap, --with-netatalk (obsolete).
1583 . added --with-msdfs, --with-vfs (seems stable, but still need testing).
1585 * Mon Nov 12 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-2mdk
1586 - rebuilt with winbind and nss_wins enabled.
1588 * Wed Oct 31 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-1mdk
1589 - Rebuilt on cooker.
1591 * Wed Oct 31 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.992mdk
1592 - Patch for smb.conf to fix incorrect lpq command, typo in winbind,
1593 and add sample linpopup command. Added print driver directories.
1594 - New XFS quota patch (untested!, samba runs, but do quotas work? We
1595 can't check yet since the kernel doesn't seem to support XFS quotas!)
1597 * Fri Oct 19 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.2-0.99mdk
1598 - New samba.spec, almost ready for winbind operations. OLA for Buchan Milne
1599 Who did a tremendous integration work on 2.2.2.
1600 Rebuild on cooker, please test XFS (ACLs and quotas) again...
1602 * Mon Oct 15 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.9mdk
1603 - Samba-2.2.2. released! Use %defines to determine which subpackages
1604 are built and which Mandrake release we are buiding on/for (hint: define
1605 build_mdk81 1 for Mandrake 8.1 updates)
1607 * Sun Oct 14 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011014mdk
1608 - %post and %postun for nss_wins
1610 * Wed Oct 10 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011010mdk
1611 - New CVS snapshot, /etc/pam.d/system-auth-winbind added
1612 with configuration to allow easy winbind setup.
1614 * Sun Oct 7 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011007mdk
1615 - Added new package nss_wins and moved smbpasswd to common (required by
1618 * Sat Oct 6 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011006mdk
1619 - Added new package winbind.
1621 * Mon Oct 1 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20011001mdk
1622 - Removed patch to smb init.d file (applied in cvs)
1624 * Sun Sep 30 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20010930mdk
1625 - Added winbind init script, which still needs to check for running nmbd.
1627 * Thu Sep 27 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.2-0.20010927mdk
1628 - Built from samba-2.2.2-pre cvs, added winbindd, wbinfo, nss_winbind and
1629 pam_winbind, moved pam_smbpass from samba-common to samba. We still
1630 need a start-up script for winbind, or need to modify existing one.
1632 * Mon Sep 10 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-15mdk
1633 - Enabled acl support (XFS acls now supported by kernel-2.4.8-21mdk thx Chmou)
1634 Added smbd patch to support XFS quota (Nathan Scott)
1636 * Mon Sep 10 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-14mdk
1637 - Oops! smbpasswd created in wrong directory...
1639 * Tue Sep 06 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-13mdk
1640 - Removed a wrong comment in smb.conf.
1641 Added creation of smbpasswd during install.
1643 * Mon Aug 27 2001 Pixel <pixel@mandrakesoft.com> 2.2.1a-12mdk
1644 - really less verbose %%post
1646 * Sat Aug 25 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.2.1a-11mdk
1647 - Fix shared libs in /usr/bin silliness.
1649 * Thu Aug 23 2001 Pixel <pixel@mandrakesoft.com> 2.2.1a-10mdk
1650 - less verbose %%post
1652 * Wed Aug 22 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1a-9mdk
1653 - Added smbcacls (missing in %files), modification to smb.conf: ([printers]
1654 is still needed, even with point-and-print!, user add script should
1655 use name and not gid, since we may not get the gid . New script for
1656 putting manpages in place (still need to be added in %files!). Moved
1657 smbcontrol to sbin and added it and its man page to %files.
1659 * Wed Aug 22 2001 Pixel <pixel@mandrakesoft.com> 2.2.1a-8mdk
1660 - cleanup /var/lib/samba/codepage/src
1662 * Tue Aug 21 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-7mdk
1663 - moved codepage generation to %install and codepage dir to /var/lib/samba
1665 * Tue Aug 21 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-6mdk
1666 - /lib/* was in both samba and samba-common
1667 Introducing samba-doc: "alas, for the sake of thy modem, shalt thou remember
1668 when Samba was under the Megabyte..."
1670 * Fri Aug 03 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-5mdk
1671 - Added "the gc touch" to smbinit through the use of killall -0 instead of
1672 grep cupsd | grep -v grep (too many greps :o)
1674 * Wed Jul 18 2001 Stefan van der Eijk <stefan@eijk.nu> 2.2.1a-4mdk
1675 - BuildRequires: libcups-devel
1676 - Removed BuildRequires: openssl-devel
1678 * Fri Jul 13 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1a-3mdk
1679 - replace chkconfig --add/del with --level 35 on/reset.
1681 * Fri Jul 13 2001 Geoffrey Lee <snailtalk@mandrakesoft.cm> 2.2.1a-2mdk
1682 - Replace discription s/inetd/xinetd/, we all love xinetd, blah.
1684 * Thu Jul 12 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1a-1mdk
1685 - Bugfix release. Fixed add user script, added print$ share and printer admin
1686 We need to test interaction of new print support with CUPS, but printer
1687 driver uploads should work.
1689 * Wed Jul 11 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-17mdk
1690 - fixed smb.conf a bit, rebuilt on cooker.
1692 * Tue Jul 10 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1-16mdk
1693 - Finally, samba 2.2.1 has actually been release. At least we were ready!
1694 Cleaned up smb.conf, and added some useful entries for domain controlling.
1695 Migrated changes made in samba's samba2.spec for 2.2.1 to this file.
1696 Added groupadd command in post to create a group for samba machine accounts.
1697 (We should still check the postun, samba removes pam, logs and cache)
1699 * Tue Jun 26 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-15mdk
1700 - fixed smbwrapper compile options.
1702 * Tue Jun 26 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-14mdk
1703 - added LFS support.
1704 added smbwrapper support (smbsh)
1706 * Wed Jun 20 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-13mdk
1707 - /sbin/mount.smb and /sbin/mount.smbfs now point to the correct location
1708 of smbmount (/usr/bin/smbmount)
1710 * Tue Jun 19 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-12mdk
1711 - smbmount and smbumount are now in /usr/bin and SUID.
1712 added ||: to triggerpostun son you don't get error 1 anymore when rpm -e
1713 Checked the .bz2 sources with file *: everything is OK now (I'm so stupid ;o)!
1715 * Tue Jun 19 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.2.1-11mdk
1716 - s/Copyright/License/;
1717 - Stop Sylvester from pretending .gz source to be .bz2 source via filename
1718 aka really bzip2 the source.
1720 * Mon Jun 18 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-10mdk
1721 - changed Till's startup script modifications: now samba is being reloaded
1722 automatically 1 minute after it has started (same reasons as below in 9mdk)
1723 added _post_ and _preun_ for service smb
1724 fixed creation of /var/lib/samba/{netlogon,profiles} (%dir was missing)
1726 * Thu Jun 14 2001 Till Kamppeter <till@mandrakesoft.com> 2.2.1-9mdk
1727 - Modified the Samba startup script so that in case of CUPS being used as
1728 printing system Samba only starts when the CUPS daemon is ready to accept
1729 requests. Otherwise the CUPS queues would not appear as Samba shares.
1731 * Mon Jun 11 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-8mdk
1732 - patched smbmount.c to have it call smbmnt in sbin (thanks Seb).
1734 * Wed May 30 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-7mdk
1735 - put SWAT menu icons back in place.
1737 * Mon May 28 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-6mdk
1738 - OOPS! fixed smbmount symlinks
1740 * Mon May 28 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-5mdk
1741 - removed inetd postun script, replaced with xinetd.
1742 updated binary list (smbcacls...)
1745 * Mon May 28 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1-4mdk
1746 - Changed configure options to point to correct log and codepage directories,
1747 added crude script to fix logrotate file for new log file names, updated
1748 patches to work with current CVS.
1750 * Thu May 24 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-3mdk
1751 - Cleaned and updated the %files section.
1753 * Sat May 19 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.1-2mdk
1754 - Moved all samba files from /etc to /etc/samba (Thanks DomS!).
1755 Fixed fixinit patch (/etc/samba/smb.conf)
1757 * Fri May 18 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.1-1mdk
1758 - Now use packaging/Mandrake/smb.conf, removed unused and obsolete
1759 patches, moved netlogon and profile shares to /var/lib/samba in the
1760 smb.conf to match the spec file. Added configuration for ntlogon to
1761 smb.conf. Removed pam-foo, fixinit and makefilepath patches. Removed
1762 symlink I introduced in 2.2.0-1mdk
1764 * Thu May 3 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.0-5mdk
1765 - Added more configure options. Changed Description field (thx John T).
1767 * Wed Apr 25 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.0-4mdk
1768 - moved netlogon and profiles to /var/lib/samba by popular demand ;o)
1770 * Tue Apr 24 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.0-3mdk
1771 - moved netlogon and profiles back to /home.
1773 * Fri Apr 20 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.2.0-2mdk
1774 - fixed post inetd/xinetd script&
1776 * Thu Apr 19 2001 Buchan Milne <bgmilne@cae.co.za> 2.2.0-1mdk
1777 - Upgrade to 2.2.0. Merged most of 2.0.7-25mdk's patches (beware
1778 nasty "ln -sf samba-%{ver} ../samba-2.0.7" hack to force some patches
1779 to take. smbadduser and addtosmbpass seem to have disappeared. Moved
1780 all Mandrake-specific files to packaging/Mandrake and made patches
1781 from those shipped with samba. Moved netlogon to /home/samba and added
1782 /home/samba/profiles. Added winbind,smbfilter and debug2html to make command.
1784 * Thu Apr 12 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.7-25mdk
1785 - Fix menu entry and provide separate menu entry for GNOME
1786 (nautilus doesn't support HTTP authentication yet)
1787 - Add icons in package
1789 * Fri Mar 30 2001 Frederic Lepied <flepied@mandrakesoft.com> 2.0.7-24mdk
1790 - use new server macros
1792 * Wed Mar 21 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-23mdk
1793 - check whether /etc/inetd.conf exists (upgrade) or not (fresh install).
1795 * Thu Mar 15 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-22mdk
1796 - spec cosmetics, added '-r' option to lpr-cups command line so files are
1797 removed from /var/spool/samba after printing.
1799 * Tue Mar 06 2001 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-21mdk
1800 - merged last rh patches.
1802 * Thu Nov 23 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-20mdk
1803 - removed dependencies on cups and cups-devel so one can install samba without using cups
1804 - added /home/netlogon
1806 * Mon Nov 20 2000 Till Kamppeter <till@mandrakesoft.com> 2.0.7-19mdk
1807 - Changed default print command in /etc/smb.conf, so that the Windows
1808 driver of the printer has to be used on the client.
1809 - Fixed bug in smbspool which prevented from printing from a
1810 Linux-Samba-CUPS client to a Windows server through the guest account.
1812 * Mon Oct 16 2000 Till Kamppeter <till@mandrakesoft.com> 2.0.7-18mdk
1813 - Moved "smbspool" (Samba client of CUPS) to the samba-client package
1815 * Sat Oct 7 2000 Stefan van der Eijk <s.vandereijk@chello.nl> 2.0.7-17mdk
1816 - Added RedHat's "quota" patch to samba-glibc21.patch.bz2, this fixes
1817 quota related compile problems on the alpha.
1819 * Wed Oct 4 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-16mdk
1820 - Fixed 'guest ok = ok' flag in smb.conf
1822 * Tue Oct 3 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-15mdk
1823 - Allowed guest account to print in smb.conf
1824 - added swat icon in menu
1826 * Tue Oct 3 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-14mdk
1827 - Removed rh ssl patch and --with-ssl flag: not appropriate for 7.2
1829 * Tue Oct 3 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-13mdk
1830 - Changed fixinit patch.
1831 - Changed smb.conf for better CUPS configuration.
1832 - Thanks Fred for doing this ---vvv.
1834 * Tue Oct 3 2000 Frederic Lepied <flepied@mandrakesoft.com> 2.0.7-12mdk
1835 - menu entry for web configuration tool.
1836 - merge with rh: xinetd + ssl + pam_stack.
1837 - Added smbadduser rh-bugfix w/o relocation of config-files.
1839 * Mon Oct 2 2000 Frederic Lepied <flepied@mandrakesoft.com> 2.0.7-11mdk
1840 - added build requires on cups-devel and pam-devel.
1842 * Mon Oct 2 2000 Till Kamppeter <till@mandrakesoft.com> 2.0.7-10mdk
1843 - Fixed smb.conf entry for CUPS: "printcap name = lpstat", "lpstats" was
1846 * Mon Sep 25 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-9mdk
1847 - Cosmetic changes to make rpmlint more happy
1849 * Wed Sep 11 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-8mdk
1850 - added linkage to the using_samba book in swat
1852 * Fri Sep 01 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-7mdk
1853 - Added CUPS support to smb.conf
1854 - Added internationalization options to smb.conf [Global]
1856 * Wed Aug 30 2000 Till Kamppeter <till@mandrakesoft.com> 2.0.7-6mdk
1857 - Put "smbspool" to the files to install
1859 * Wed Aug 30 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-5mdk
1860 - Did some cleaning in the patches
1862 * Fri Jul 28 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-4mdk
1863 - relocated man pages from /usr/man to /usr/share/man for compatibility reasons
1865 * Fri Jul 28 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-3mdk
1866 - added make_unicodemap and build of unicode_map.$i in the spec file
1868 * Fri Jul 28 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-2mdk
1869 - renamed /etc/codepage/codepage.$i into /etc/codepage/unicode_map.$i to fix smbmount bug.
1871 * Fri Jul 07 2000 Sylvestre Taburet <staburet@mandrakesoft.com> 2.0.7-1mdk
1874 * Wed Apr 05 2000 Francis Galiegue <fg@mandrakesoft.com> 2.0.6-4mdk
1876 - Titi sucks, does not put versions in changelog
1877 - Fixed groups for -common and -client
1878 - /usr/sbin/samba is no config file
1880 * Thu Mar 23 2000 Thierry Vignaud <tvignaud@mandrakesoft.com>
1881 - fix buggy post install script (pixel)
1883 * Fri Mar 17 2000 Francis Galiegue <francis@mandrakesoft.com> 2.0.6-2mdk
1885 - Changed group according to 7.1 specs
1886 - Some spec file changes
1887 - Let spec-helper do its job
1889 * Thu Nov 25 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
1892 * Tue Nov 2 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
1893 - Merge with rh changes.
1894 - Split in 3 packages.
1896 * Fri Aug 13 1999 Pablo Saratxaga <pablo@@mandrakesoft.com>
1897 - corrected a bug with %post (the $1 parameter is "1" in case of
1898 a first install, not "0". That parameter is the number of packages
1899 of the same name that will exist after running all the steps if nothing
1900 is removed; so it is "1" after first isntall, "2" for a second install
1901 or an upgrade, and "0" for a removal)
1903 * Wed Jul 28 1999 Pablo Saratxaga <pablo@@mandrakesoft.com>
1904 - made smbmnt and smbumount suid root, and only executable by group 'smb'
1905 add to 'smb' group any user that should be allowed to mount/unmount
1906 SMB shared directories
1908 * Fri Jul 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
1909 - 2.0.5a (bug security fix).
1911 * Wed Jul 21 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
1913 - cs/da/de/fi/fr/it/tr descriptions/summaries
1915 * Sun Jun 13 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com>
1917 - recompile on a system that works ;)
1919 * Wed Apr 21 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
1920 - Mandrake adaptations.
1923 * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
1924 - add a mount.smb to make smb mounting a little easier.
1925 - smb filesystems apparently do not work on alpha. Oops.
1927 * Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
1928 - always create codepages
1930 * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
1933 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
1934 - auto rebuild in the new build environment (release 3)
1936 * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
1937 - updated init script to use graceful restart (not stop/start)
1939 * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
1942 * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
1945 * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
1948 * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
1949 - fix bash2 breakage in post script
1951 * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
1954 * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
1955 - make sure all binaries are stripped
1957 * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
1958 - update to 1.9.18p10.
1959 - fix %triggerpostun.
1961 * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
1962 - updated postun triggerscript to check $0
1963 - clear /etc/codepages from %preun instead of %postun
1965 * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
1966 - made the %postun script a tad less agressive; no reason to remove
1967 the logs or lock file (after all, if the lock file is still there,
1968 samba is still running)
1969 - the %postun and %preun should only exectute if this is the final
1971 - migrated %triggerpostun from Red Hat's samba package to work around
1972 packaging problems in some Red Hat samba releases
1974 * Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
1975 - minor tidy up in preparation for release of 1.9.18p5
1976 - added findsmb utility from SGI package
1978 * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
1979 - Updated version and codepage info.
1980 - Release to test name resolve order
1982 * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
1983 - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
1984 - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
1985 - Compounded make line
1986 - Updated smb.init restart mechanism
1987 - Use compound mkdir -p line instead of individual calls to mkdir
1988 - Fixed smb.conf file path for log files
1989 - Fixed smb.conf file path for incoming smb print spool directory
1990 - Added a number of options to smb.conf file
1991 - Added smbadduser command (missed from all previous RPMs) - Doooh!
1992 - Added smbuser file and smb.conf file updates for username map