From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id AA20C1F859; Mon, 22 Aug 2016 20:32:28 +0000 (UTC) Date: Mon, 22 Aug 2016 20:32:28 +0000 From: Eric Wong To: spew@80x24.org Subject: wip Message-ID: <20160822203228.GA22705@starla> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline List-Id: diff --git a/.gitignore b/.gitignore index 3b333a5..6a44471 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,6 @@ *.1 *.5 *.7 +*.8 *.html *.gz diff --git a/Documentation/.gitignore b/Documentation/.gitignore index 8ba4186..107ad36 100644 --- a/Documentation/.gitignore +++ b/Documentation/.gitignore @@ -1 +1 @@ -/public-inbox-mda.txt +/public-inbox-*.txt diff --git a/Documentation/include.mk b/Documentation/include.mk index 5d73028..99f3d43 100644 --- a/Documentation/include.mk +++ b/Documentation/include.mk @@ -16,33 +16,42 @@ podtext = $(PODTEXT) $(PODTEXT_OPTS) m1 = m1 += public-inbox-mda +m1 += public-inbox-httpd +m1 += public-inbox-nntpd m5 = +m5 += public-inbox-config m7 = +m8 = +m8 += public-inbox-daemon man1 := $(addsuffix .1, $(m1)) man5 := $(addsuffix .5, $(m5)) man7 := $(addsuffix .7, $(m7)) +man8 := $(addsuffix .8, $(m8)) all:: man html -man: $(man1) $(man5) $(man7) +man: $(man1) $(man5) $(man7) $(man8) prefix ?= $(HOME) mandir ?= $(prefix)/share/man man1dir = $(mandir)/man1 man5dir = $(mandir)/man5 man7dir = $(mandir)/man7 +man8dir = $(mandir)/man8 install-man: man test -z "$(man1)" || $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir) test -z "$(man5)" || $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir) test -z "$(man7)" || $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir) + test -z "$(man8)" || $(INSTALL) -d -m 755 $(DESTDIR)$(man8dir) test -z "$(man1)" || $(INSTALL) -m 644 $(man1) $(DESTDIR)$(man1dir) test -z "$(man5)" || $(INSTALL) -m 644 $(man5) $(DESTDIR)$(man5dir) test -z "$(man7)" || $(INSTALL) -m 644 $(man7) $(DESTDIR)$(man7dir) + test -z "$(man8)" || $(INSTALL) -m 644 $(man8) $(DESTDIR)$(man8dir) -%.1 : Documentation/%.pod - $(podman) -s 1 $< $@+ && mv $@+ $@ +%.1 %.5 %.7 %.8 : Documentation/%.pod + $(podman) -s $(suffix $@) $< $@+ && mv $@+ $@ mantxt = $(addprefix Documentation/, $(addsuffix .txt, $(m1))) docs += $(mantxt) diff --git a/Documentation/public-inbox-config.pod b/Documentation/public-inbox-config.pod new file mode 100644 index 0000000..c68eb61 --- /dev/null +++ b/Documentation/public-inbox-config.pod @@ -0,0 +1,59 @@ +=head1 NAME + +public-inbox-config - public-inbox config file layout + +=head1 SYNOPSIS + +~/.public-inbox/config + +=head1 DESCRIPTION + +The public-inbox config file is parseable by L. + +=head1 CONFIGURATION FILE + +=head2 EXAMPLE + + [publicinbox "test"] + ; multiple addresses are supported for migrations + address = test@example.com + mainrepo = /home/user/path/to/test.git + url = http://example.com/test + newsgroup = inbox.test + +=head2 VARIABLES + +=over 8 + +=item publicinbox..address + +The email address of the public-inbox. May be specified +more than once for merging multiple mailing lists into one. + +Default: (none) + +=item publicinbox..mainrepo + +The path to the git repository which hosts the public-inbox. + +Default: (none), required in all instances + +=back + +=head1 CONTACT + +All feedback welcome via plain-text mail to L + +The mail archives are hosted at L +and L + +=head1 COPYRIGHT + +Copyright 2013-2016 all contributors L + +License: AGPL-3.0+ L + +=head1 SEE ALSO + +L, L, L, +L diff --git a/Documentation/public-inbox-daemon.pod b/Documentation/public-inbox-daemon.pod new file mode 100644 index 0000000..4f22a5c --- /dev/null +++ b/Documentation/public-inbox-daemon.pod @@ -0,0 +1,62 @@ +=head1 NAME + +public-inbox-daemon - common daemon documentation for public-inbox + +=head1 SYNOPSIS + +B +B + +=head1 DESCRIPTION + +Common daemon options and behavior for public-inbox network daemons. +Network daemons for public-inbox provide NNTP and HTTP access +to repositories. + +=head1 O + +=head1 SIGNALS + +=over 8 + +=item SIGUSR1 + +Reopens log files pointed to by --stdout and --stderr options. + + + + +=back + +=head1 ENVIRONMENT + +=over 8 + +=item PI_CONFIG + +config file. default: ~/.public-inbox/config +See L + +=item LISTEN_FDS, LISTEN_PID + +Used by systemd (and compatible) installations. +See L + +=back + +=head1 CONTACT + +All feedback welcome via plain-text mail to L + +The mail archives are hosted at L +and L + +=head1 COPYRIGHT + +Copyright 2013-2016 all contributors L + +License: AGPL-3.0+ L + +=head1 SEE ALSO + +L, L diff --git a/Documentation/public-inbox-httpd.pod b/Documentation/public-inbox-httpd.pod new file mode 100644 index 0000000..34f057b --- /dev/null +++ b/Documentation/public-inbox-httpd.pod @@ -0,0 +1,34 @@ +=head1 NAME + +public-inbox-httpd - PSGI server optimized for public-inbox + +=head1 SYNOPSIS + +B [OPTIONS] [/path/to/myapp.psgi] + +=head1 DESCRIPTION + +public-inbox-httpd is a PSGI/Plack server supporting HTTP/1.1. +It uses options and environment variables common to all +L implementations. +This may point to a PSGI file for supporting generic PSGI applications. +If a PSGI file is not specified, L is loaded +with default middleware. + +=head1 CONTACT + +All feedback welcome via plain-text mail to L + +The mail archives are hosted at L +and L + +=head1 COPYRIGHT + +Copyright 2013-2016 all contributors L + +License: AGPL-3.0+ L + +=head1 SEE ALSO + +L, L, L, +L diff --git a/Documentation/public-inbox-nntpd.pod b/Documentation/public-inbox-nntpd.pod new file mode 100644 index 0000000..40b6b8b --- /dev/null +++ b/Documentation/public-inbox-nntpd.pod @@ -0,0 +1,31 @@ +=head1 NAME + +public-inbox-nntpd - NNTP server for sharing public-inbox + +=head1 SYNOPSIS + +B [OPTIONS] + +=head1 DESCRIPTION + +public-inbox-nntpd provides a NNTP daemon for public-inbox. +It uses options and environment variables common to all +L implementations. + +=head1 CONTACT + +All feedback welcome via plain-text mail to L + +The mail archives are hosted at L, +L, +L + +=head1 COPYRIGHT + +Copyright 2013-2016 all contributors L + +License: AGPL-3.0+ L + +=head1 SEE ALSO + +L, L, L