From: John Terpstra Date: Tue, 30 May 2000 05:48:27 +0000 (+0000) Subject: Modified handling of libnss_wins.so X-Git-Tag: samba-2.0.8~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57c93c71e6b33c8b9580f35eed5077428456d092;p=thirdparty%2Fsamba.git Modified handling of libnss_wins.so --- diff --git a/packaging/PHT/TurboLinux/samba2.spec.tmpl b/packaging/PHT/TurboLinux/samba2.spec.tmpl index da331572452..b5b9832add3 100644 --- a/packaging/PHT/TurboLinux/samba2.spec.tmpl +++ b/packaging/PHT/TurboLinux/samba2.spec.tmpl @@ -61,6 +61,10 @@ server. Please use it with care. If you do not need it then do NOT install. %changelog +* Mon May 29 2000 John H Terpstra +- moved linkage of libnss_wins.so.2 to %post +- added removal step to %postun + * Fri Apr 14 2000 John H Terpstra - Added unicode pages @@ -218,7 +222,6 @@ done # Install the nsswitch library extension file install -m755 source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/lib -ln -s $RPM_BUILD_ROOT/lib/libnss_wins.so $RPM_BUILD_ROOT/lib/libnss_wins.so.2 # Install SWAT helper files for i in swat/help/*.html @@ -318,6 +321,8 @@ if [ -f /etc/xinetd.conf ]; then mv /etc/xinetd.conf /etc/xinetd.conf.presamba /usr/sbin/itox --daemon_dir /usr/sbin < /etc/inetd.conf > /etc/xinetd.conf fi +# Make link for wins resolver +ln -s /lib/libnss_wins.so /lib/libnss_wins.so.2 %preun if [ $1 = 0 ] ; then @@ -365,6 +370,7 @@ fi if [ -f /sbin/mount.smb ]; then rm -f /sbin/mount.smb fi +rm -f /lib/libnss_wins.so.2 %triggerpostun -- samba < samba-2.0.0 if [ $0 != 0 ]; then