Hi,

the rsyslogd comes with basic man pages that reference to extensive
documentation in html format.  Unfortunately it gets not installed.
As it is large, I created a -docs subpackage.  While there adjust
the wantlib.

ok?

bluhm

Index: sysutils/rsyslog/Makefile
===================================================================
RCS file: /data/mirror/openbsd/cvs/ports/sysutils/rsyslog/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- sysutils/rsyslog/Makefile   13 Sep 2014 18:09:22 -0000      1.20
+++ sysutils/rsyslog/Makefile   26 Dec 2014 22:31:56 -0000
@@ -6,20 +6,23 @@ BROKEN-mips64 =               lack of atomic ops
 SHARED_ONLY =          Yes
 
 COMMENT-main =         syslog daemon supporting databases, TCP, SSL, RELP
+COMMENT-docs =         additional html documentation for rsyslog
 COMMENT-mysql =                mysql plugin for rsyslog
 COMMENT-pgsql =                postgresql plugin for rsyslog
 
-MULTI_PACKAGES =       -main -mysql -pgsql
+MULTI_PACKAGES =       -main -docs -mysql -pgsql
 
 V =                    4.6.4
 DISTNAME =             rsyslog-$V
 PKGNAME-main =         rsyslog-$V
+PKGNAME-docs =         rsyslog-docs-$V
 PKGNAME-mysql =                rsyslog-mysql-$V
 PKGNAME-pgsql =                rsyslog-pgsql-$V
 CATEGORIES =           sysutils
 
-REVISION-main =                5
-REVISION-mysql =       5
+REVISION-main =                6
+REVISION-docs =                0
+REVISION-mysql =       6
 REVISION-pgsql =       3
 
 HOMEPAGE =             http://www.rsyslog.com/
@@ -29,9 +32,9 @@ PERMIT_PACKAGE_CDROM =        Yes
 
 MODULES =              devel/gettext
 
-WANTLIB-main +=                c gmp hogweed nettle gnutls pthread p11-kit
+WANTLIB-main +=                c gmp hogweed nettle ffi gnutls pthread p11-kit
 WANTLIB-main +=                relp tasn1 z ${MODGETTEXT_WANTLIB}
-WANTLIB-mysql +=       crypto m mysqlclient ssl z
+WANTLIB-mysql +=       crypto m mysqlclient ssl z pthread stdc++
 WANTLIB-pgsql +=       crypto pq ssl
 
 LIB_DEPENDS-main =     security/gnutls \
Index: sysutils/rsyslog/patches/patch-doc_Makefile_in
===================================================================
RCS file: sysutils/rsyslog/patches/patch-doc_Makefile_in
diff -N sysutils/rsyslog/patches/patch-doc_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/rsyslog/patches/patch-doc_Makefile_in      26 Dec 2014 22:07:27 
-0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- doc/Makefile.in.orig       Thu Aug  5 11:39:55 2010
++++ doc/Makefile.in    Fri Dec 26 22:53:16 2014
+@@ -521,3 +521,9 @@ uninstall-am:
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
++
++install-data-am:
++      mkdir "$(DESTDIR)$(htmldir)"
++.for f in $(html_files) $(grfx_files)
++      $(INSTALL_DATA) $f "$(DESTDIR)$(htmldir)"
++.endfor
Index: sysutils/rsyslog/pkg/DESCR-docs
===================================================================
RCS file: sysutils/rsyslog/pkg/DESCR-docs
diff -N sysutils/rsyslog/pkg/DESCR-docs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/rsyslog/pkg/DESCR-docs     26 Dec 2014 22:14:15 -0000
@@ -0,0 +1 @@
+Additional rsyslog documentation in HTML format.
Index: sysutils/rsyslog/pkg/PLIST-docs
===================================================================
RCS file: sysutils/rsyslog/pkg/PLIST-docs
diff -N sysutils/rsyslog/pkg/PLIST-docs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/rsyslog/pkg/PLIST-docs     26 Dec 2014 22:11:23 -0000
@@ -0,0 +1,129 @@
+@comment $OpenBSD$
+share/doc/rsyslog/
+share/doc/rsyslog/bugs.html
+share/doc/rsyslog/build_from_repo.html
+share/doc/rsyslog/classes.dia
+share/doc/rsyslog/contributors.html
+share/doc/rsyslog/dataflow.png
+share/doc/rsyslog/debug.html
+share/doc/rsyslog/dev_queue.html
+share/doc/rsyslog/direct_queue0.png
+share/doc/rsyslog/direct_queue1.png
+share/doc/rsyslog/direct_queue2.png
+share/doc/rsyslog/direct_queue3.png
+share/doc/rsyslog/direct_queue_directq.png
+share/doc/rsyslog/direct_queue_rsyslog.png
+share/doc/rsyslog/direct_queue_rsyslog2.png
+share/doc/rsyslog/droppriv.html
+share/doc/rsyslog/expression.html
+share/doc/rsyslog/features.html
+share/doc/rsyslog/generic_design.html
+share/doc/rsyslog/gssapi.html
+share/doc/rsyslog/gssapi.png
+share/doc/rsyslog/history.html
+share/doc/rsyslog/how2help.html
+share/doc/rsyslog/im3195.html
+share/doc/rsyslog/imfile.html
+share/doc/rsyslog/imgssapi.html
+share/doc/rsyslog/imklog.html
+share/doc/rsyslog/imrelp.html
+share/doc/rsyslog/imtcp.html
+share/doc/rsyslog/imuxsock.html
+share/doc/rsyslog/index.html
+share/doc/rsyslog/install.html
+share/doc/rsyslog/ipv6.html
+share/doc/rsyslog/licensing.html
+share/doc/rsyslog/log_rotation_fix_size.html
+share/doc/rsyslog/manual.html
+share/doc/rsyslog/modules.html
+share/doc/rsyslog/multi_ruleset.html
+share/doc/rsyslog/netstream.html
+share/doc/rsyslog/ns_gtls.html
+share/doc/rsyslog/ns_ptcp.html
+share/doc/rsyslog/omlibdbi.html
+share/doc/rsyslog/ommail.html
+share/doc/rsyslog/ommysql.html
+share/doc/rsyslog/omoracle.html
+share/doc/rsyslog/omrelp.html
+share/doc/rsyslog/omsnmp.html
+share/doc/rsyslog/property_replacer.html
+share/doc/rsyslog/queueWorkerLogic.dia
+share/doc/rsyslog/queueWorkerLogic.jpg
+share/doc/rsyslog/queueWorkerLogic_small.jpg
+share/doc/rsyslog/queue_analogy_tv.png
+share/doc/rsyslog/queues.html
+share/doc/rsyslog/queues_analogy.html
+share/doc/rsyslog/rainerscript.html
+share/doc/rsyslog/rsconf1_actionexeconlywhenpreviousissuspended.html
+share/doc/rsyslog/rsconf1_actionresumeinterval.html
+share/doc/rsyslog/rsconf1_allowedsender.html
+share/doc/rsyslog/rsconf1_controlcharacterescapeprefix.html
+share/doc/rsyslog/rsconf1_debugprintcfsyslinehandlerlist.html
+share/doc/rsyslog/rsconf1_debugprintmodulelist.html
+share/doc/rsyslog/rsconf1_debugprinttemplatelist.html
+share/doc/rsyslog/rsconf1_dircreatemode.html
+share/doc/rsyslog/rsconf1_dirgroup.html
+share/doc/rsyslog/rsconf1_dirowner.html
+share/doc/rsyslog/rsconf1_dropmsgswithmaliciousdnsptrrecords.html
+share/doc/rsyslog/rsconf1_droptrailinglfonreception.html
+share/doc/rsyslog/rsconf1_dynafilecachesize.html
+share/doc/rsyslog/rsconf1_escapecontrolcharactersonreceive.html
+share/doc/rsyslog/rsconf1_failonchownfailure.html
+share/doc/rsyslog/rsconf1_filecreatemode.html
+share/doc/rsyslog/rsconf1_filegroup.html
+share/doc/rsyslog/rsconf1_fileowner.html
+share/doc/rsyslog/rsconf1_generateconfiggraph.html
+share/doc/rsyslog/rsconf1_gssforwardservicename.html
+share/doc/rsyslog/rsconf1_gsslistenservicename.html
+share/doc/rsyslog/rsconf1_gssmode.html
+share/doc/rsyslog/rsconf1_includeconfig.html
+share/doc/rsyslog/rsconf1_mainmsgqueuesize.html
+share/doc/rsyslog/rsconf1_markmessageperiod.html
+share/doc/rsyslog/rsconf1_moddir.html
+share/doc/rsyslog/rsconf1_modload.html
+share/doc/rsyslog/rsconf1_repeatedmsgreduction.html
+share/doc/rsyslog/rsconf1_resetconfigvariables.html
+share/doc/rsyslog/rsconf1_umask.html
+share/doc/rsyslog/rscript_abnf.html
+share/doc/rsyslog/rsyslog-example.conf
+share/doc/rsyslog/rsyslog-vers.png
+share/doc/rsyslog/rsyslog_conf.html
+share/doc/rsyslog/rsyslog_conf_actions.html
+share/doc/rsyslog/rsyslog_conf_examples.html
+share/doc/rsyslog/rsyslog_conf_filter.html
+share/doc/rsyslog/rsyslog_conf_global.html
+share/doc/rsyslog/rsyslog_conf_modules.html
+share/doc/rsyslog/rsyslog_conf_nomatch.html
+share/doc/rsyslog/rsyslog_conf_output.html
+share/doc/rsyslog/rsyslog_conf_templates.html
+share/doc/rsyslog/rsyslog_confgraph_complex.png
+share/doc/rsyslog/rsyslog_confgraph_std.png
+share/doc/rsyslog/rsyslog_high_database_rate.html
+share/doc/rsyslog/rsyslog_mysql.html
+share/doc/rsyslog/rsyslog_ng_comparison.html
+share/doc/rsyslog/rsyslog_packages.html
+share/doc/rsyslog/rsyslog_pgsql.html
+share/doc/rsyslog/rsyslog_php_syslog_ng.html
+share/doc/rsyslog/rsyslog_recording_pri.html
+share/doc/rsyslog/rsyslog_reliable_forwarding.html
+share/doc/rsyslog/rsyslog_secure_tls.html
+share/doc/rsyslog/rsyslog_stunnel.html
+share/doc/rsyslog/rsyslog_tls.html
+share/doc/rsyslog/syslog_parsing.html
+share/doc/rsyslog/syslog_protocol.html
+share/doc/rsyslog/tls_cert.dia
+share/doc/rsyslog/tls_cert.jpg
+share/doc/rsyslog/tls_cert_100.jpg
+share/doc/rsyslog/tls_cert_ca.html
+share/doc/rsyslog/tls_cert_ca.jpg
+share/doc/rsyslog/tls_cert_client.html
+share/doc/rsyslog/tls_cert_errmsgs.html
+share/doc/rsyslog/tls_cert_machine.html
+share/doc/rsyslog/tls_cert_scenario.html
+share/doc/rsyslog/tls_cert_server.html
+share/doc/rsyslog/tls_cert_summary.html
+share/doc/rsyslog/tls_cert_udp_relay.html
+share/doc/rsyslog/troubleshoot.html
+share/doc/rsyslog/v3compatibility.html
+share/doc/rsyslog/v4compatibility.html
+share/doc/rsyslog/version_naming.html

Reply via email to