cvsdist 1a06c83
%define initdir /etc/rc.d/init.d
cvsdist 1a06c83
%define auth %(test -f /etc/pam.d/system-auth && echo /etc/pam.d/system-auth || echo)
cvsdist 1a06c83
cvsdist 1a06c83
Summary: Samba SMB server.
cvsdist 1a06c83
Name: samba
cvsdist 9513474
Version: 2.0.10
cvsdist 9513474
Release: 1
cvsdist 9513474
License: GNU GPL Version 2
cvsdist 1a06c83
Group: System Environment/Daemons
cvsdist ae7478c
URL: http://www.samba.org/
cvsdist f526f1b
Source: ftp://us2.samba.org/pub/samba/samba-%{version}.tar.gz
cvsdist 1a06c83
Source1: samba.log
cvsdist 1a06c83
Source2: samba.xinetd
cvsdist 9513474
Patch100: samba-2.0.10-j.patch
cvsdist ae7478c
# For some reason this won't apply as part of the -j patch
cvsdist ae7478c
Patch111: ookpatch
cvsdist ae7478c
Patch200: samba-j-2.patch.bz2
cvsdist ae7478c
Patch1: samba-makefilepath.patch
cvsdist ae7478c
Patch2: smbw.patch
cvsdist ae7478c
Patch3: samba-glibc21.patch
cvsdist ae7478c
Patch4: samba-2.0.7-fixinit.patch
cvsdist ae7478c
Patch5: samba-autoconf.patch
cvsdist ae7478c
Patch6: samba-2.0.5a-gawk.patch
cvsdist ae7478c
Patch7: samba-smbprint.patch
cvsdist ae7478c
Patch8: samba-logrotate.patch
cvsdist ae7478c
Patch9: samba-ia64.patch
cvsdist ae7478c
Patch10: samba-2.0.7-system-auth.patch
cvsdist ae7478c
Patch11: samba-2.0.7-smb.conf.rh.patch
cvsdist ae7478c
Patch12: samba-2.0.7-nocups.patch
cvsdist ae7478c
Patch13: samba-2.0.7-smbadduser.patch
cvsdist ae7478c
Patch14: samba-2.0.7-krb5-1.2.patch
cvsdist ae7478c
Patch15: samba-2.0.7-ssl.patch
cvsdist ae7478c
Patch16: samba-2.0.7-buildroot.patch
cvsdist ae7478c
Patch17: samba-2.0.7-smbpasswd-manpage.patch
cvsdist ae7478c
Patch18: samba-2.0.7-pam-foo.patch
cvsdist ae7478c
Patch19: smbmount-2.0.7-ascii+fixes.patch
cvsdist ae7478c
Patch20: samba-mkdir.patch
cvsdist ae7478c
Patch21: samba-2.0.7-setcred.patch
cvsdist ae7478c
Patch22: samba-2.0.7-quota.patch
cvsdist 1a06c83
Requires: pam >= 0.64 %{auth} samba-common = %{version} 
cvsdist f526f1b
Requires: logrotate >= 3.4 initscripts >= 5.54-1
cvsdist ae7478c
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist ae7478c
ExcludeArch: sparc
cvsdist 1a06c83
Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
cvsdist 1a06c83
Prereq: fileutils sed /etc/init.d 
cvsdist 1a06c83
cvsdist 1a06c83
%description
cvsdist 1a06c83
Samba provides an SMB server which can be used to provide network
cvsdist 1a06c83
services to SMB (sometimes called "Lan Manager") clients, including
cvsdist 1a06c83
various versions of MS Windows, OS/2, and other Linux machines. Samba
cvsdist 1a06c83
uses NetBIOS over TCP/IP (NetBT) protocols and does NOT need NetBEUI
cvsdist 1a06c83
(Microsoft Raw NetBIOS frame) protocol.
cvsdist 1a06c83
cvsdist 1a06c83
Samba-2 features an almost working NT Domain Control capability and
cvsdist 1a06c83
includes the new SWAT (Samba Web Administration Tool) that allows
cvsdist 1a06c83
samba's smb.conf file to be remotely managed using your favourite web
cvsdist 1a06c83
browser. For the time being this is being enabled on TCP port 901 via
cvsdist 1a06c83
xinetd.
cvsdist 1a06c83
cvsdist 1a06c83
Please refer to the WHATSNEW.txt document for fixup information.  This
cvsdist 1a06c83
binary release includes encrypted password support.  Please read the
cvsdist 1a06c83
smb.conf file and ENCRYPTION.txt in the docs directory for
cvsdist 1a06c83
implementation details.
cvsdist 1a06c83
cvsdist 1a06c83
NOTE: Red Hat Linux 5.X Uses PAM which has integrated support for
cvsdist 1a06c83
Shadow passwords. Do NOT recompile with the SHADOW_PWD option
cvsdist 1a06c83
enabled. Red Hat Linux has built in support for quotas in PAM.
cvsdist 1a06c83
cvsdist 1a06c83
%package client
cvsdist 1a06c83
Summary: Samba (SMB) client programs.
cvsdist 1a06c83
Group: Applications/System
cvsdist 1a06c83
Requires: samba-common = %{version}
cvsdist 1a06c83
Obsoletes: smbfs
cvsdist 1a06c83
cvsdist 1a06c83
%description client
cvsdist 1a06c83
The samba-client package provides some SMB clients to complement the
cvsdist 1a06c83
built-in SMB filesystem in Linux. These clients allow access of SMB
cvsdist 1a06c83
shares and printing to SMB printers.
cvsdist 1a06c83
cvsdist 1a06c83
%package common
cvsdist 1a06c83
Summary: Files used by both Samba servers and clients.
cvsdist 1a06c83
Group: Applications/System
cvsdist 1a06c83
cvsdist 1a06c83
%description common
cvsdist 1a06c83
Samba-common provides files necessary for both the server and client
cvsdist 1a06c83
packages of Samba.
cvsdist 1a06c83
cvsdist ae7478c
%package swat
cvsdist 9513474
Summary: The Samba SMB server configuration program.
cvsdist ae7478c
Group: Applications/System
cvsdist ae7478c
Requires: samba = %{version} xinetd
cvsdist ae7478c
cvsdist ae7478c
%description swat
cvsdist ae7478c
The samba-swat package includes the new SWAT (Samba Web
cvsdist ae7478c
Administration Tool), for remotely managing Samba's smb.conf file
cvsdist ae7478c
using your favorite web browser.
cvsdist ae7478c
cvsdist ae7478c
cvsdist 1a06c83
%prep
cvsdist 1f1dfdc
%setup -q
cvsdist ae7478c
%patch100 -p1 -b .j
cvsdist ae7478c
%patch111 -p1
cvsdist ae7478c
%patch200 -p1 -b .j-2
cvsdist ae7478c
%patch1 -p1 -b .makefile
cvsdist ae7478c
%patch2 -p1 -b .smbw
cvsdist ae7478c
%patch3 -p1 -b .glibc21
cvsdist ae7478c
%patch4 -p1 -b .fixinit
cvsdist ae7478c
%patch5 -p1 -b .autoconf
cvsdist ae7478c
%patch6 -p1 -b .gawk
cvsdist ae7478c
%patch7 -p1 -b .smbprint
cvsdist ae7478c
%patch8 -p1 -b .logrotate
cvsdist ae7478c
%patch9 -p1 -b .ia64
cvsdist ae7478c
%patch10 -p1 -b .system-auth
cvsdist ae7478c
%patch11 -p1 -b .rh
cvsdist ae7478c
%patch12 -p1 -b .nocups
cvsdist ae7478c
%patch13 -p1 -b .smbadduser
cvsdist ae7478c
%patch14 -p1 -b .krb5-1.2
cvsdist ae7478c
%patch15 -p1 -b .ssl
cvsdist ae7478c
%patch16 -p1 -b .buildroot
cvsdist ae7478c
%patch17 -p1 -b .manpage
cvsdist ae7478c
%patch18 -p1 -b .pam-foo
cvsdist ae7478c
%patch19 -p1 -b .urban
cvsdist ae7478c
%patch20 -p0 -b .mkdir
cvsdist ae7478c
%patch21 -p1 -b .setcred
cvsdist ae7478c
%patch22 -p1 -b .quota
cvsdist 1a06c83
cvsdist 1a06c83
%build
cvsdist 1a06c83
cd source
cvsdist 1a06c83
autoconf
cvsdist ae7478c
%ifarch i386 sparc
cvsdist ae7478c
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
cvsdist ae7478c
%endif
cvsdist 1a06c83
%configure --libdir=/etc/samba \
cvsdist 1a06c83
  --with-lockdir=/var/lock/samba --with-privatedir=/etc/samba \
cvsdist 1a06c83
  --with-swatdir=/usr/share/swat --with-smbmount --with-automount \
cvsdist f526f1b
  --with-pam --with-mmap --with-quotas --without-smbwrapper
cvsdist 1a06c83
make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" all
cvsdist 1a06c83
cvsdist 1a06c83
%install
cvsdist 1a06c83
rm -rf $RPM_BUILD_ROOT
cvsdist 1a06c83
cvsdist 1a06c83
cd source
cvsdist 1a06c83
cvsdist 1a06c83
mkdir -p $RPM_BUILD_ROOT/sbin
cvsdist 1a06c83
mkdir -p $RPM_BUILD_ROOT/usr/{sbin,bin}
cvsdist 1a06c83
mkdir -p $RPM_BUILD_ROOT%{initdir}
cvsdist 1a06c83
mkdir -p $RPM_BUILD_ROOT/etc/{pam.d,logrotate.d}
cvsdist 1a06c83
mkdir -p $RPM_BUILD_ROOT/var/{lock,log,spool}/samba
cvsdist 1a06c83
mkdir -p $RPM_BUILD_ROOT/usr/share/swat/using_samba
cvsdist 1a06c83
cvsdist 1a06c83
%makeinstall \
cvsdist 1a06c83
       BINDIR=$RPM_BUILD_ROOT%{_bindir} \
cvsdist 1a06c83
       BASEDIR=$RPM_BUILD_ROOT%{_prefix} \
cvsdist 1a06c83
       SBINDIR=$RPM_BUILD_ROOT%{_sbindir} \
cvsdist 1a06c83
       LOCKDIR=$RPM_BUILD_ROOT/var/lock/samba \
cvsdist 1a06c83
       PRIVATEDIR=$RPM_BUILD_ROOT/etc/samba \
cvsdist 1a06c83
       LIBDIR=$RPM_BUILD_ROOT/etc/samba \
cvsdist 1a06c83
       MANDIR=$RPM_BUILD_ROOT%{_mandir} \
cvsdist 1a06c83
       VARDIR=$RPM_BUILD_ROOT/var/log/samba \
cvsdist 1a06c83
       SWATDIR=$RPM_BUILD_ROOT/usr/share/swat \
cvsdist 1a06c83
       SAMBABOOK=$RPM_BUILD_ROOT/usr/share/swat/using_samba \
cvsdist 1a06c83
       install
cvsdist 1a06c83
cvsdist 1a06c83
cd ..
cvsdist 1a06c83
cvsdist 1a06c83
# Install other stuff
cvsdist 1a06c83
install -m644 packaging/RedHat/smb.conf $RPM_BUILD_ROOT/etc/samba/smb.conf
cvsdist 1a06c83
install -m755 source/script/mksmbpasswd.sh $RPM_BUILD_ROOT/usr/bin
cvsdist 1a06c83
install -m644 packaging/RedHat/smbusers $RPM_BUILD_ROOT/etc/samba/smbusers
cvsdist 1a06c83
install -m755 packaging/RedHat/smbprint $RPM_BUILD_ROOT%{_bindir}
cvsdist 1a06c83
install -m755 packaging/RedHat/smbadduser $RPM_BUILD_ROOT%{_bindir}
cvsdist 1a06c83
install -m755 packaging/RedHat/findsmb $RPM_BUILD_ROOT%{_bindir}
cvsdist 1a06c83
install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT%{initdir}/smb
cvsdist 1a06c83
install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT%{_sbindir}/samba
cvsdist 1a06c83
install -m644 packaging/RedHat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba
cvsdist 1a06c83
install -m644 $RPM_SOURCE_DIR/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba
cvsdist 6d54b25
ln -s ../%{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smb
cvsdist 6d54b25
ln -s ../%{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
cvsdist 1a06c83
echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/samba/lmhosts
cvsdist 1a06c83
cvsdist 1a06c83
mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
cvsdist 1a06c83
install -m644 %{SOURCE2} $RPM_BUILD_ROOT/etc/xinetd.d/swat
cvsdist 1a06c83
cvsdist 1a06c83
mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/System
cvsdist 1a06c83
cat > $RPM_BUILD_ROOT/etc/X11/applnk/System/swat.desktop <
cvsdist 1a06c83
[Desktop Entry]
cvsdist 1a06c83
Name=Samba Configuration
cvsdist 1a06c83
Type=Application
cvsdist 1a06c83
Comment=The Swat Samba Administration Tool
cvsdist 1f1dfdc
Exec=netscape http://127.0.0.1:901/
cvsdist 1a06c83
Terminal=false
cvsdist 1a06c83
EOF
cvsdist 1a06c83
cvsdist ae7478c
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
cvsdist ae7478c
cat > $RPM_BUILD_ROOT/etc/sysconfig/samba <
cvsdist ae7478c
# Options to smbd
cvsdist ae7478c
SMBDOPTIONS="-D"
cvsdist ae7478c
# Options to nmbd
cvsdist ae7478c
NMBDOPTIONS="-D"
cvsdist ae7478c
EOF
cvsdist ae7478c
cvsdist 1a06c83
# remove this or it ends up in %doc
cvsdist 1a06c83
rm -rf docs/htmldocs/using_samba
cvsdist 1a06c83
cvsdist 1a06c83
%clean
cvsdist 1a06c83
rm -rf $RPM_BUILD_ROOT
cvsdist 1a06c83
cvsdist 1a06c83
%post
cvsdist 1a06c83
/sbin/chkconfig --add smb
cvsdist 1a06c83
cvsdist 1a06c83
%preun
cvsdist 1a06c83
if [ $1 = 0 ] ; then
cvsdist 1a06c83
    /sbin/chkconfig --del smb
cvsdist 1a06c83
    rm -rf /var/log/samba/* /var/lock/samba/*
cvsdist 1a06c83
    %{initdir}/smb stop >/dev/null 2>&1
cvsdist 1a06c83
fi
cvsdist ae7478c
exit 0
cvsdist 1a06c83
cvsdist 1a06c83
%postun
cvsdist 1a06c83
if [ "$1" -ge "1" ]; then
cvsdist 1a06c83
	%{initdir}/smb condrestart >/dev/null 2>&1
cvsdist 1a06c83
fi	
cvsdist 1a06c83
cvsdist 1a06c83
%triggerpostun -- samba < 1.9.18p7
cvsdist 1a06c83
if [ $1 != 0 ]; then
cvsdist 1a06c83
    /sbin/chkconfig --add smb
cvsdist 1a06c83
fi
cvsdist 1a06c83
cvsdist 1a06c83
%triggerpostun -- samba < 2.0.5a-3
cvsdist 1a06c83
if [ $1 != 0 ]; then
cvsdist 1a06c83
    [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
cvsdist 1a06c83
    [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
cvsdist ae7478c
    chmod 644 /etc/services
cvsdist ae7478c
    [ -f /etc/inetd.conf ] && chmod 644 /etc/inetd.conf
cvsdist 1a06c83
fi
cvsdist 1a06c83
cvsdist 1a06c83
%files
cvsdist 1a06c83
%defattr(-,root,root)
cvsdist 1a06c83
%doc README COPYING Manifest Read-Manifest-Now
cvsdist 1a06c83
%doc WHATSNEW.txt Roadmap
cvsdist 1a06c83
%doc docs
cvsdist 1a06c83
%doc examples
cvsdist 1a06c83
%{_sbindir}/smbd
cvsdist 1a06c83
%{_sbindir}/nmbd
cvsdist 1a06c83
%{_bindir}/addtosmbpass
cvsdist 1a06c83
%{_bindir}/mksmbpasswd.sh
cvsdist 1a06c83
%{_bindir}/smbstatus
cvsdist 1a06c83
%{_bindir}/smbpasswd
cvsdist 1a06c83
%{_bindir}/convert_smbpasswd
cvsdist 1a06c83
%{_bindir}/smbadduser
cvsdist ae7478c
%config(noreplace) /etc/sysconfig/samba
cvsdist 1a06c83
%config(noreplace) /etc/samba/smbusers
cvsdist 1a06c83
%config %{_sbindir}/samba
cvsdist 1a06c83
%attr(755,root,root) %config %{initdir}/smb
cvsdist 1a06c83
%config /etc/logrotate.d/samba
cvsdist 1a06c83
%config /etc/pam.d/samba
cvsdist 1a06c83
%{_mandir}/man1/smbstatus.1*
cvsdist 1a06c83
%{_mandir}/man5/smbpasswd.5*
cvsdist 1a06c83
%{_mandir}/man7/samba.7*
cvsdist 1a06c83
%{_mandir}/man8/smbd.8*
cvsdist 1a06c83
%{_mandir}/man8/nmbd.8*
cvsdist ae7478c
%{_mandir}/ja/man1/smbstatus.1*
cvsdist ae7478c
%{_mandir}/ja/man5/smbpasswd.5*
cvsdist ae7478c
%{_mandir}/ja/man7/samba.7*
cvsdist ae7478c
%{_mandir}/ja/man8/smbd.8*
cvsdist ae7478c
%{_mandir}/ja/man8/nmbd.8*
cvsdist 1a06c83
cvsdist 1a06c83
%dir /var/lock/samba
cvsdist 1a06c83
%attr(0700,root,root)   %dir /var/log/samba
cvsdist 1a06c83
%attr(1777,root,root)	%dir /var/spool/samba
cvsdist 1a06c83
cvsdist ae7478c
%files swat
cvsdist ae7478c
%defattr(-,root,root)
cvsdist ae7478c
/etc/X11/applnk/System/swat.desktop
cvsdist ae7478c
%config(noreplace) /etc/xinetd.d/swat
cvsdist ae7478c
/usr/share/swat
cvsdist ae7478c
%{_sbindir}/swat
cvsdist ae7478c
%{_mandir}/man8/swat.8*
cvsdist ae7478c
%{_mandir}/ja/man8/swat.8*
cvsdist ae7478c
cvsdist 1a06c83
%files client
cvsdist 1a06c83
%defattr(-,root,root)
cvsdist 1a06c83
/sbin/mount.smb
cvsdist 1a06c83
/sbin/mount.smbfs
cvsdist 1a06c83
%{_bindir}/smbmount
cvsdist 1a06c83
%{_bindir}/smbmnt
cvsdist 1a06c83
%{_bindir}/smbumount
cvsdist 1a06c83
%{_mandir}/man8/smbmnt.8*
cvsdist 1a06c83
%{_mandir}/man8/smbmount.8*
cvsdist 1a06c83
%{_mandir}/man8/smbumount.8*
cvsdist 6d54b25
%{_mandir}/man8/smbspool.8*
cvsdist 1a06c83
%{_bindir}/nmblookup
cvsdist 1a06c83
%{_bindir}/findsmb
cvsdist 1a06c83
%{_bindir}/smbclient
cvsdist 1a06c83
%{_bindir}/smbprint
cvsdist 6d54b25
%{_bindir}/smbspool
cvsdist 1a06c83
%{_bindir}/smbtar
cvsdist 1a06c83
%{_mandir}/man1/smbtar.1*
cvsdist 1a06c83
%{_mandir}/man1/smbclient.1*
cvsdist 1a06c83
%{_mandir}/man1/nmblookup.1*
cvsdist ae7478c
%{_mandir}/ja/man1/smbtar.1*
cvsdist ae7478c
%{_mandir}/ja/man1/smbclient.1*
cvsdist ae7478c
%{_mandir}/ja/man1/nmblookup.1*
cvsdist 1a06c83
cvsdist 1a06c83
%files common
cvsdist 1a06c83
%defattr(-,root,root)
cvsdist 1a06c83
%{_bindir}/make_smbcodepage
cvsdist 1a06c83
%{_bindir}/testparm
cvsdist 1a06c83
%{_bindir}/testprns
cvsdist ae7478c
%{_bindir}/smbpasswd
cvsdist 1a06c83
%{_bindir}/make_printerdef
cvsdist 1a06c83
%config(noreplace) /etc/samba/smb.conf
cvsdist 1a06c83
%config(noreplace) /etc/samba/lmhosts
cvsdist 9513474
%dir /etc/samba
cvsdist 1a06c83
%dir /etc/samba/codepages
cvsdist 1a06c83
%config /etc/samba/codepages/*
cvsdist 1a06c83
%{_mandir}/man1/make_smbcodepage.1*
cvsdist 1a06c83
%{_mandir}/man1/testparm.1*
cvsdist 1a06c83
%{_mandir}/man1/testprns.1*
cvsdist 1a06c83
%{_mandir}/man5/smb.conf.5*
cvsdist 1a06c83
%{_mandir}/man5/lmhosts.5*
cvsdist ae7478c
%{_mandir}/man8/smbpasswd.8*
cvsdist ae7478c
%{_mandir}/ja/man1/make_smbcodepage.1*
cvsdist ae7478c
%{_mandir}/ja/man1/testparm.1*
cvsdist ae7478c
%{_mandir}/ja/man1/testprns.1*
cvsdist ae7478c
%{_mandir}/ja/man5/smb.conf.5*
cvsdist ae7478c
%{_mandir}/ja/man5/lmhosts.5*
cvsdist ae7478c
%{_mandir}/ja/man8/smbpasswd.8*
cvsdist 1a06c83
cvsdist 1a06c83
%changelog
cvsdist 9513474
* Sat Jun 23 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 9513474
- 2.0.10 security fix
cvsdist 9513474
- redo the Japanese patch
cvsdist 9513474
- remove now included tempfile fix
cvsdist 9513474
cvsdist f526f1b
* Mon May  7 2001 Bill Nottingham <notting@redhat.com>
cvsdist f526f1b
- device-remove security fix again (<tridge@samba.org>)
cvsdist f526f1b
cvsdist f526f1b
* Fri Apr 20 2001 Bill Nottingham <notting@redhat.com>
cvsdist f526f1b
- fix tempfile security problems, officially (<tridge@samba.org>)
cvsdist f526f1b
- update to 2.0.8
cvsdist f526f1b
cvsdist f526f1b
* Sun Apr  8 2001 Bill Nottingham <notting@redhat.com>
cvsdist f526f1b
- turn of SSL, kerberos
cvsdist f526f1b
cvsdist ae7478c
* Thu Apr  5 2001 Bill Nottingham <notting@redhat.com>
cvsdist ae7478c
- fix tempfile security problems (patch from <Marcus.Meissner@caldera.de>)
cvsdist ae7478c
cvsdist ae7478c
* Thu Mar 29 2001 Bill Nottingham <notting@redhat.com>
cvsdist ae7478c
- fix quota support, and quotas with the 2.4 kernel (#31362, #33915)
cvsdist ae7478c
cvsdist ae7478c
* Mon Mar 26 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist ae7478c
- tweak the PAM code some more to try to do a setcred() after initgroups()
cvsdist ae7478c
- pull in all of the optflags on i386 and sparc
cvsdist ae7478c
- don't explicitly enable Kerberos support -- it's only used for password
cvsdist ae7478c
  checking, and if PAM is enabled it's a no-op anyway
cvsdist ae7478c
cvsdist ae7478c
* Mon Mar  5 2001 Tim Waugh <twaugh@redhat.com>
cvsdist ae7478c
- exit successfully from preun script (bug #30644).
cvsdist ae7478c
cvsdist ae7478c
* Fri Mar  2 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist ae7478c
- rebuild in new environment
cvsdist ae7478c
cvsdist ae7478c
* Wed Feb 14 2001 Bill Nottingham <notting@redhat.com>
cvsdist ae7478c
- updated japanese stuff (#27683)
cvsdist ae7478c
cvsdist ae7478c
* Fri Feb  9 2001 Bill Nottingham <notting@redhat.com>
cvsdist ae7478c
- fix trigger (#26859)
cvsdist ae7478c
cvsdist ae7478c
* Wed Feb  7 2001 Bill Nottingham <notting@redhat.com>
cvsdist ae7478c
- add i18n support, japanese patch (#26253)
cvsdist ae7478c
cvsdist ae7478c
* Wed Feb  7 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist ae7478c
- i18n improvements in initscript (#26537)
cvsdist ae7478c
cvsdist ae7478c
* Wed Jan 31 2001 Bill Nottingham <notting@redhat.com>
cvsdist ae7478c
- put smbpasswd in samba-common (#25429)
cvsdist ae7478c
cvsdist ae7478c
* Wed Jan 24 2001 Bill Nottingham <notting@redhat.com>
cvsdist ae7478c
- new i18n stuff
cvsdist ae7478c
cvsdist ae7478c
* Sun Jan 21 2001 Bill Nottingham <notting@redhat.com>
cvsdist ae7478c
- rebuild
cvsdist ae7478c
cvsdist ae7478c
* Thu Jan 18 2001 Bill Nottingham <notting@redhat.com>
cvsdist ae7478c
- i18n-ize initscript
cvsdist ae7478c
- add a sysconfig file for daemon options (#23550)
cvsdist ae7478c
- clarify smbpasswd man page (#23370)
cvsdist ae7478c
- build with LFS support (#22388)
cvsdist ae7478c
- avoid extraneous pam error messages (#10666)
cvsdist ae7478c
- add Urban Widmark's bug fixes for smbmount (#19623)
cvsdist ae7478c
- fix setgid directory modes (#11911)
cvsdist ae7478c
- split swat into subpackage (#19706)
cvsdist ae7478c
cvsdist ae7478c
* Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist ae7478c
- set a default CA certificate path in smb.conf (#19010)
cvsdist ae7478c
- require openssl >= 0.9.5a-20 to make sure we have a ca-bundle.crt file
cvsdist ae7478c
cvsdist 1f1dfdc
* Mon Oct 16 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1f1dfdc
- fix swat only_from line (#18726, others)
cvsdist 1f1dfdc
- fix attempt to write outside buildroot on install (#17943)
cvsdist c65eb12
cvsdist 6d54b25
* Mon Aug 14 2000 Bill Nottingham <notting@redhat.com>
cvsdist 6d54b25
- add smbspool back in (#15827)
cvsdist 6d54b25
- fix absolute symlinks (#16125)
cvsdist 6d54b25
cvsdist 1a06c83
* Sun Aug 6 2000 Philipp Knirsch <pknirsch@redhat.com>
cvsdist 1a06c83
- bugfix for smbadduser script (#15148)
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Jul 31 2000 Matt Wilson <msw@redhat.com>
cvsdist 1a06c83
- patch configure.ing (patch11) to disable cups test
cvsdist 1a06c83
- turn off swat by default
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Jul 28 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix condrestart stuff
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- add copytruncate to logrotate file (#14360)
cvsdist 1a06c83
- fix init script (#13708)
cvsdist 1a06c83
cvsdist 1a06c83
* Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- move initscript back
cvsdist 1a06c83
- remove 'Using Samba' book from %%doc 
cvsdist 1a06c83
- move stuff to /etc/samba (#13708)
cvsdist 1a06c83
- default configuration tweaks (#13704)
cvsdist 1a06c83
- some logrotate tweaks
cvsdist 1a06c83
cvsdist 1a06c83
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 1a06c83
- automatic rebuild
cvsdist 1a06c83
cvsdist 1a06c83
* Tue Jul 11 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix logrotate script (#13698)
cvsdist 1a06c83
cvsdist 1a06c83
* Thu Jul  6 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix initscripts req (prereq /etc/init.d)
cvsdist 1a06c83
cvsdist 1a06c83
* Wed Jul 5 2000 Than Ngo <than@redhat.de>
cvsdist 1a06c83
- add initdir macro to handle the initscript directory
cvsdist 1a06c83
- add a new macro to handle /etc/pam.d/system-auth
cvsdist 1a06c83
cvsdist 6d54b25
* Thu Jun 29 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6d54b25
- enable Kerberos 5 and SSL support
cvsdist 6d54b25
- patch for duplicate profile.h headers
cvsdist 6d54b25
cvsdist 1a06c83
* Thu Jun 29 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix init script
cvsdist 1a06c83
cvsdist 1a06c83
* Tue Jun 27 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- rename samba logs (#11606)
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Jun 26 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- initscript munging
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Jun 16 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- configure the swat stuff usefully
cvsdist 1a06c83
- re-integrate some specfile tweaks that got lost somewhere
cvsdist 1a06c83
cvsdist 1a06c83
* Thu Jun 15 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- rebuild to get rid of cups dependency
cvsdist 1a06c83
cvsdist 1a06c83
* Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 1a06c83
- tweak logrotate configurations to use the PID file in /var/lock/samba
cvsdist 1a06c83
cvsdist 1a06c83
* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- rebuild in new environment
cvsdist 1a06c83
cvsdist 1a06c83
* Thu Jun  1 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 1a06c83
- change PAM setup to use system-auth
cvsdist 1a06c83
cvsdist 1a06c83
* Mon May  8 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fixes for ia64
cvsdist 1a06c83
cvsdist 1a06c83
* Sat May  6 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- switch to %%configure
cvsdist 1a06c83
cvsdist 1a06c83
* Wed Apr 26 2000 Nils Philippsen <nils@redhat.de>
cvsdist 1a06c83
- version 2.0.7
cvsdist 1a06c83
cvsdist 1a06c83
* Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 1a06c83
- simplify preun
cvsdist 1a06c83
cvsdist 1a06c83
* Thu Mar 16 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix yp_get_default_domain in autoconf
cvsdist 1a06c83
- only link against readline for smbclient
cvsdist 1a06c83
- fix log rotation (#9909)
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix trigger, again.
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix trigger.
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Feb  4 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- turn on quota support
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 1a06c83
- rebuild to fox dependencies
cvsdist 1a06c83
- man pages are compressed
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- munge post scripts slightly
cvsdist 1a06c83
cvsdist 1a06c83
* Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- turn on mmap again. Wheee.
cvsdist 1a06c83
- ship smbmount on alpha
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Dec  6 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- turn off mmap. ;)
cvsdist 1a06c83
cvsdist 1a06c83
* Wed Dec  1 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- change /var/log/samba to 0700
cvsdist 1a06c83
- turn on mmap support
cvsdist 1a06c83
cvsdist 1a06c83
* Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- update to 2.0.6
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- add a %defattr for -common
cvsdist 1a06c83
cvsdist 1a06c83
* Tue Oct  5 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- shift some files into -client
cvsdist 1a06c83
- remove /home/samba from package.
cvsdist 1a06c83
cvsdist 1a06c83
* Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- initscript oopsie. killproc <name> -HUP, not other way around.
cvsdist 1a06c83
cvsdist 1a06c83
* Sat Sep 26 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- script cleanups. Again.
cvsdist 1a06c83
cvsdist 1a06c83
* Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- add a patch to fix dropped reconnection attempts
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Sep  6 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 1a06c83
- use cp rather than mv to preserve /etc/services perms (#4938 et al).
cvsdist 1a06c83
- use mktemp to generate /etc/tmp.XXXXXX file name.
cvsdist 1a06c83
- add prereqs on sed/mktemp/killall (need to move killall to /bin).
cvsdist 1a06c83
- fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
cvsdist 1a06c83
cvsdist 1a06c83
* Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix typo in mount.smb
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- add a %trigger to work around (sort of) broken scripts in
cvsdist 1a06c83
  previous releases
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- initscript munging
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Aug  9 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- add domain parsing to mount.smb
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Aug  6 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- add a -common package, shuffle files around.
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
cvsdist 1a06c83
cvsdist 1a06c83
* Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- update to 2.0.5
cvsdist 1a06c83
- fix mount.smb - smbmount options changed again.........
cvsdist 1a06c83
- fix postun. oops.
cvsdist 1a06c83
- update some stuff from the samba team's spec file.
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- split off clients into separate package
cvsdist 1a06c83
- don't run samba by default
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix one problem with mount.smb script
cvsdist 1a06c83
- fix smbpasswd on sparc with a really ugly kludge
cvsdist 1a06c83
cvsdist 1a06c83
* Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
cvsdist 1a06c83
- fixed logrotate script
cvsdist 1a06c83
cvsdist 1a06c83
* Tue May 25 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- turn of 64-bit locking on 32-bit platforms
cvsdist 1a06c83
cvsdist 1a06c83
* Thu May 20 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- so many releases, so little time
cvsdist 1a06c83
- explicitly uncomment 'printing = bsd' in sample config
cvsdist 1a06c83
cvsdist 1a06c83
* Tue May 18 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- update to 2.0.4a
cvsdist 1a06c83
- fix mount.smb arg ordering
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- go back to stop/start for restart (-HUP didn't work in testing)
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- add a mount.smb to make smb mounting a little easier.
cvsdist 1a06c83
- smb filesystems apparently don't work on alpha. Oops.
cvsdist 1a06c83
cvsdist 1a06c83
* Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- always create codepages
cvsdist 1a06c83
cvsdist 1a06c83
* Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- logrotate changes
cvsdist 1a06c83
cvsdist 1a06c83
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 1a06c83
- auto rebuild in the new build environment (release 3)
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
cvsdist 1a06c83
- updated init script to use graceful restart (not stop/start)
cvsdist 1a06c83
cvsdist 1a06c83
* Tue Mar  9 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- update to 2.0.3
cvsdist 1a06c83
cvsdist 1a06c83
* Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- update to 2.0.2
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- swat swat
cvsdist 1a06c83
cvsdist 1a06c83
* Tue Feb  9 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- fix bash2 breakage in post script
cvsdist 1a06c83
cvsdist 1a06c83
* Fri Feb  5 1999 Bill Nottingham <notting@redhat.com>
cvsdist 1a06c83
- update to 2.0.0
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 1a06c83
- make sure all binaries are stripped
cvsdist 1a06c83
cvsdist 1a06c83
* Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 1a06c83
- update to 1.9.18p10.
cvsdist 1a06c83
- fix %triggerpostun.
cvsdist 1a06c83
cvsdist 1a06c83
* Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
cvsdist 1a06c83
- updated postun triggerscript to check $0
cvsdist 1a06c83
- clear /etc/codepages from %preun instead of %postun
cvsdist 1a06c83
cvsdist 1a06c83
* Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
cvsdist 1a06c83
- made the %postun script a tad less agressive; no reason to remove
cvsdist 1a06c83
  the logs or lock file (after all, if the lock file is still there,
cvsdist 1a06c83
  samba is still running)
cvsdist 1a06c83
- the %postun and %preun should only exectute if this is the final
cvsdist 1a06c83
  removal
cvsdist 1a06c83
- migrated %triggerpostun from Red Hat's samba package to work around
cvsdist 1a06c83
  packaging problems in some Red Hat samba releases
cvsdist 1a06c83
cvsdist 1a06c83
* Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
cvsdist 1a06c83
- minor tidy up in preparation for release of 1.9.18p5
cvsdist 1a06c83
- added findsmb utility from SGI package
cvsdist 1a06c83
cvsdist 1a06c83
* Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
cvsdist 1a06c83
- Updated version and codepage info.
cvsdist 1a06c83
- Release to test name resolve order
cvsdist 1a06c83
cvsdist 1a06c83
* Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
cvsdist 1a06c83
- Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
cvsdist 1a06c83
- Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
cvsdist 1a06c83
- Compounded make line
cvsdist 1a06c83
- Updated smb.init restart mechanism
cvsdist 1a06c83
- Use compound mkdir -p line instead of individual calls to mkdir
cvsdist 1a06c83
- Fixed smb.conf file path for log files
cvsdist 1a06c83
- Fixed smb.conf file path for incoming smb print spool directory
cvsdist 1a06c83
- Added a number of options to smb.conf file
cvsdist 1a06c83
- Added smbadduser command (missed from all previous RPMs) - Doooh!
cvsdist 1a06c83
- Added smbuser file and smb.conf file updates for username map
cvsdist 1a06c83