aboutsummaryrefslogtreecommitdiffstats
path: root/doc/msec.spec
blob: 5905dbe73dccd5c0af4e7da9ce187a2d7d81eceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
Summary: Security Level & Program for the Linux Mandrake distribution
Name: msec
Version: 0.4
Release: 5mdk
Source: ftp://mandrakesoft.com/pub/yoann/msec-0.4.tar.gz
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
* Wed Dec  1 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- Add & delete of userlist from audio group ( level 1 & 2 ).
- Minor fix

* Wed Dec  1 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- We now preserve config file implementation.
- Minor fix to lib.sh
- export profile variable...

* Mon Nov 30 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- Many cron security check added.
- Print more infos.

* Mon Nov 29 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- 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 <yoann@mandrakesoft.com>
- Fixed a few bugs in msec.

* Fri Nov 26 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- grpuser was not installed.

* Fri Nov 26 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- Fix a bug in level3.sh
- level[12].sh Removed some unused code

* Thu Nov 25 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- Call chkconfig with the new --msec option.

* Thu Nov 25 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- Cleaned up tree.

* Thu Nov 25 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- Removed touched file /-i

* Thu Nov 25 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- Create rc.firewall to avoid error,
- Call grpuser with the good path,
- Call groupadd before usermod.

* Tue Nov 23 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- 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 <yoann@mandrakesoft.com>
- 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 <yoann@mandrakesoft.com>
- First packaging attempt :-).