aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-01-29 05:22:54 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-01-29 05:22:54 +0000
commit0a3c0b2eac74edb7ff464ec4bc542a857eb431f1 (patch)
tree55d2fcbe55fa79e20fd912810169d6fa4544b8cd
parenta08f7a61dcece90c46f63002f681a788d02596fd (diff)
downloadmsec-0a3c0b2eac74edb7ff464ec4bc542a857eb431f1.tar
msec-0a3c0b2eac74edb7ff464ec4bc542a857eb431f1.tar.gz
msec-0a3c0b2eac74edb7ff464ec4bc542a857eb431f1.tar.bz2
msec-0a3c0b2eac74edb7ff464ec4bc542a857eb431f1.tar.xz
msec-0a3c0b2eac74edb7ff464ec4bc542a857eb431f1.zip
0.18-2mdk
-rw-r--r--msec.spec22
1 files changed, 20 insertions, 2 deletions
diff --git a/msec.spec b/msec.spec
index 754ee35..fbba37b 100644
--- a/msec.spec
+++ b/msec.spec
@@ -1,7 +1,7 @@
Summary: Security Level & Program for the Mandrake Linux distribution
Name: msec
Version: 0.18
-Release: 1mdk
+Release: 2mdk
Url: http://www.linux-mandrake.com
Source0: %{name}-%{version}.tar.bz2
Source1: msec.logrotate
@@ -66,7 +66,7 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d
install -m 755 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
touch $RPM_BUILD_ROOT/var/log/security.log
-%post -p /bin/sh
+%post
touch /var/log/security.log
if [ $1 != 1 -a -f /etc/security/msec/security.conf ]; then
@@ -79,6 +79,15 @@ if [ $1 != 1 -a -f /etc/security/msec/security.conf ]; then
else
msec < /dev/null || :
fi
+ # remove the old way of doing the daily cron
+ rm -f /etc/cron.d/msec
+fi
+
+%postun
+
+if [ $1 = 0 ]; then
+ # cleanup crontabs on package removal
+ rm -f /etc/cron.d/msec /etc/cron.hourly/msec /etc/cron.daily/msec
fi
%clean
@@ -107,6 +116,15 @@ rm -rf $RPM_BUILD_ROOT
# MAKE THE CHANGES IN CVS: NO PATCH OR SOURCE ALLOWED
%changelog
+* Mon Jan 28 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.18-2mdk
+- do the daily cron through /etc/cron.daily to avoid heavy loads
+- clean crontabs when removing the package (Dadou)
+- 644 for /etc/rc.d/init.d/mandrake_consmap (Andrej)
+- fix sendmail perms (Florin)
+- symlink /etc/security/msec/server.<level> to /etc/security/msec/server for
+secure levels > 3 (used by chkconfig).
+- password aging for the root account too.
+
* Sat Jan 26 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.18-1mdk
- corrected upgrade from 0.16 and older versions
- allow customization of level through /etc/security/msec/level.local