diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | msec.spec | 12 |
3 files changed, 25 insertions, 3 deletions
@@ -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 @@ -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) @@ -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. |