OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 10-Nov-2003 19:15:53
Branch: HEAD Handle: 2003111018155003
Modified files:
openpkg-src/sasl sasl.spec
openpkg-web news.txt
Log:
Add missing conditional pamtool scriptcode
Summary:
Revision Changes Path
1.102 +11 -1 openpkg-src/sasl/sasl.spec
1.7352 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/sasl/sasl.spec
============================================================================
$ cvs diff -u -r1.101 -r1.102 sasl.spec
--- openpkg-src/sasl/sasl.spec 14 Oct 2003 15:24:25 -0000 1.101
+++ openpkg-src/sasl/sasl.spec 10 Nov 2003 18:15:53 -0000 1.102
@@ -33,7 +33,7 @@
Group: Cryptography
License: BSD
Version: 2.1.15
-Release: 20031014
+Release: 20031110
# package options
%option with_fsl yes
@@ -293,6 +293,12 @@
exit 0
%post
+%if "%{with_pam}" == "yes"
+ if [ $1 -eq 1 ]; then
+ # after install, add PAM configuration entry
+ $RPM_INSTALL_PREFIX/sbin/pamtool --add --smart --name=sasl
+ fi
+%endif
if [ $1 -eq 2 ]; then
# after upgrade, restore status
eval `cat %{l_tmpfile}`; rm -f %{l_tmpfile}
@@ -305,5 +311,9 @@
[ $1 -eq 0 ] || exit 0
%{l_rc} sasl stop 2>/dev/null
rm -f $RPM_INSTALL_PREFIX/var/sasl/log/*.log* >/dev/null 2>&1 || true
+%if "%{with_pam}" == "yes"
+ # remove PAM configuration entry
+ $RPM_INSTALL_PREFIX/sbin/pamtool --remove --smart --name=sasl
+%endif
exit 0
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.7351 -r1.7352 news.txt
--- openpkg-web/news.txt 10 Nov 2003 16:33:37 -0000 1.7351
+++ openpkg-web/news.txt 10 Nov 2003 18:15:50 -0000 1.7352
@@ -1,3 +1,4 @@
+10-Nov-2003: Upgraded package: P<sasl-2.1.15-20031110>
10-Nov-2003: Upgraded package: P<nagios-1.1-20031110>
10-Nov-2003: Upgraded package: P<cfg-0.9.1-20031110>
10-Nov-2003: Upgraded package: P<l2-0.9.5-20031110>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]