[Pkg-sks-commit] r99 - sks/trunk/sks/debian

chrism at alioth.debian.org chrism at alioth.debian.org
Thu Jun 19 14:58:09 UTC 2008


Author: chrism
Date: 2008-06-19 14:58:08 +0000 (Thu, 19 Jun 2008)
New Revision: 99

Added:
   sks/trunk/sks/debian/sks.8
Modified:
   sks/trunk/sks/debian/rules
   sks/trunk/sks/debian/sks.dirs
   sks/trunk/sks/debian/sks.init
Log:
[project @ 100]
mv sks into sbin where it belongs (i wonder why i left it in bin)
+ a fake manpage. I am sick of lintian bitching about it

Original author: fabbione
Date: 2003-12-10 06:16:08.493829+00:00

Modified: sks/trunk/sks/debian/rules
===================================================================
--- sks/trunk/sks/debian/rules	2008-06-19 14:57:46 UTC (rev 98)
+++ sks/trunk/sks/debian/rules	2008-06-19 14:58:08 UTC (rev 99)
@@ -33,11 +33,11 @@
 	dh_clean -k
 	dh_installdirs
 	dh_installdocs
-	dh_installman
+	dh_installman debian/sks.8
 	dh_installchangelogs
 
 	# from upstream
-	install -m 755 $(BUILD_TREE)/sks debian/sks/usr/bin/sks
+	install -m 755 $(BUILD_TREE)/sks debian/sks/usr/sbin/sks
 	install -m 755 $(BUILD_TREE)/sks_add_mail debian/sks/usr/lib/sks/sks_add_mail
 	install -m 755 $(BUILD_TREE)/sks_build.sh debian/sks/usr/share/sks/sks_build.sh
 

Added: sks/trunk/sks/debian/sks.8
===================================================================
--- sks/trunk/sks/debian/sks.8	                        (rev 0)
+++ sks/trunk/sks/debian/sks.8	2008-06-19 14:58:08 UTC (rev 99)
@@ -0,0 +1,55 @@
+.TH sks 8
+.SH NAME
+modules-config \- reconfigure the Apache webserver modules list
+.SH SYNOPSIS
+.B modules-config
+apache | apache-ssl | apache-perl [options]
+.SH "DESCRIPTION"
+This command is meant to be a simple interface between sysadmins
+and apache (in all it's flavours) to administer which modules has to
+be loaded or not. It automatically creates a new config file located
+in /etc/apache{-perl,-ssl}/modules.conf and it will cleanup httpd.conf
+from all the LoadModules entries that are Debian standards without
+modifing any custom one. In order for modules-config to recognize
+a module, this needs to have a correctly formatted .info file
+in /usr/lib/apache/1.3/
+.PP
+.B Note:
+modules-config obsoletes apacheconfig, apache-sslconfig and
+apache-perlconfig
+.SH OPTIONS
+A summary of options are included below.
+.TP
+.B enable <module_name>
+this will automatically enable the module in the selection list
+and ask if the specified flavour of apache should be restarted.
+module_name has to match the same as specified in the .info filename.
+.PP
+Example: modules-config apache enable mod_php4
+.TP
+.B disable <module_name> [quiet]
+this will automatically disable the module in the selection list
+and ask if the specified flavour of apache should be restarted.
+The quite option will not prompt for any selection but it will just
+do the work (usefull only when called by other scripts).
+.PP
+Example: modules-config apache-ssl disable mod_perl quiet
+.PP
+.B Note:
+use of the quiet options should be done very carefully since
+a sysadmin should always be able to verify what has been changed
+in the configuration.
+.SH NOTES
+In order for modules-config to be able to recongnize a module,
+the latter should be provided with an .info file installed
+in /usr/lib/apache/1.3. The minimum requirement for a .info
+file to be valid is its first line, that should contain
+the LoadModule information. Ex:
+.PP
+LoadModule: urlcount_module /usr/lib/apache/1.3/mod_urlcount.so
+.PP
+at this point in time no other entries are processed.
+.SH AUTHOR
+This program and manual page was written by Fabio M. Di Nitto
+<fabbione at fabbione.net>, for the Debian GNU/Linux system
+(but may be used by others).

Modified: sks/trunk/sks/debian/sks.dirs
===================================================================
--- sks/trunk/sks/debian/sks.dirs	2008-06-19 14:57:46 UTC (rev 98)
+++ sks/trunk/sks/debian/sks.dirs	2008-06-19 14:58:08 UTC (rev 99)
@@ -1,5 +1,5 @@
 etc/sks
-usr/bin
+usr/sbin
 usr/lib/sks
 usr/share/sks
 var/lib/sks/dump

Modified: sks/trunk/sks/debian/sks.init
===================================================================
--- sks/trunk/sks/debian/sks.init	2008-06-19 14:57:46 UTC (rev 98)
+++ sks/trunk/sks/debian/sks.init	2008-06-19 14:58:08 UTC (rev 99)
@@ -7,7 +7,7 @@
 # Reads config file
 [ -r /etc/default/sks ] && . /etc/default/sks
 
-DAEMON=/usr/bin/sks
+DAEMON=/usr/sbin/sks
 SKSDBPID=/var/run/sks/sksdb.pid
 SKSRECONPID=/var/run/sks/sksrecon.pid
 




More information about the Pkg-sks-commit mailing list