aboutsummaryrefslogtreecommitdiffstats
path: root/msec.spec
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2001-09-19 11:18:27 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2001-09-19 11:18:27 +0000
commit612877ff6d68406e7df234ac413573e661d495d8 (patch)
treefed2ca9d3386e0db28d4f64ba236db64907924cc /msec.spec
parentb823911b919ccbef518fd7c7e00c0a3992ad69b8 (diff)
downloadmsec-612877ff6d68406e7df234ac413573e661d495d8.tar
msec-612877ff6d68406e7df234ac413573e661d495d8.tar.gz
msec-612877ff6d68406e7df234ac413573e661d495d8.tar.bz2
msec-612877ff6d68406e7df234ac413573e661d495d8.tar.xz
msec-612877ff6d68406e7df234ac413573e661d495d8.zip
*** empty log message ***
Diffstat (limited to 'msec.spec')
-rw-r--r--msec.spec11
1 files changed, 11 insertions, 0 deletions
diff --git a/msec.spec b/msec.spec
index 72cbd7c..340f1a7 100644
--- a/msec.spec
+++ b/msec.spec
@@ -40,6 +40,16 @@ 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 -m644 man/C/*8 $RPM_BUILD_ROOT%{_mandir}/man8/
+bzip2 -9f $RPM_BUILD_ROOT%{_mandir}/man8/*8
+
+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; \
+ bzip2 -9f $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8/*8 ; \
+done;
+
+
touch $RPM_BUILD_ROOT/etc/security/msec/security.conf $RPM_BUILD_ROOT/var/log/security.log
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
@@ -64,6 +74,7 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) /var/log/security
%config(noreplace) /etc/security/msec
+%config(noreplace) /etc/logrotate.d/msec
%ghost /var/log/security.log