From 865fb5cc2ef6b1be89cc4c70013836919eefa350 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Wed, 8 Dec 1999 02:43:07 +0000 Subject: "See_The_Changelog" --- ChangeLog | 1 + Makefile | 13 ++++++- doc/msec.spec | 122 ---------------------------------------------------------- msec.spec | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 134 insertions(+), 124 deletions(-) delete mode 100644 doc/msec.spec create mode 100644 msec.spec diff --git a/ChangeLog b/ChangeLog index 5d3a83a..c7dc059 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 1999-12-08 Chmouel Boudjnah * Makefile (rpm): target for rpm. + (dis): Add a make dis to easy switch from cvs to dis. * doc/msec.spec: use bzip2 sources, clean up %install to use Makefile. diff --git a/Makefile b/Makefile index f709491..11984a5 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +VERSION = 0.5 + all: promisc_check clean: @@ -25,6 +27,14 @@ rpm: all install -s src/promisc_check/promisc_check $(RPM_BUILD_ROOT)/usr/bin echo "Install complete" +dis: clean + rm -rf msec-$(VERSION) ../msec-$(VERSION).tar* + mkdir -p msec-$(VERSION) + find . -not -name "msec-$(VERSION)"|cpio -pd msec-$(VERSION)/ + find msec-$(VERSION) -type d -name CVS|xargs rm -rf + tar cf ../msec-$(VERSION).tar msec-$(VERSION) + bzip2 ../msec-$(VERSION).tar + install: (rm -rf /etc/security/msec) (mkdir -p /etc/security/msec/init-sh) @@ -50,5 +60,4 @@ install: @echo @echo "To switch between runlevel, just launch init.sh ( in init-sh dir )" @echo - @echo - + @echo \ No newline at end of file diff --git a/doc/msec.spec b/doc/msec.spec deleted file mode 100644 index ed9eb3b..0000000 --- a/doc/msec.spec +++ /dev/null @@ -1,122 +0,0 @@ -Summary: Security Level & Program for the Linux Mandrake distribution -Name: msec -Version: 0.5 -Release: 1mdk -Source: msec-0.5.tar.bz2 -Copyright: GPL -Group: System Environment/Base -BuildRoot: /var/tmp/msec -Requires: /bin/bash setup chkconfig - -%description -The Mandrake-Security package is designed to provide generic -secure level to the Mandrake-Linux users... -It will permit you to choose between level 1 to 5 & custom -for a less -> more secured distribution. -This packages includes several program that will be run periodically -in order to test the security of your system and alert you if needed. - -%prep -%setup - -%build -make CFLAGS="$RPM_OPT_FLAGS" - -%install -mkdir -p $RPM_BUILD_ROOT/etc/security/msec/init-sh -mkdir -p $RPM_BUILD_ROOT/etc/security/msec/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 -cp src/promisc_check/promisc_check $RPM_BUILD_ROOT/usr/bin - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -/etc/security/msec -/usr/bin/promisc_check - -%changelog -* Mon Dec 6 1999 Yoann Vandoorselaere -- Released 0.5 -- Divided security check into 2 files : - security_check.sh & file_check.sh, - the first do normal security check, the other watch at anormal change - on the system... -- Bug fix again & again -- Updated perm files & fix a security problem ( thanks Axalon ). - -* Wed Dec 1 1999 Yoann Vandoorselaere -- DrakX compatibility. - -* Wed Dec 1 1999 Yoann Vandoorselaere -- Add & delete of userlist from audio group ( level 1 & 2 ). -- Minor fix - -* Wed Dec 1 1999 Yoann Vandoorselaere -- We now preserve config file implementation. -- Minor fix to lib.sh -- export profile variable... - -* Mon Nov 30 1999 Yoann Vandoorselaere -- Many cron security check added. -- Print more infos. - -* Mon Nov 29 1999 Yoann Vandoorselaere -- Released 0.4 : -- Now have a custom mode, just answer the question. -- Msec print what it does. -- Bug fix in LiloUpdate(). - -* Mon Nov 29 1999 Yoann Vandoorselaere -- Fixed a few bugs in msec. - -* Fri Nov 26 1999 Yoann Vandoorselaere -- grpuser was not installed. - -* Fri Nov 26 1999 Yoann Vandoorselaere -- Fix a bug in level3.sh -- level[12].sh Removed some unused code - -* Thu Nov 25 1999 Yoann Vandoorselaere -- Call chkconfig with the new --msec option. - -* Thu Nov 25 1999 Yoann Vandoorselaere -- Cleaned up tree. - -* Thu Nov 25 1999 Yoann Vandoorselaere -- Removed touched file /-i - -* Thu Nov 25 1999 Yoann Vandoorselaere -- Create rc.firewall to avoid error, -- Call grpuser with the good path, -- Call groupadd before usermod. - -* Tue Nov 23 1999 Yoann Vandoorselaere -- New release (0.3) : - Now each security level has it's own set of permissions. - Add "." at the end of $PATH for level 1. - Corrected some grave bug, it should work properly now. - -* Thu Nov 18 1999 Yoann Vandoorselaere -- New release (0.2) : - Fixed the path for promisc_check.sh : - now /etc/security/msec/cron-sh/promisc_check.sh - In level 1 & 2, user is now automagically added to the audio group. - -* Tue Nov 16 1999 Yoann Vandoorselaere -- First packaging attempt :-). - - - diff --git a/msec.spec b/msec.spec new file mode 100644 index 0000000..ed9eb3b --- /dev/null +++ b/msec.spec @@ -0,0 +1,122 @@ +Summary: Security Level & Program for the Linux Mandrake distribution +Name: msec +Version: 0.5 +Release: 1mdk +Source: msec-0.5.tar.bz2 +Copyright: GPL +Group: System Environment/Base +BuildRoot: /var/tmp/msec +Requires: /bin/bash setup chkconfig + +%description +The Mandrake-Security package is designed to provide generic +secure level to the Mandrake-Linux users... +It will permit you to choose between level 1 to 5 & custom +for a less -> more secured distribution. +This packages includes several program that will be run periodically +in order to test the security of your system and alert you if needed. + +%prep +%setup + +%build +make CFLAGS="$RPM_OPT_FLAGS" + +%install +mkdir -p $RPM_BUILD_ROOT/etc/security/msec/init-sh +mkdir -p $RPM_BUILD_ROOT/etc/security/msec/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 +cp src/promisc_check/promisc_check $RPM_BUILD_ROOT/usr/bin + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +/etc/security/msec +/usr/bin/promisc_check + +%changelog +* Mon Dec 6 1999 Yoann Vandoorselaere +- Released 0.5 +- Divided security check into 2 files : + security_check.sh & file_check.sh, + the first do normal security check, the other watch at anormal change + on the system... +- Bug fix again & again +- Updated perm files & fix a security problem ( thanks Axalon ). + +* Wed Dec 1 1999 Yoann Vandoorselaere +- DrakX compatibility. + +* Wed Dec 1 1999 Yoann Vandoorselaere +- Add & delete of userlist from audio group ( level 1 & 2 ). +- Minor fix + +* Wed Dec 1 1999 Yoann Vandoorselaere +- We now preserve config file implementation. +- Minor fix to lib.sh +- export profile variable... + +* Mon Nov 30 1999 Yoann Vandoorselaere +- Many cron security check added. +- Print more infos. + +* Mon Nov 29 1999 Yoann Vandoorselaere +- Released 0.4 : +- Now have a custom mode, just answer the question. +- Msec print what it does. +- Bug fix in LiloUpdate(). + +* Mon Nov 29 1999 Yoann Vandoorselaere +- Fixed a few bugs in msec. + +* Fri Nov 26 1999 Yoann Vandoorselaere +- grpuser was not installed. + +* Fri Nov 26 1999 Yoann Vandoorselaere +- Fix a bug in level3.sh +- level[12].sh Removed some unused code + +* Thu Nov 25 1999 Yoann Vandoorselaere +- Call chkconfig with the new --msec option. + +* Thu Nov 25 1999 Yoann Vandoorselaere +- Cleaned up tree. + +* Thu Nov 25 1999 Yoann Vandoorselaere +- Removed touched file /-i + +* Thu Nov 25 1999 Yoann Vandoorselaere +- Create rc.firewall to avoid error, +- Call grpuser with the good path, +- Call groupadd before usermod. + +* Tue Nov 23 1999 Yoann Vandoorselaere +- New release (0.3) : + Now each security level has it's own set of permissions. + Add "." at the end of $PATH for level 1. + Corrected some grave bug, it should work properly now. + +* Thu Nov 18 1999 Yoann Vandoorselaere +- New release (0.2) : + Fixed the path for promisc_check.sh : + now /etc/security/msec/cron-sh/promisc_check.sh + In level 1 & 2, user is now automagically added to the audio group. + +* Tue Nov 16 1999 Yoann Vandoorselaere +- First packaging attempt :-). + + + -- cgit v1.2.1