From owner-svn-ports-all@freebsd.org Wed Aug 2 11:30:47 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2C10DCDE08; Wed, 2 Aug 2017 11:30:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C94218DB; Wed, 2 Aug 2017 11:30:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v72BUkYj092639; Wed, 2 Aug 2017 11:30:46 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v72BUkWu092638; Wed, 2 Aug 2017 11:30:46 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201708021130.v72BUkWu092638@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Wed, 2 Aug 2017 11:30:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447100 - head/sysutils/rsyslog8 X-SVN-Group: ports-head X-SVN-Commit-Author: matthew X-SVN-Commit-Paths: head/sysutils/rsyslog8 X-SVN-Commit-Revision: 447100 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2017 11:30:47 -0000 Author: matthew Date: Wed Aug 2 11:30:46 2017 New Revision: 447100 URL: https://svnweb.freebsd.org/changeset/ports/447100 Log: Appease portlint by reordering some items in the Makefile Group FOO_DESC with all the other options helpers for option FOO When DOCS are enabled and one or both of MYSQL and PGSQL options are selected, install the corresponding createDB.sql file for generating the DB schema rsyslog expects [1] PR: 221012 Reported by: rainer@ultra-secure.de [1] Modified: head/sysutils/rsyslog8/Makefile Modified: head/sysutils/rsyslog8/Makefile ============================================================================== --- head/sysutils/rsyslog8/Makefile Wed Aug 2 09:58:24 2017 (r447099) +++ head/sysutils/rsyslog8/Makefile Wed Aug 2 11:30:46 2017 (r447100) @@ -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 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 - .ifdef WITH_MYSQL_MICROSECONDS EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mysql-microseconds .endif @@ -134,5 +133,11 @@ post-patch: @${REINPLACE_CMD} -e 's,recvmmsg ,,' ${WRKSRC}/configure.ac .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