Date: Tue, 30 Dec 2008 03:25:48 GMT From: Cristiano Rolim Pereira <cristianorolim@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/130046: new ports: slave ports for sysutils/rsyslog4 Message-ID: <200812300325.mBU3PmPa085210@www.freebsd.org> Resent-Message-ID: <200812300330.mBU3U3c8035658@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130046 >Category: ports >Synopsis: new ports: slave ports for sysutils/rsyslog4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 30 03:30:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Cristiano Rolim Pereira >Release: 7.0-RELEASE >Organization: >Environment: FreeBSD freebsd7.casa 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #1: Wed Nov 19 11:43:40 BRST 2008 root@freebsd7.casa:/usr/src/sys/i386/compile/BSD i386 >Description: New slave ports for sysutils/rsyslog4: sysutils/rsyslog4-dbi sysutils/rsyslog4-gnutls sysutils/rsyslog4-gssapi sysutils/rsyslog4-mysql sysutils/rsyslog4-pgsql sysutils/rsyslog4-relp sysutils/rsyslog4-snmp Rsyslog works based in input and output modules. The port sysutils/rsyslog4 brings the core modules for basic functionality. Each slave port brings new input and/or output capabilities for rsyslog: sysutils/rsyslog4-dbi - output via libdbi sysutils/rsyslog4-gnutls - additional security with GNU TLS sysutils/rsyslog4-gssapi - additional security with GSS API sysutils/rsyslog4-mysql - output to MySQL databases sysutils/rsyslog4-pgsql - output to PostgreSQL databases sysutils/rsyslog4-relp - Reliable message delivery with RELP protocol sysutils/rsyslog4-snmp - SNMP trap sending Attached, there is a shell archive of the slave ports. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # rsyslog4-dbi # rsyslog4-dbi/Makefile # rsyslog4-gnutls # rsyslog4-gnutls/Makefile # rsyslog4-gssapi # rsyslog4-gssapi/Makefile # rsyslog4-mysql # rsyslog4-mysql/Makefile # rsyslog4-mysql/pkg-plist # rsyslog4-pgsql # rsyslog4-pgsql/Makefile # rsyslog4-pgsql/pkg-plist # rsyslog4-relp # rsyslog4-relp/Makefile # rsyslog4-snmp # rsyslog4-snmp/Makefile # echo c - rsyslog4-dbi mkdir -p rsyslog4-dbi > /dev/null 2>&1 echo x - rsyslog4-dbi/Makefile sed 's/^X//' >rsyslog4-dbi/Makefile << 'END-of-rsyslog4-dbi/Makefile' XCOMMENT= LibDBI output module for rsyslog X XMNAME= libdbi XLIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi X X.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" X XCONFIGURE_ARGS+=--enable-libdbi X XPLIST_FILES+= lib/rsyslog/omlibdbi.la \ X lib/rsyslog/omlibdbi.so X Xdo-install: X @${INSTALL_PROGRAM} \ X ${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog X.include <bsd.port.mk> END-of-rsyslog4-dbi/Makefile echo c - rsyslog4-gnutls mkdir -p rsyslog4-gnutls > /dev/null 2>&1 echo x - rsyslog4-gnutls/Makefile sed 's/^X//' >rsyslog4-gnutls/Makefile << 'END-of-rsyslog4-gnutls/Makefile' XCOMMENT= GNUTLS module for rsyslog X XMNAME= gnutls XLIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls X X.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" X XCONFIGURE_ARGS+=--enable-gnutls X XPLIST_FILES+= lib/rsyslog/lmnsd_gtls.la \ X lib/rsyslog/lmnsd_gtls.so X Xdo-install: X @${INSTALL_PROGRAM} \ X ${WRKSRC}/runtime/.libs/lmnsd_gtls.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/runtime/lmnsd_gtls.la ${PREFIX}/lib/rsyslog X.include <bsd.port.mk> END-of-rsyslog4-gnutls/Makefile echo c - rsyslog4-gssapi mkdir -p rsyslog4-gssapi > /dev/null 2>&1 echo x - rsyslog4-gssapi/Makefile sed 's/^X//' >rsyslog4-gssapi/Makefile << 'END-of-rsyslog4-gssapi/Makefile' XCOMMENT= GSS API input/output module for rsyslog X XMNAME= gssapi X X.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" X.include <bsd.port.pre.mk> X X.if ${OSVERSION} < 700000 XIGNORE= with gssapi module is only supported on FreeBSD 7.x or later X.endif X XCONFIGURE_ARGS+=--enable-gssapi-krb5 X XPLIST_FILES+= lib/rsyslog/imgssapi.la \ X lib/rsyslog/imgssapi.so \ X lib/rsyslog/lmgssutil.la \ X lib/rsyslog/lmgssutil.so \ X lib/rsyslog/omgssapi.la \ X lib/rsyslog/omgssapi.so X Xdo-install: X @${INSTALL_PROGRAM} \ X ${WRKSRC}/plugins/omgssapi/.libs/omgssapi.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/plugins/omgssapi/omgssapi.la ${PREFIX}/lib/rsyslog X @${INSTALL_PROGRAM} \ X ${WRKSRC}/plugins/imgssapi/.libs/imgssapi.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/plugins/imgssapi/imgssapi.la ${PREFIX}/lib/rsyslog X @${INSTALL_PROGRAM} \ X ${WRKSRC}/.libs/lmgssutil.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/lmgssutil.la ${PREFIX}/lib/rsyslog X.include <bsd.port.post.mk> END-of-rsyslog4-gssapi/Makefile echo c - rsyslog4-mysql mkdir -p rsyslog4-mysql > /dev/null 2>&1 echo x - rsyslog4-mysql/Makefile sed 's/^X//' >rsyslog4-mysql/Makefile << 'END-of-rsyslog4-mysql/Makefile' XCOMMENT= MySQL output module for rsyslog X XMNAME= mysql XUSE_MYSQL= yes X X.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" X XCONFIGURE_ARGS+=--enable-mysql X Xdo-install: X @${INSTALL_PROGRAM} \ X ${WRKSRC}/plugins/ommysql/.libs/ommysql.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/plugins/ommysql/ommysql.la ${PREFIX}/lib/rsyslog Xpost-install: X.ifndef NOPORTEXAMPLES X @${INSTALL} -d ${EXAMPLESDIR} X @${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql X.endif X.include <bsd.port.mk> END-of-rsyslog4-mysql/Makefile echo x - rsyslog4-mysql/pkg-plist sed 's/^X//' >rsyslog4-mysql/pkg-plist << 'END-of-rsyslog4-mysql/pkg-plist' Xlib/rsyslog/ommysql.la Xlib/rsyslog/ommysql.so X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mysql_createDB.sql X%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% END-of-rsyslog4-mysql/pkg-plist echo c - rsyslog4-pgsql mkdir -p rsyslog4-pgsql > /dev/null 2>&1 echo x - rsyslog4-pgsql/Makefile sed 's/^X//' >rsyslog4-pgsql/Makefile << 'END-of-rsyslog4-pgsql/Makefile' XCOMMENT= PostgreSQL output module for rsyslog X XMNAME= pgsql XUSE_PGSQL= yes X X.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" X XCONFIGURE_ARGS+=--enable-pgsql X Xdo-install: X @${INSTALL_PROGRAM} \ X ${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/plugins/ompgsql/ompgsql.la ${PREFIX}/lib/rsyslog Xpost-install: X.ifndef NOPORTEXAMPLES X @${INSTALL} -d ${EXAMPLESDIR} X @${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql X.endif X.include <bsd.port.mk> END-of-rsyslog4-pgsql/Makefile echo x - rsyslog4-pgsql/pkg-plist sed 's/^X//' >rsyslog4-pgsql/pkg-plist << 'END-of-rsyslog4-pgsql/pkg-plist' Xlib/rsyslog/ompgsql.la Xlib/rsyslog/ompgsql.so X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql X%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% END-of-rsyslog4-pgsql/pkg-plist echo c - rsyslog4-relp mkdir -p rsyslog4-relp > /dev/null 2>&1 echo x - rsyslog4-relp/Makefile sed 's/^X//' >rsyslog4-relp/Makefile << 'END-of-rsyslog4-relp/Makefile' XCOMMENT= RELP input/output module for rsyslog X XMNAME= relp XBUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config XLIB_DEPENDS= relp.0:${PORTSDIR}/devel/librelp X X.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" X XCONFIGURE_ARGS+=--enable-relp X XPLIST_FILES+= lib/rsyslog/imrelp.la \ X lib/rsyslog/imrelp.so \ X lib/rsyslog/omrelp.la \ X lib/rsyslog/omrelp.so X Xdo-install: X @${INSTALL_PROGRAM} \ X ${WRKSRC}/plugins/omrelp/.libs/omrelp.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/plugins/omrelp/omrelp.la ${PREFIX}/lib/rsyslog X @${INSTALL_PROGRAM} \ X ${WRKSRC}/plugins/imrelp/.libs/imrelp.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/plugins/imrelp/imrelp.la ${PREFIX}/lib/rsyslog X.include <bsd.port.mk> END-of-rsyslog4-relp/Makefile echo c - rsyslog4-snmp mkdir -p rsyslog4-snmp > /dev/null 2>&1 echo x - rsyslog4-snmp/Makefile sed 's/^X//' >rsyslog4-snmp/Makefile << 'END-of-rsyslog4-snmp/Makefile' XCOMMENT= SNMP trap sender for rsyslog X XMNAME= snmp XLIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp X X.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" X XCONFIGURE_ARGS+=--enable-snmp X XPLIST_FILES+= lib/rsyslog/omsnmp.la \ X lib/rsyslog/omsnmp.so X Xdo-install: X @${INSTALL_PROGRAM} \ X ${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog X @${INSTALL_DATA} \ X ${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog X.include <bsd.port.mk> END-of-rsyslog4-snmp/Makefile exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812300325.mBU3PmPa085210>