[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#359008: apache2-common: patch for correct usage in /usr/sbin/apache2ctl

Package: apache2-common
Version: 2.0.54-5
Followup-For: Bug #359008

Here is a patch so that apache2ctl returns the correct usage message,
when passed an invalid option.  (It currents returns the usage message
for /usr/sbin/apache2).

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apache2-common depends on:
ii  apache2-utils         2.0.54-5           utility programs for webservers
ii  debconf               Debian configuration management sy
ii  debianutils           2.8.4              Miscellaneous utilities specific t
ii  libc6                 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii  libdb4.2              4.2.52-18          Berkeley v4.2 Database Libraries [
ii  libexpat1             1.95.8-3           XML parsing C library - runtime li
ii  libgcc1               1:3.4.3-13         GCC support library
ii  libmagic1             4.12-1             File type determination library us
ii  mime-support          3.28-1             MIME files 'mime.types' & 'mailcap
ii  net-tools             1.60-10            The NET-3 networking toolkit
ii  openssl               0.9.7e-3sarge1     Secure Socket Layer (SSL) binary a
ii  ssl-cert              1.0-11             Simple debconf wrapper for openssl

-- no debconf information
--- /usr/sbin/apache2ctl	2005-09-05 06:10:28.000000000 -0500
+++ apache2ctl	2006-06-18 07:36:46.555588936 -0500
@@ -95,7 +95,7 @@
+    echo "Usage: /usr/sbin/apache2ctl start|stop|restart|graceful|startssl|configtest|status|fullstatus" >&2

Reply to: