aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Makefile13
-rw-r--r--msec.spec12
3 files changed, 25 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e6083ea..ad36567 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
1 - grpuser is not to be used by user, ( and should not have a manpage ).
2 - manpage is obsolete
+1999-12-28 Chmouel Boudjnah <chmouel@mandrakesoft.com>
+ * doc/*8: add man-pages from camille.
+
1999-12-24 Yoann Vandoorselaere <yoann@mandrakesoft.com>
* level[35]: also do a mail report.
* moved Syslog(), Ttylog(), Maillog() to security.sh
diff --git a/Makefile b/Makefile
index 9851584..24f8467 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
VERSION = 0.9
+NAME = msec
all: promisc_check
@@ -14,6 +15,7 @@ rpm_install: all
rm -rf $(RPM_BUILD_ROOT)
mkdir -p $(RPM_BUILD_ROOT)/etc/security/msec/{init-sh,cron-sh}/
mkdir -p $(RPM_BUILD_ROOT)/usr/bin
+ mkdir -p $(RPM_BUILD_ROOT)/usr/man/man8/
cp init-sh/level*.sh $(RPM_BUILD_ROOT)/etc/security/msec/init-sh
cp init-sh/lib.sh $(RPM_BUILD_ROOT)/etc/security/msec/init-sh
cp init-sh/init.sh $(RPM_BUILD_ROOT)/etc/security/msec
@@ -27,7 +29,10 @@ rpm_install: all
touch $(RPM_BUILD_ROOT)/etc/security/msec/security.conf
touch $(RPM_BUILD_ROOT)/var/log/security.log
install -s src/promisc_check/promisc_check $(RPM_BUILD_ROOT)/usr/bin
- echo "Install complete"
+ install -d $(RPM_BUILD_ROOT)/usr/man/man8/
+ install -m644 doc/*8 $(RPM_BUILD_ROOT)/usr/man/man8/
+ bzip2 -9f $(RPM_BUILD_ROOT)/usr/man/man8/*8
+ @echo "Install complete"
dis: clean
rm -rf msec-$(VERSION) ../msec-$(VERSION).tar*
@@ -39,6 +44,12 @@ dis: clean
bzip2 -9f ../msec-$(VERSION).tar
rm -rf msec-$(VERSION)
+rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
+ cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
+ cp -f $(NAME).spec $(RPM)/SPECS/
+ -rpm -ba --clean --rmsource $(NAME).spec
+ rm -f ../$(NAME)-$(VERSION).tar.bz2
+
install:
(rm -rf /etc/security/msec)
(mkdir -p /etc/security/msec/init-sh)
diff --git a/msec.spec b/msec.spec
index 414d080..f05a2a8 100644
--- a/msec.spec
+++ b/msec.spec
@@ -1,10 +1,13 @@
# do not modify Version below, modify it in Makefile (see CVS)
%define version 0.9
+%define release 12mdk
Summary: Security Level & Program for the Linux Mandrake distribution
Name: msec
Version: %{version}
-Release: 11mdk
+Release: %{release}
+# get the source from our cvs repository (see
+# http://www.linuxmandrake.com/en/cvs.php3)
Source: %{name}-%{version}.tar.bz2
Copyright: GPL
Group: System Environment/Base
@@ -33,13 +36,18 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-%doc AUTHORS COPYING Makefile README doc/*txt ChangeLog
+%doc AUTHORS COPYING Makefile README
+%doc doc/*txt ChangeLog doc/*ps
/etc/security/msec
/usr/bin/promisc_check
/var/log/security.log
/var/log/security
+/usr/man/*/*
%changelog
+* Tue Dec 28 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
+- add man-pages from camille.
+
* Fri Dec 24 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- Use the mail user variable.
- level[35]: also do a mail report.