From 80fa2aa4d3a45bc679f9371c6b9231925d442971 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Mon, 3 Sep 2001 01:24:41 +0000 Subject: moved man pages to man/C, added French man page --- Makefile | 7 ++++++- doc/init.sh.8 | 40 ---------------------------------------- doc/msec.8 | 40 ---------------------------------------- man/C/init.sh.8 | 40 ++++++++++++++++++++++++++++++++++++++++ man/C/msec.8 | 40 ++++++++++++++++++++++++++++++++++++++++ man/fr/init.sh.8 | 40 ++++++++++++++++++++++++++++++++++++++++ msec.spec | 11 +++++++++-- 7 files changed, 135 insertions(+), 83 deletions(-) delete mode 100644 doc/init.sh.8 delete mode 100644 doc/msec.8 create mode 100644 man/C/init.sh.8 create mode 100644 man/C/msec.8 create mode 100644 man/fr/init.sh.8 diff --git a/Makefile b/Makefile index 71a9d6b..14b9107 100644 --- a/Makefile +++ b/Makefile @@ -34,8 +34,13 @@ 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/ + install -m644 man/C/*8 $(RPM_BUILD_ROOT)/usr/man/man8/ bzip2 -9f $(RPM_BUILD_ROOT)/usr/man/man8/*8 + for i in man/??* ; do \ + install -d $(RPM_BUILD_ROOT)/usr/man/`basename $$i`/man8 ; \ + install -m 644 $$i/*.8 $(RPM_BUILD_ROOT)/usr/man/`basename $$i`/man8 ; \ + bzip2 -9f $(RPM_BUILD_ROOT)/usr/man/`basename $$i`/man8/*8 ; \ + done version: @echo $(VERSION)-$(RELEASE) diff --git a/doc/init.sh.8 b/doc/init.sh.8 deleted file mode 100644 index bdf1ce3..0000000 --- a/doc/init.sh.8 +++ /dev/null @@ -1,40 +0,0 @@ -.TH init.sh 8 "15 Dec 1999" "Mandrakesoft" "Linux-Mandrake" -.IX msec -.SH NAME -msec \- Mandrake security tools -.SH SYNOPSIS -.B init.sh -[0-5 | custom] -.SH DESCRIPTION -\fPinit.sh\fP is the main script of msec package. It enables the system administrator to change the security level for that system. -msec is provided with six preconfigured security levels. These levels range from poor security and ease of use, to paranoid config, suitable for very sensitive server applications, managed by experts. -.PP -You must be root to run \fPinit.sh\fP . -.br -Launch "init.sh x" to set you security level to x (x=[0-5]). It'll modify your system according to security level x features. -.br -For a fine description of each security level, consult the documentation under /usr/doc/msec-*/. -.PP -If you wish to setup your own security level, finely tuning all available parameters, launch "init.sh custom". It'll ask you for each features you want to enable, and will then apply them to the system. -.SH FILES -/etc/security/msec/init.sh -.br -The \fPinit.sh\fP executable (sh script) -.PP -/etc/security/msec/security.conf -.br -Contains the configuration of current active security level. - -.SH AUTHOR -Vandoorselaere Yoann, Mandrakesoft -.br -yoann@mandrakesoft.com - - - - - - - - - diff --git a/doc/msec.8 b/doc/msec.8 deleted file mode 100644 index 73effe1..0000000 --- a/doc/msec.8 +++ /dev/null @@ -1,40 +0,0 @@ -.TH msec 8 "17 Appr 2000" "Mandrakesoft" "Linux-Mandrake" -.IX msec -.SH NAME -msec \- Mandrake security tools -.SH SYNOPSIS -.B msec -[0-5 | custom] -.SH DESCRIPTION -\fPmsec\fP is the main script of msec package. It enables the system administrator to change the security level for that system. -msec is provided with six preconfigured security levels. These levels range from poor security and ease of use, to paranoid config, suitable for very sensitive server applications, managed by experts. -.PP -You must be root to run \fPmsec\fP . -.br -Launch "msec x" to set you security level to x (x=[0-5]). It'll modify your system according to security level x features. -.br -For a fine description of each security level, consult the documentation under /usr/doc/msec-*/. -.PP -If you wish to setup your own security level, finely tuning all available parameters, launch "msec custom". It'll ask you for each features you want to enable, and will then apply them to the system. -.SH FILES -/usr/sbin/msec -.br -The \fPmsec\fP executable (sh script) -.PP -/etc/security/msec/security.conf -.br -Contains the configuration of current active security level. - -.SH AUTHOR -Vandoorselaere Yoann, Mandrakesoft -.br -yoann@mandrakesoft.com - - - - - - - - - diff --git a/man/C/init.sh.8 b/man/C/init.sh.8 new file mode 100644 index 0000000..bdf1ce3 --- /dev/null +++ b/man/C/init.sh.8 @@ -0,0 +1,40 @@ +.TH init.sh 8 "15 Dec 1999" "Mandrakesoft" "Linux-Mandrake" +.IX msec +.SH NAME +msec \- Mandrake security tools +.SH SYNOPSIS +.B init.sh +[0-5 | custom] +.SH DESCRIPTION +\fPinit.sh\fP is the main script of msec package. It enables the system administrator to change the security level for that system. +msec is provided with six preconfigured security levels. These levels range from poor security and ease of use, to paranoid config, suitable for very sensitive server applications, managed by experts. +.PP +You must be root to run \fPinit.sh\fP . +.br +Launch "init.sh x" to set you security level to x (x=[0-5]). It'll modify your system according to security level x features. +.br +For a fine description of each security level, consult the documentation under /usr/doc/msec-*/. +.PP +If you wish to setup your own security level, finely tuning all available parameters, launch "init.sh custom". It'll ask you for each features you want to enable, and will then apply them to the system. +.SH FILES +/etc/security/msec/init.sh +.br +The \fPinit.sh\fP executable (sh script) +.PP +/etc/security/msec/security.conf +.br +Contains the configuration of current active security level. + +.SH AUTHOR +Vandoorselaere Yoann, Mandrakesoft +.br +yoann@mandrakesoft.com + + + + + + + + + diff --git a/man/C/msec.8 b/man/C/msec.8 new file mode 100644 index 0000000..73effe1 --- /dev/null +++ b/man/C/msec.8 @@ -0,0 +1,40 @@ +.TH msec 8 "17 Appr 2000" "Mandrakesoft" "Linux-Mandrake" +.IX msec +.SH NAME +msec \- Mandrake security tools +.SH SYNOPSIS +.B msec +[0-5 | custom] +.SH DESCRIPTION +\fPmsec\fP is the main script of msec package. It enables the system administrator to change the security level for that system. +msec is provided with six preconfigured security levels. These levels range from poor security and ease of use, to paranoid config, suitable for very sensitive server applications, managed by experts. +.PP +You must be root to run \fPmsec\fP . +.br +Launch "msec x" to set you security level to x (x=[0-5]). It'll modify your system according to security level x features. +.br +For a fine description of each security level, consult the documentation under /usr/doc/msec-*/. +.PP +If you wish to setup your own security level, finely tuning all available parameters, launch "msec custom". It'll ask you for each features you want to enable, and will then apply them to the system. +.SH FILES +/usr/sbin/msec +.br +The \fPmsec\fP executable (sh script) +.PP +/etc/security/msec/security.conf +.br +Contains the configuration of current active security level. + +.SH AUTHOR +Vandoorselaere Yoann, Mandrakesoft +.br +yoann@mandrakesoft.com + + + + + + + + + diff --git a/man/fr/init.sh.8 b/man/fr/init.sh.8 new file mode 100644 index 0000000..b81f417 --- /dev/null +++ b/man/fr/init.sh.8 @@ -0,0 +1,40 @@ +.TH init.sh 8 "15 Dec 1999" "Mandrakesoft" "Linux-Mandrake" +.IX msec +.SH NOM +msec \- Outils de sécurité Mandrake +.SH SYNOPSIS +.B init.sh +[0-5 | custom] +.SH DESCRIPTION +\fPinit.sh\fP est le script principal du paquetage msec. Il permet à l'administrateur système de changer le niveau de sécurité de ce système. +msec est fourni avec six niveaux de sécurité déjà configurés. Ces niveaux s'échelonnent d'une sécurité minimale favorisant la facilité d'utilisation, à la configuration paranoïaque convenant aux applications sensibles des serveurs administrés par des experts. +.PP +Vous devez être super-utilisateur (root) pour lancer \fPinit.sh\fP . +.br +Lancer "init.sh x" pour obtenir le niveau de sécurité x (x=[0-5]). Cela modifiera votre système vers les caractéristiques du niveau de sécurité x. +.br +Pour une description précise de chaque niveau de sécurité, consulter la documentation dans /usr/doc/msec-*/. +.PP +Si vous souhaitez définir votre propre niveau de sécurité, en définissant précisément tous les paramètres, lancer "init.sh custom". Il vous sera alors demander de choisir les caractéristiques à activer, qui seront ensuite appliquées au système. +.SH FICHIERS +/etc/security/msec/init.sh +.br +L'exécutable \fPinit.sh\fP (script sh) +.PP +/etc/security/msec/security.conf +.br +Contient la configuration du niveau de sécurité actuel. + +.SH AUTEUR +Vandoorselaere Yoann, Mandrakesoft +.br +yoann@mandrakesoft.com + + + + + + + + + diff --git a/msec.spec b/msec.spec index cd7ced4..89da39c 100644 --- a/msec.spec +++ b/msec.spec @@ -38,7 +38,12 @@ install -m 755 init-sh/*.sh cron-sh/*.sh $RPM_BUILD_ROOT/usr/share/msec install -m 755 init-sh/msec $RPM_BUILD_ROOT/usr/sbin install -m 644 conf/perm.* conf/server.* $RPM_BUILD_ROOT/etc/security/msec install -m 755 src/promisc_check/promisc_check src/msec_find/msec_find $RPM_BUILD_ROOT/usr/bin -install -m 644 doc/*8 $RPM_BUILD_ROOT%{_mandir}/man8/ +install -m 644 man/C/*8 $RPM_BUILD_ROOT%{_mandir}/man8/ + +for i in man/??* ; do \ + install -d $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8 ; \ + install -m 644 $i/*.8 $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8 ; \ +done touch $RPM_BUILD_ROOT/etc/security/msec/security.conf $RPM_BUILD_ROOT/var/log/security.log @@ -53,7 +58,9 @@ rm -rf $RPM_BUILD_ROOT %_bindir/msec_find %_sbindir/msec %_datadir/msec -%_mandir/*/* +%_mandir/man*/* +# find_lang can't find man pages :-( +%lang(fr) %_mandir/fr/man*/* %config(noreplace) /var/log/security.log %config(noreplace) /var/log/security -- cgit v1.2.1