2f92fc7f31
Rework and clean up the package, split off various bindings into separate packages. Add SMF support. Major features and improvements introduced in major releases since 3.2. 3.7 - OpenSSL is now a required dependency for syslog-ng. - Java-destination driver ported from syslog-ng-incubator. - Python language support is ported from syslog-ng incubator. - New Java destination drivers - New Parsers 3.6 - PCRE is now a required dependency of syslog-ng. - Threaded mode is now enabled by default. 3.5 - Multi-line support - STOMP destination - Redis destination - Template type hinting - Template options honored everywhere - Support for unit suffixes in the configuration - The Incubator project 3.4 - New plugins: AMQP & SMTP destinations, JSON parser. - New parsers for patterndb: HOSTNAME, EMAIL, PCRE and LLADDR. - It is now possible to control what db-parser() sees as its input via it's new template() option. - value-pairs() gained support for programmatically rewriting key names in bulk, via the rekey() method. - The network() driver is introduced, unifying and extending tcp(), udp(), syslog(), unix-dgram() and unix-stream(). The old drivers are still available, but - Support for junctions & channels were added, which improve the flexibility of the syslog-ng configuration language. 3.3 - multi-core/CPU scaling: the new multi-threaded architecture allows syslog-ng to scale into the 800k msg/sec region. - MongoDB support: using MongoDB instead of SQL is faster and allows better representation of log data. - JSON support: using the $(format-json) template function it is now possible to construct JSON (JavaScript Object Notation) output for log messages. - A number of enhancements all over the place: SQL, patterndb. - The default ports have changed. syslog-ng is using the standard
70 lines
2.2 KiB
Text
70 lines
2.2 KiB
Text
# $NetBSD: Makefile.common,v 1.1 2015/10/29 16:34:13 fhajny Exp $
|
|
# used by sysutils/syslog-ng/Makefile
|
|
# used by sysutils/syslog-ng/Makefile.module
|
|
|
|
DISTNAME= syslog-ng-3.7.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=balabit/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.syslog-ng.org/
|
|
COMMENT= Highly portable log management solution
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GITHUB_RELEASE= ${DISTNAME}
|
|
|
|
PATCHDIR= ${.CURDIR}/../../sysutils/syslog-ng/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../sysutils/syslog-ng/distinfo
|
|
|
|
USE_LANGUAGES= c c99
|
|
USE_TOOLS+= flex pkg-config gmake awk:run
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CHECK_PORTABILITY_SKIP+= debian/syslog-ng.init
|
|
|
|
CONFIGURE_ARGS+= --disable-amqp
|
|
CONFIGURE_ARGS+= --disable-geoip
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
CONFIGURE_ARGS+= --disable-java
|
|
CONFIGURE_ARGS+= --disable-json
|
|
CONFIGURE_ARGS+= --disable-mongodb
|
|
CONFIGURE_ARGS+= --disable-python
|
|
CONFIGURE_ARGS+= --disable-redis
|
|
CONFIGURE_ARGS+= --disable-smtp
|
|
CONFIGURE_ARGS+= --disable-sql
|
|
CONFIGURE_ARGS+= --disable-ssl
|
|
CONFIGURE_ARGS+= --disable-stomp
|
|
CONFIGURE_ARGS+= --disable-sun-streams
|
|
CONFIGURE_ARGS+= --disable-tcp-wrapper
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/db/syslog-ng
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-ivykis=${BUILDLINK_PREFIX.ivykis}
|
|
CONFIGURE_ARGS+= --with-jsonc=no
|
|
CONFIGURE_ARGS+= --with-libmongo-client=no
|
|
CONFIGURE_ARGS+= --with-librabbitmq-client=no
|
|
CONFIGURE_ARGS+= --with-pidfile-dir=${VARBASE}/run
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
CONFIGURE_ARGS+= --enable-dynamic-linking
|
|
CPPFLAGS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
|
|
.endif
|
|
|
|
SUBST_CLASSES+= unamepath
|
|
SUBST_STAGE.unamepath= post-configure
|
|
SUBST_FILES.unamepath= contrib/syslog2ng
|
|
SUBST_VARS.unamepath= UNAME
|
|
|
|
REPLACE_AWK+= contrib/syslog2ng
|
|
REPLACE_PERL+= lib/merge-grammar.pl
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/ivykis/buildlink3.mk"
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../sysutils/eventlog/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|