aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rsyslog8
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2017-08-02 11:30:46 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2017-08-02 11:30:46 +0000
commit1a92660dea3faa2027e28fe44089fbf46519b143 (patch)
treef144c88e6013b4e526a536d2e1be5cc11425a2d5 /sysutils/rsyslog8
parent3b9c4e051494f934a0d6ff31c9ed2d1d22cbb94f (diff)
downloadports-1a92660dea3faa2027e28fe44089fbf46519b143.tar.gz
ports-1a92660dea3faa2027e28fe44089fbf46519b143.zip
Notes
Diffstat (limited to 'sysutils/rsyslog8')
-rw-r--r--sysutils/rsyslog8/Makefile37
1 files changed, 21 insertions, 16 deletions
diff --git a/sysutils/rsyslog8/Makefile b/sysutils/rsyslog8/Makefile
index 77bdb9ec066f..723bac775481 100644
--- a/sysutils/rsyslog8/Makefile
+++ b/sysutils/rsyslog8/Makefile
@@ -20,6 +20,8 @@ BUILD_DEPENDS= rst2man:textproc/py-docutils
PORTSCOUT= limit:^8\.
+USES= libtool pkgconfig autoreconf
+
USE_LDCONFIG= yes
CONFLICTS_BUILD= libinotify-*
@@ -29,69 +31,66 @@ OPTIONS_DEFINE= DBI DOCS ELASTIC GCRYPT GNUTLS GSSAPI JSONPARSE MYSQL PGSQL \
OPTIONS_DEFAULT=GCRYPT
OPTIONS_SUB= yes
-DBI_DESC= LibDBI output module for rsyslog
-ELASTIC_DESC= Elasticsearch module for rsyslog
-GCRYPT_DESC= Enable support for encrypted logfiles
-GNUTLS_DESC= GNUTLS module for rsyslog
-GSSAPI_DESC= GSS API input/output module for rsyslog
-JSONPARSE_DESC= JSONPARSE module for rsyslog
-MYSQL_DESC= MySQL output module for rsyslog
-PGSQL_DESC= PostgreSQL output module for rsyslog
-RELP_DESC= RELP input/output module for rsyslog
-SNMP_DESC= SNMP trap sender for rsyslog
-NORMALIZE_DESC= Message normalization module for rsyslog
-
-USES= libtool pkgconfig autoreconf
-
+DBI_DESC= LibDBI output module for rsyslog
DBI_LIB_DEPENDS= libdbi.so:databases/libdbi
DBI_CONFIGURE_ENABLE= libdbi
DBI_PLIST_FILES= lib/rsyslog/omlibdbi.so
+ELASTIC_DESC= Elasticsearch module for rsyslog
ELASTIC_CONFIGURE_ENABLE= elasticsearch
ELASTIC_LIB_DEPENDS= libcurl.so:ftp/curl
ELASTIC_PLIST_FILES= lib/rsyslog/omelasticsearch.so
+GCRYPT_DESC= Enable support for encrypted logfiles
GCRYPT_CONFIGURE_ENABLE=libgcrypt
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
GCRYPT_BUILD_DEPENDS= libgcrypt-config:security/libgcrypt
+GNUTLS_DESC= GNUTLS module for rsyslog
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_IMPLIES= GCRYPT
GNUTLS_CONFIGURE_ENABLE=gnutls
GNUTLS_PLIST_FILES= lib/rsyslog/lmnsd_gtls.so
+GSSAPI_DESC= GSS API input/output module for rsyslog
GSSAPI_CONFIGURE_ENABLE=gssapi-krb5
GSSAPI_PLIST_FILES= lib/rsyslog/imgssapi.so \
lib/rsyslog/lmgssutil.so \
lib/rsyslog/omgssapi.so
+JSONPARSE_DESC= JSONPARSE module for rsyslog
JSONPARSE_CONFIGURE_ENABLE= mmjsonparse
JSONPARSE_PLIST_FILES= lib/rsyslog/mmjsonparse.so
+MYSQL_DESC= MySQL output module for rsyslog
MYSQL_USES= mysql
MYSQL_CONFIGURE_ENABLE= mysql
MYSQL_PLIST_FILES= lib/rsyslog/ommysql.so
+MYSQL_PORTDOCS= plugins/ommysql/createDB.sql
+PGSQL_DESC= PostgreSQL output module for rsyslog
PGSQL_USES= pgsql
PGSQL_CONFIGURE_ENABLE= pgsql
PGSQL_PLIST_FILES= lib/rsyslog/ompgsql.so
+PGSQL_PORTDOCS= plugins/ompgsql/createDB.sql
+RELP_DESC= RELP input/output module for rsyslog
RELP_LIB_DEPENDS= librelp.so:devel/librelp
RELP_CONFIGURE_ENABLE= relp
RELP_PLIST_FILES= lib/rsyslog/imrelp.so \
lib/rsyslog/omrelp.so
+SNMP_DESC= SNMP trap sender for rsyslog
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
SNMP_CONFIGURE_ENABLE= snmp
SNMP_PLIST_FILES= lib/rsyslog/omsnmp.so
+NORMALIZE_DESC= Message normalization module for rsyslog
NORMALIZE_LIB_DEPENDS= liblognorm.so:devel/liblognorm
NORMALIZE_CONFIGURE_ENABLE= mmnormalize
NORMALIZE_PLIST_FILES= lib/rsyslog/mmnormalize.so
-.include <bsd.port.options.mk>
-
.ifdef WITH_MYSQL_MICROSECONDS
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mysql-microseconds
.endif
@@ -135,4 +134,10 @@ post-patch:
.endif
@${FIND} ${WRKSRC} -name '*.bak' -delete
+post-install-DOCS-on:
+.for SQL in ${PORTDOCS:M*.sql}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/${SQL:H}
+ @${INSTALL_DATA} ${WRKSRC}/${SQL} ${STAGEDIR}${DOCSDIR}/${SQL}
+.endfor
+
.include <bsd.port.post.mk>