qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r1084282 - in /qpid/trunk: .gitignore qpid/cpp/docs/man/Makefile.am qpid/cpp/docs/man/qpidd.1 qpid/cpp/docs/man/qpidd.x qpid/cpp/src/Makefile.am
Date Tue, 22 Mar 2011 18:26:15 GMT
Author: aconway
Date: Tue Mar 22 18:26:14 2011
New Revision: 1084282

URL: http://svn.apache.org/viewvc?rev=1084282&view=rev
QPID-3160: Check in pre-generated man page

Previously the man page was generated automatically from the output of
qpidd --help. To make a distribution, you had to build the entire
source tree just to generate the man page.  This automation was of
limited value as the core broker options do not change often.

This commit includes a pre-generated man page. At each release we will
manually re-generate and check in a new man page. Instructions are
provided in docs/man/Makefile.am


Modified: qpid/trunk/.gitignore
URL: http://svn.apache.org/viewvc/qpid/trunk/.gitignore?rev=1084282&r1=1084281&r2=1084282&view=diff
--- qpid/trunk/.gitignore (original)
+++ qpid/trunk/.gitignore Tue Mar 22 18:26:14 2011
@@ -6,9 +6,9 @@
 # to you under the Apache License, Version 2.0 (the
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #   http://www.apache.org/licenses/LICENSE-2.0
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
@@ -35,7 +35,6 @@ autom4te.cache

Modified: qpid/trunk/qpid/cpp/docs/man/Makefile.am
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/docs/man/Makefile.am?rev=1084282&r1=1084281&r2=1084282&view=diff
--- qpid/trunk/qpid/cpp/docs/man/Makefile.am (original)
+++ qpid/trunk/qpid/cpp/docs/man/Makefile.am Tue Mar 22 18:26:14 2011
@@ -16,10 +16,27 @@
 # specific language governing permissions and limitations
 # under the License.
+# Generate makefile from qpidd --help
+# Note: qiddd.1 is normally a _checked in_ pre-generated file, so that
+# make dist does not have to build the entire source just for the man page.
+# To update the checked-in file (e.g. for a new release) do the following:
+# - start with a completely clean checkout.
+# - make sure there are no modules installed in your configured prefix,
+#   we don't want to pick up configuration from optional modules
+# - do bootstrap; configure
+# - in build-dir: cd src; make # build the broker
+# - in source-dir: cd docs/man; rm qpidd.1 # remove checked-in man page.
+# - in build-dir: cd docs/man; make # make new man page
+# - if source-dir != build-dir: copy qpidd.1 from build-dir/docs/man to source-dir/docs/man
 dist_man_MANS = qpidd.1
-man_aux = $(dist_man_MANS:.1=.x) 
-EXTRA_DIST = $(man_aux) generate_manpage groffify_options.sed groffify_template.sed 
+man_aux = $(dist_man_MANS:.1=.x)
+EXTRA_DIST = $(man_aux) generate_manpage groffify_options.sed groffify_template.sed

Added: qpid/trunk/qpid/cpp/docs/man/qpidd.1
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/docs/man/qpidd.1?rev=1084282&view=auto
--- qpid/trunk/qpid/cpp/docs/man/qpidd.1 (added)
+++ qpid/trunk/qpid/cpp/docs/man/qpidd.1 Tue Mar 22 18:26:14 2011
@@ -0,0 +1,292 @@
+.TH QPIDD "1" "March 2011" "qpidd (qpidc) version 0.11" "User Commands"
+qpidd \- the Qpid AMQP Message Broker Daemon
+qpidd [-p port] [--config config_file] [--data-dir directory]
+An AMQP message broker daemon that stores, routes and forwards
+messages using the Advanced Message Queueing Protocol (AMQP).
+The options below are built-in to qpidd. Installing add-on modules provides additional options.
To see the full set of options available type "qpidd --help"
+Options may be specified via command line, environment variable or configuration file. See
FILES and ENVIRONMENT below for details.
+.SS Options
+\-h [ \-\-help ]
+Displays the 
+help message
+\-v [ \-\-version ]
+Displays version
+\-\-config FILE (/home/remote/aconway/install/etc/qpidd.conf)
+Reads configurat
+ion from FILE
+.SS Module options
+\-\-module\-dir DIR (/home/remote/aconway/install/lib/qpid/daemon)
+Load all 
+modules in 
+this directo
+\-\-load\-module FILE
+module(s) to
+be loaded
+Don't load 
+modules from
+.SS Broker Options
+\-\-data\-dir DIR (/home/remote/aconway/.qpidd)
+Directory to contain 
+persistent data generated
+by the broker
+Don't use a data 
+directory.  No persistent
+configuration will be 
+loaded or stored
+\-p [ \-\-port ] PORT (5672)
+Tells the broker to 
+listen on PORT
+\-\-worker\-threads N (9)
+Sets the broker thread 
+pool size
+\-\-max\-connections N (500)
+Sets the maximum allowed 
+\-\-connection\-backlog N (10)
+Sets the connection 
+backlog limit for the 
+server socket
+\-m [ \-\-mgmt\-enable ] yes|no (1)
+Enable Management
+\-\-mgmt\-qmf2 yes|no (1)
+Enable broadcast of 
+management information 
+over QMF v2
+\-\-mgmt\-qmf1 yes|no (1)
+Enable broadcast of 
+management information 
+over QMF v1
+\-\-mgmt\-pub\-interval SECONDS (10)
+Management Publish 
+\-\-queue\-purge\-interval SECONDS (600)
+Interval between attempts
+to purge any expired 
+messages from queues
+\-\-auth yes|no (1)
+Enable authentication, if
+disabled all incoming 
+connections will be 
+\-\-realm REALM (QPID)
+Use the given realm when 
+performing authentication
+\-\-default\-queue\-limit BYTES (104857600)
+Default maximum size for 
+queues (in bytes)
+Only accept connections 
+that are encrypted
+\-\-known\-hosts\-url URL or \&'none'                     URL to send as 
+\&'known\-hosts' to clients 
+(\&'none' implies empty 
+\-\-sasl\-config DIR
+gets sasl config info 
+from nonstandard location
+\-\-max\-session\-rate MESSAGES/S (0)
+Sets the maximum message 
+rate per session 
+\-\-async\-queue\-events yes|no (0)
+Set Queue Events async, 
+used for services like 
+\-\-default\-flow\-stop\-threshold %MESSAGES (80)
+Queue capacity level at 
+which flow control is 
+\-\-default\-flow\-resume\-threshold %MESSAGES (70)
+Queue capacity level at 
+which flow control is 
+\-\-default\-event\-threshold\-ratio %age of limit (80)
+The ratio of any 
+specified queue limit at 
+which an event will be 
+.SS Logging options
+\-t [ \-\-trace ]
+Enables all logging
+\-\-log\-enable RULE (notice+)
+Enables logging for selected levels 
+and components. RULE is in the form 
+\&'LEVEL[+][:PATTERN]' Levels are one 
+trace debug info notice warning 
+error critical
+For example:
+\&'\-\-log\-enable warning+' logs all 
+warning, error and critical messages.
+\&'\-\-log\-enable debug:framing' logs 
+debug messages from the framing 
+namespace. This option can be used 
+multiple times
+\-\-log\-time yes|no (1)
+Include time in log messages
+\-\-log\-level yes|no (1)
+Include severity level in log 
+\-\-log\-source yes|no (0)
+Include source file:line in log 
+\-\-log\-thread yes|no (0)
+Include thread ID in log messages
+\-\-log\-function yes|no (0)
+Include function signature in log 
+\-\-log\-prefix STRING
+Prefix to append to all log messages
+.SS Logging sink options
+\-\-log\-to\-stderr yes|no (1)
+Send logging output to stderr
+\-\-log\-to\-stdout yes|no (0)
+Send logging output to stdout
+\-\-log\-to\-file FILE
+Send log output to FILE.
+\-\-log\-to\-syslog yes|no (0)
+Send logging output to syslog;
+customize using \-\-syslog\-name and 
+\-\-syslog\-name NAME (lt\-qpidd)
+Name to use in syslog messages
+\-\-syslog\-facility LOG_XXX (LOG_DAEMON)
+Facility to use in syslog messages
+.SS Daemon options
+\-d [ \-\-daemon ]
+Run as a daemon. Logs to syslog 
+by default in this mode.
+\-\-transport TRANSPORT (tcp)
+The transport for which to 
+return the port
+\-\-pid\-dir DIR (/home/remote/aconway/.qpidd)
+Directory where port\-specific 
+PID file is stored
+\-w [ \-\-wait ] SECONDS (600)
+Sets the maximum wait time to 
+initialize the daemon. If the 
+daemon fails to initialize, 
+prints an error and returns 1
+\-c [ \-\-check ]
+Prints the daemon's process ID 
+to stdout and returns 0 if the 
+daemon is running, otherwise 
+returns 1
+\-q [ \-\-quit ]
+Tells the daemon to shut down
+.I /etc/qpidd.conf
+Default configuration file.
+Configuration file settings are over-ridden by command line or environment variable settings.
'--config <file>' or 'export QPID_CONFIG=<file>' specifies an alternate file.
+Each line is a name=value pair. Blank lines and lines beginning with # are ignored. For example:
+  # My qpidd configuration file.
+  port=6000
+  max-connections=10
+  log-to-file=/tmp/qpidd.log
+.I QPID_<option>
+There is an environment variable for each option.
+The environment variable is the option name in uppercase, prefixed with QPID_ and '.' or
'-' are replaced with '_'. Environment settings are over-ridden by command line settings.
For example:
+  export QPID_PORT=6000
+  export QPID_LOG_TO_FILE=/tmp/qpidd.log
+The Apache Qpid Project, dev@qpid.apache.org
+Please report bugs to users@qpid.apache.org

Modified: qpid/trunk/qpid/cpp/docs/man/qpidd.x
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/docs/man/qpidd.x?rev=1084282&r1=1084281&r2=1084282&view=diff
--- qpid/trunk/qpid/cpp/docs/man/qpidd.x (original)
+++ qpid/trunk/qpid/cpp/docs/man/qpidd.x Tue Mar 22 18:26:14 2011
@@ -13,6 +13,8 @@ messages using the Advanced Message Queu
+The options below are built-in to qpidd. Installing add-on modules provides additional options.
To see the full set of options available type "qpidd --help"
 Options may be specified via command line, environment variable or configuration file. See
FILES and ENVIRONMENT below for details.

Modified: qpid/trunk/qpid/cpp/src/Makefile.am
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/Makefile.am?rev=1084282&r1=1084281&r2=1084282&view=diff
--- qpid/trunk/qpid/cpp/src/Makefile.am (original)
+++ qpid/trunk/qpid/cpp/src/Makefile.am Tue Mar 22 18:26:14 2011
@@ -886,10 +886,6 @@ nobase_include_HEADERS +=			\
   ../include/qpid/types/Variant.h		\
-# Force build of qpidd during dist phase so help2man will work.
-dist-hook: $(BUILT_SOURCES)
-	$(MAKE) qpidd
 # Create the default data directory
 	$(mkinstalldirs) $(DESTDIR)/$(localstatedir)/lib/qpidd

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org

View raw message