aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-03-08 14:44:06 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-03-08 14:44:06 +0000
commit8581a3306e78ac22431011bf6720de941ad24fd9 (patch)
tree89a3556c3de0d833310945afd60ce707fb5336dd
parent16c082088f576430fcaf0ce7218e15f539dfdc89 (diff)
downloadmsec-8581a3306e78ac22431011bf6720de941ad24fd9.tar
msec-8581a3306e78ac22431011bf6720de941ad24fd9.tar.gz
msec-8581a3306e78ac22431011bf6720de941ad24fd9.tar.bz2
msec-8581a3306e78ac22431011bf6720de941ad24fd9.tar.xz
msec-8581a3306e78ac22431011bf6720de941ad24fd9.zip
*** empty log message ***
-rw-r--r--Makefile23
-rw-r--r--msec.spec6
-rw-r--r--src/msec_find/Makefile3
-rw-r--r--src/promisc_check/Makefile3
4 files changed, 16 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index fa6b714..010442d 100644
--- a/Makefile
+++ b/Makefile
@@ -32,28 +32,23 @@ rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
rm -f ../$(NAME)-$(VERSION).tar.bz2
install:
- (rm -rf $(RPM_BUILD_ROOT)/etc/security/msec)
(mkdir -p $(RPM_BUILD_ROOT)/etc/security/msec)
(mkdir -p $(RPM_BUILD_ROOT)/usr/share/msec)
+ (mkdir -p $(RPM_BUILD_ROOT)/usr/sbin)
(cp init-sh/*.sh $(RPM_BUILD_ROOT)/usr/share/msec)
(cp cron-sh/*.sh $(RPM_BUILD_ROOT)/usr/share/msec)
(cp init-sh/msec $(RPM_BUILD_ROOT)/usr/sbin)
(cp conf/perm.* conf/server.* $(RPM_BUILD_ROOT)/etc/security/msec)
-
+
+ (mkdir -p $(RPM_BUILD_ROOT)/var/log)
+ (mkdir -p $(RPM_BUILD_ROOT)/var/log/security)
(touch $(RPM_BUILD_ROOT)/etc/security/msec/security.conf)
(touch $(RPM_BUILD_ROOT)/var/log/security.log)
- (mkdir -p $(RPM_BUILD_ROOT)/var/log/security)
(cd src/promisc_check && make install)
(cd src/msec_find && make install)
+ (mkdir -p $(RPM_BUILD_ROOT)/usr/man/man8/)
+ 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
- @echo
- @echo "BE CAREFULL !!!"
- @echo "This is *alpha* release & it does not contains all planned features..."
- @echo "Please help debuging it..."
- @echo "See security.txt to know what is done & all :-)"
- @echo
- @echo
- @echo "To switch between runlevel, just launch init.sh ( in init-sh dir )"
- @echo
- @echo
diff --git a/msec.spec b/msec.spec
index 224bf9b..c9a662d 100644
--- a/msec.spec
+++ b/msec.spec
@@ -1,5 +1,5 @@
# do not modify Version below, modify it in Makefile (see CVS)
-%define version 0.9
+%define version 0.10
%define release 1mdk
Summary: Security Level & Program for the Linux Mandrake distribution
@@ -29,7 +29,7 @@ in order to test the security of your system and alert you if needed.
make CFLAGS="$RPM_OPT_FLAGS"
%install
-make rpm_install RPM_BUILD_ROOT=$RPM_BUILD_ROOT
+make install RPM_BUILD_ROOT=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
@@ -49,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
%config /etc/security/msec
%changelog
-* Tue Mar 08 Yoann Vandoorselaere <yoann@mandrakesoft.com>
+* Tue Mar 08 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.10-1mdk
- Heavily modified msec_find.
- Added msec_find utility, written by Thierry Vignaud which will avoid us to
find / 5 times :)
diff --git a/src/msec_find/Makefile b/src/msec_find/Makefile
index 20fb4d9..15a1588 100644
--- a/src/msec_find/Makefile
+++ b/src/msec_find/Makefile
@@ -10,4 +10,5 @@ msec_find: $(OBJ)
$(CC) $(OBJ) -o $(NAME)
install:
- cp $(NAME) /usr/bin
+ mkdir -p $(RPM_BUILD_ROOT)/usr/bin
+ cp $(NAME) $(RPM_BUILD_ROOT)/usr/bin
diff --git a/src/promisc_check/Makefile b/src/promisc_check/Makefile
index b7bb4e9..8c87e07 100644
--- a/src/promisc_check/Makefile
+++ b/src/promisc_check/Makefile
@@ -10,4 +10,5 @@ promisc_check: $(OBJ)
$(CC) $(OBJ) -o $(NAME)
install:
- cp $(NAME) /usr/bin
+ mkdir -p $(RPM_BUILD_ROOT)/usr/bin
+ cp $(NAME) $(RPM_BUILD_ROOT)/usr/bin