83ea3c3a26
- build system improvements contributed by Michael Biebl - thx! - all patches from 3.20.5 (v3-stable) have been incorporated: - bugfix: potential abort with DA queue after high watermark is reached there exists a race condition that can lead to a segfault. Thanks go to vbernetr, who performed the analysis and provided patch, which I only tweaked a very little bit. - fixed bugs in RainerScript: - when converting a number and a string to a common type, both were actually converted to the other variable's type. - the value of rsCStrConvertToNumber() was miscalculated. Thanks to varmojfekoj for the patch - fixed a bug in configure.ac which resulted in problems with environment detection - thanks to Michael Biebl for the patch - fixed a potential segfault problem in gssapi code thanks to varmojfekoj for the patch - doc enhance: provide standard template for MySQL module and instructions on how to modify schema
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2009/04/09 09:30:42 bartoszkuzma Exp $
|
|
#
|
|
|
|
DISTNAME= rsyslog-3.21.11
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://download.rsyslog.com/rsyslog/
|
|
|
|
MAINTAINER= bartosz.kuzma@gmail.com
|
|
HOMEPAGE= http://www.rsyslog.com/
|
|
COMMENT= The enhanced syslogd for Unix
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= tools/rsyslog.conf.5 tools/rsyslogd.8 tools/syslogd.c
|
|
SUBST_SED.paths= -e "s|/etc/rsyslog.conf|${PKG_SYSCONFDIR}/rsyslog.conf|g"
|
|
SUBST_SED.paths+= -e "s|/etc/rsyslogd.conf|${PKG_SYSCONFDIR}/rsyslog.conf|g"
|
|
SUBST_MESSAGE.paths= Fixing paths.
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/rsyslog
|
|
|
|
EGDIR= ${PREFIX}/share/examples/rsyslog
|
|
CONF_FILES= ${EGDIR}/rsyslog.conf ${PKG_SYSCONFDIR}/rsyslog.conf
|
|
RCD_SCRIPTS= rsyslogd
|
|
|
|
PLIST_SRC= PLIST.common
|
|
|
|
.include "options.mk"
|
|
|
|
PLIST_SRC+= PLIST.common_end
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
cd ${WRKSRC}/doc && pax -rw *.html ${DOCDIR}
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/rsyslog.conf ${EGDIR}/rsyslog.conf
|
|
. if !empty(PKG_OPTIONS:Mmysql)
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql \
|
|
${EGDIR}/createDB-mysql.sql
|
|
. endif
|
|
. if !empty(PKG_OPTIONS:Mpgsql)
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql \
|
|
${EGDIR}/createDB-pgsql.sql
|
|
. endif
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|