diff options
author | Florin Grad <florin@mandriva.com> | 2001-09-14 16:12:09 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2001-09-14 16:12:09 +0000 |
commit | fdba4ae10c323856dad663eafc8b8381b5a95a1c (patch) | |
tree | f9ee59a10a032b40df7744615de73504cb109561 /msec.spec | |
parent | 80fa2aa4d3a45bc679f9371c6b9231925d442971 (diff) | |
download | msec-fdba4ae10c323856dad663eafc8b8381b5a95a1c.tar msec-fdba4ae10c323856dad663eafc8b8381b5a95a1c.tar.gz msec-fdba4ae10c323856dad663eafc8b8381b5a95a1c.tar.bz2 msec-fdba4ae10c323856dad663eafc8b8381b5a95a1c.tar.xz msec-fdba4ae10c323856dad663eafc8b8381b5a95a1c.zip |
/var/log/squid permissions
Diffstat (limited to 'msec.spec')
-rw-r--r-- | msec.spec | 35 |
1 files changed, 24 insertions, 11 deletions
@@ -1,9 +1,10 @@ Summary: Security Level & Program for the Linux Mandrake distribution Name: msec Version: 0.15 -Release: 18mdk +Release: 21mdk Source: %{name}-%{version}.tar.bz2 +Source2: msec License: GPL Group: System/Base @@ -38,15 +39,17 @@ install -m 755 init-sh/*.sh cron-sh/*.sh $RPM_BUILD_ROOT/usr/share/msec install -m 755 init-sh/msec $RPM_BUILD_ROOT/usr/sbin install -m 644 conf/perm.* conf/server.* $RPM_BUILD_ROOT/etc/security/msec install -m 755 src/promisc_check/promisc_check src/msec_find/msec_find $RPM_BUILD_ROOT/usr/bin -install -m 644 man/C/*8 $RPM_BUILD_ROOT%{_mandir}/man8/ - -for i in man/??* ; do \ - install -d $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8 ; \ - install -m 644 $i/*.8 $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8 ; \ -done +install -m 644 doc/*8 $RPM_BUILD_ROOT%{_mandir}/man8/ touch $RPM_BUILD_ROOT/etc/security/msec/security.conf $RPM_BUILD_ROOT/var/log/security.log +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d +install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/msec +touch $RPM_BUILD_ROOT/var/log/security.log + +%post +touch /var/log/security.log + %clean rm -rf $RPM_BUILD_ROOT @@ -58,16 +61,26 @@ rm -rf $RPM_BUILD_ROOT %_bindir/msec_find %_sbindir/msec %_datadir/msec -%_mandir/man*/* -# find_lang can't find man pages :-( -%lang(fr) %_mandir/fr/man*/* +%_mandir/*/* -%config(noreplace) /var/log/security.log %config(noreplace) /var/log/security %config(noreplace) /etc/security/msec +%ghost /var/log/security.log + + # MAKE THE CHANGES IN CVS: NO PATCH OR SOURCE ALLOWED %changelog +* Fri Sep 14 2001 Florin <florin@mandrakesoft.com> 0.15-21mdk +- conf/perm.*: /var/log/squid must be owned by nobody.nobody. +- add the %post section for the ghost file + +* Mon Sep 03 2001 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.15-20mdk +- logrotate entry in %install, not %post + +* Mon Sep 03 2001 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.15-19mdk +- add logrotate entry + * Thu Aug 9 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.15-18mdk - added vc/[1-6] to securetty (devfs) - merged back in cvs |