aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>1999-12-08 02:33:09 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>1999-12-08 02:33:09 +0000
commitcc3d9a8ecd4744f49cfccac21392c98a74e79a48 (patch)
treed22fd9cfa8d57379b5763a60403d9c1579e0a8d3 /Makefile
parentff82e38ae9249547789d43c33fb3f25296c0a7b3 (diff)
downloadmsec-cc3d9a8ecd4744f49cfccac21392c98a74e79a48.tar
msec-cc3d9a8ecd4744f49cfccac21392c98a74e79a48.tar.gz
msec-cc3d9a8ecd4744f49cfccac21392c98a74e79a48.tar.bz2
msec-cc3d9a8ecd4744f49cfccac21392c98a74e79a48.tar.xz
msec-cc3d9a8ecd4744f49cfccac21392c98a74e79a48.zip
"See_The_Changelog"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e3755ce..f709491 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,23 @@ clean:
promisc_check:
(cd src/promisc_check; make)
+rpm: 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
+ 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
+ cp init-sh/file_perm.sh $(RPM_BUILD_ROOT)/etc/security/msec/init-sh
+ cp init-sh/perm.[1-5] $(RPM_BUILD_ROOT)/etc/security/msec/init-sh
+ cp init-sh/server.* $(RPM_BUILD_ROOT)/etc/security/msec/init-sh
+ cp init-sh/grpuser $(RPM_BUILD_ROOT)/etc/security/msec/init-sh
+ cp init-sh/custom.sh $(RPM_BUILD_ROOT)/etc/security/msec/init-sh
+ cp cron-sh/*.sh $(RPM_BUILD_ROOT)/etc/security/msec/cron-sh
+ touch $(RPM_BUILD_ROOT)/etc/security/msec/security.conf
+ install -s src/promisc_check/promisc_check $(RPM_BUILD_ROOT)/usr/bin
+ echo "Install complete"
+
install:
(rm -rf /etc/security/msec)
(mkdir -p /etc/security/msec/init-sh)