pkgsrc/sysutils/rsyslog-mysql/Makefile
fhajny 6ecf8e9bd8 Import rsyslog-8.4.0 as sysutils/rsyslog* (based on wip/rsyslog8).
Rsyslog is an enhanced syslogd supporting, among others, MySQL,
PostgreSQL, failover log destinations, syslog/tcp, fine grain
output format control, high precision timestamps, queued operations
and the ability to filter on any message part. It is quite
compatible to stock sysklogd and can be used as a drop-in
replacement.
2014-09-05 07:15:41 +00:00

21 lines
538 B
Makefile

# $NetBSD: Makefile,v 1.1 2014/09/05 07:15:41 fhajny Exp $
#
RSYSLOG_MOD= mysql
PKGNAME= ${DISTNAME:S/rsyslog/rsyslog-${RSYSLOG_MOD}/}
DEPENDS+= rsyslog>=${PKGVERSION_NOREV}:../../sysutils/rsyslog
.include "../../sysutils/rsyslog/Makefile.common"
CONFIGURE_ARGS+= --enable-mysql
BUILD_DIRS= plugins/ommysql
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql \
${DESTDIR}${EGDIR}/createDB-mysql.sql
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"