From owner-svn-ports-all@FreeBSD.ORG Tue Aug 12 19:39:36 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23AF93D9 for ; Tue, 12 Aug 2014 19:39:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E458260F for ; Tue, 12 Aug 2014 19:39:36 +0000 (UTC) Received: from cy (uid 918) (envelope-from cy@FreeBSD.org) id 6eb9 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Tue, 12 Aug 2014 19:39:34 +0000 From: Cy Schubert Date: Tue, 12 Aug 2014 19:39:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364739 - in head: . sysutils sysutils/syslog-ng-devel sysutils/syslog-ng-devel/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53ea6d76.6eb9.5599e7c9@svn.freebsd.org> X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 12 Aug 2014 19:39:36 -0000 Author: cy Date: Tue Aug 12 19:39:33 2014 New Revision: 364739 URL: http://svnweb.freebsd.org/changeset/ports/364739 QAT: https://qat.redports.org/buildarchive/r364739/ Log: Reintroduce syslog-ng-devel for 3.6.0alpha2. Submitted by: Peter Czanik (syslog-ng upline) Added: head/sysutils/syslog-ng-devel/ head/sysutils/syslog-ng-devel/Makefile (contents, props changed) head/sysutils/syslog-ng-devel/distinfo (contents, props changed) head/sysutils/syslog-ng-devel/files/ head/sysutils/syslog-ng-devel/files/patch-Makefile.in (contents, props changed) head/sysutils/syslog-ng-devel/files/pkg-message.in (contents, props changed) head/sysutils/syslog-ng-devel/files/syslog-ng.conf.sample (contents, props changed) head/sysutils/syslog-ng-devel/files/syslog-ng.in (contents, props changed) head/sysutils/syslog-ng-devel/pkg-descr (contents, props changed) head/sysutils/syslog-ng-devel/pkg-plist (contents, props changed) Modified: head/MOVED head/sysutils/Makefile Modified: head/MOVED ============================================================================== --- head/MOVED Tue Aug 12 19:30:39 2014 (r364738) +++ head/MOVED Tue Aug 12 19:39:33 2014 (r364739) @@ -6150,7 +6150,6 @@ sysutils/sysupdate||2014-06-21|Removed, www/phpbb-devel|www/phpbb3|2014-06-22|Has expired: Use www/phpbb3 instead math/polymake||2014-06-22|Has expired: Does not build with any supported version of Perl www/phpsysinfo-dev|www/phpsysinfo|2014-06-22|Has expired: Use www/phpsysinfo instead -sysutils/syslog-ng-devel|sysutils/syslog-ng|2014-06-23|Has expired: Use sysutils/syslog-ng instead print/pkg-texinfo|print/texinfo-minimal|2014-06-24|Has been renamed sysutils/pc-sysinstall|sysutils/pcbsd-utils|2014-06-24|Removed: pc-sysinstall is included in sysutils/pcbsd-utils print/texinfo-minimal|print/texinfo-lite|2014-06-24|Has been renamed Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Tue Aug 12 19:30:39 2014 (r364738) +++ head/sysutils/Makefile Tue Aug 12 19:39:33 2014 (r364739) @@ -911,6 +911,7 @@ SUBDIR += sysinfo SUBDIR += syslinux SUBDIR += syslog-ng + SUBDIR += syslog-ng-devel SUBDIR += syslog-ng-incubator SUBDIR += syslog-ng33 SUBDIR += syslog-ng34 Added: head/sysutils/syslog-ng-devel/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/syslog-ng-devel/Makefile Tue Aug 12 19:39:33 2014 (r364739) @@ -0,0 +1,169 @@ +# Created by: Ivan Lago +# $FreeBSD$ + +PORTNAME= syslog-ng +PORTVERSION= 3.6.0a2 +PKGNAMESUFFIX= -devel +CATEGORIES= sysutils +DISTVERSION= $(PORTVERSION:S/a/alpha/:S/b/beta/:S/r/rc/) +DISTFILES= syslog-ng_${DISTVERSION}.tar.gz +MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/${DISTVERSION}/source/ + +MAINTAINER= cy@FreeBSD.org +COMMENT= Powerful syslogd replacement + +LIB_DEPENDS= libevtlog.so:${PORTSDIR}/sysutils/eventlog + +CONFLICTS?= syslog-ng-[0-9]* syslog-ng[0-9]-[0-9]* \ + syslog-ng[0-9][0-9]-[0-9]* \ + syslog-ng-devel-[0-9]* +WRKSRC= $(WRKDIR)/$(PORTNAME)-$(DISTVERSION) + +MAKE_JOBS_UNSAFE= yes +OPTIONS_RADIO= SSL +OPTIONS_RADIO_SSL= SYS_SSL PORTS_SSL +OPTIONS_DEFINE= TCP_WRAPPERS SQL SPOOF IPV6 PCRE SMTP JSON GEOIP DOCS REDIS +OPTIONS_DEFAULT= PORTS_SSL PCRE +SYS_SSL_DESC= Build with OpenSSL support (from system) +PORTS_SSL_DESC= Build with OpenSSL support (from ports) +TCP_WRAPPERS_DESC= Build with TCP Wrappers +SQL_DESC= Build with database (libdbi) support +SPOOF_DESC= Build with spoof source support +IPV6_DESC= Build with IPV6 support +PCRE_DESC= Build with PCRE support +SMTP_DESC= Build with SMTP support +JSON_DESC= Build with JSON-C support +GEOIP_DESC= Build with GeoIP support +REDIS_DESC= Build with Redis support + +USES= gmake libtool pathfix pkgconfig +USE_LDCONFIG= yes +USE_RC_SUBR= syslog-ng +GNU_CONFIGURE= yes +USE_GNOME= glib20 +SUB_FILES= pkg-message +INSTALL_TARGET= install-strip + +CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \ + --enable-dynamic-linking \ + --enable-debug \ + --datadir=${PREFIX}/share/syslog-ng/ + +BROKEN_sparc64= Does not compile on sparc64: gcc core dump + +.include + +.if ${PORT_OPTIONS:MSYS_SSL} || ${PORT_OPTIONS:MPORTS_SSL} +USE_OPENSSL= yes +CONFIGURE_ARGS+= --enable-ssl +CONFIGURE_ENV+= OPENSSL_CFLAGS="${OPENSSL_CFLAGS}" \ + OPENSSL_LIBS="${OPENSSL_LDFLAGS} -lcrypto -lssl" +PLIST_FILES+= lib/syslog-ng/libafsocket-tls.so +.else +CONFIGURE_ARGS+= --disable-ssl +.endif + +.if ${PORT_OPTIONS:MPORTS_SSL} +WITH_OPENSSL_PORT= yes +.endif + +.if ${PORT_OPTIONS:MTCP_WRAPPERS} +CONFIGURE_ARGS+= --enable-tcp-wrapper +.else +CONFIGURE_ARGS+= --disable-tcp-wrapper +.endif + +.if ${PORT_OPTIONS:MSPOOF} +LIB_DEPENDS+= libnet.so:${PORTSDIR}/net/libnet +LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config +CONFIGURE_ARGS+= --enable-spoof-source --with-libnet=${LOCALBASE}/bin +CFLAGS+= `${LIBNET_CONFIG} --cflags` -I${LOCALBASE}/include +LDFLAGS+= `${LIBNET_CONFIG} --libs` +.else +CONFIGURE_ARGS+= --disable-spoof-source +.endif + +.if ${PORT_OPTIONS:MIPV6} +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif + +.if ${PORT_OPTIONS:MPCRE} +CONFIGURE_ARGS+= --enable-pcre +LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre +.else +CONFIGURE_ARGS+= --disable-pcre +.endif + +.if ${PORT_OPTIONS:MGEOIP} +CONFIGURE_ARGS+= --enable-geoip +LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP +CONFIGURE_ENV+= GEOIP_LIBS="-L${LOCALBASE}/lib -lGeoIP" +PLIST_FILES+= lib/syslog-ng/libtfgeoip.so +.else +CONFIGURE_ARGS+= --disable-geoip +.endif + +.if ${PORT_OPTIONS:MREDIS} +CONFIGURE_ARGS+= --enable-redis +LIB_DEPENDS+= libhiredis.so:${PORTSDIR}/databases/hiredis +PLIST_FILES+= lib/syslog-ng/libredis.so +.else +CONFIGURE_ARGS+= --disable-redis +.endif + +.if ${PORT_OPTIONS:MSMTP} +CONFIGURE_ARGS+= --with-libesmtp=/usr/local/ +LIB_DEPENDS+= libesmtp.so:${PORTSDIR}/mail/libesmtp +PLIST_FILES+= lib/syslog-ng/libafsmtp.so +.else +CONFIGURE_ARGS+= --disable-smtp +.endif + +.if ${PORT_OPTIONS:MSQL} +LIB_DEPENDS+= libdbi.so:${PORTSDIR}/databases/libdbi +CONFIGURE_ENV+= LIBDBI_LIBS="-ldbi" +CONFIGURE_ARGS+= --enable-sql +LDFLAGS+= -L${LOCALBASE}/lib +PLIST_FILES+= lib/syslog-ng/libafsql.so +.else +CONFIGURE_ARGS+= --disable-sql +.endif + +.if ${PORT_OPTIONS:MJSON} +LIB_DEPENDS+= libjson.so:${PORTSDIR}/devel/json-c +CONFIGURE_ARGS+= --enable-json +PLIST_FILES+= lib/syslog-ng/libjson-plugin.so +.else +CONFIGURE_ARGS+= --disable-json +.endif + +.if ${OSVERSION} >= 900034 +CONFIGURE_ARGS+= --disable-linux-caps +.endif + +post-patch: + @${REINPLACE_CMD} -e 's:libnet-config:libnet11-config:g' \ + ${WRKSRC}/configure + @${CP} ${WRKSRC}/scl/syslog-ng.conf ${WRKSRC}/scl/syslog-ng.conf.dist + @${CP} ${WRKSRC}/scl/scl.conf ${WRKSRC}/scl/scl.conf.sample + +post-install: +.if ${PORT_OPTIONS:MDOCS} + ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/NEWS.md ${STAGEDIR}${DOCSDIR} +.endif + ${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/doc/man/*.5 ${STAGEDIR}${PREFIX}/man/man5/ + ${INSTALL_MAN} ${WRKSRC}/doc/man/*.8 ${STAGEDIR}${PREFIX}/man/man8/ + ${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample \ + ${STAGEDIR}${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/scl/syslog-ng.conf.dist \ + ${WRKSRC}/scl/scl.conf.sample ${STAGEDIR}${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/lib/ivykis/src/include/iv*.h \ + ${STAGEDIR}${PREFIX}/include/syslog-ng/ + +.include Added: head/sysutils/syslog-ng-devel/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/syslog-ng-devel/distinfo Tue Aug 12 19:39:33 2014 (r364739) @@ -0,0 +1,2 @@ +SHA256 (syslog-ng_3.6.0alpha2.tar.gz) = 839954620acaddd7d4cb600f0da1c783992f5dd5cdf2b79567ba55be0706992e +SIZE (syslog-ng_3.6.0alpha2.tar.gz) = 3111386 Added: head/sysutils/syslog-ng-devel/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/syslog-ng-devel/files/patch-Makefile.in Tue Aug 12 19:39:33 2014 (r364739) @@ -0,0 +1,13 @@ +--- Makefile.in.orig 2014-08-01 19:27:14.584284459 -0700 ++++ Makefile.in 2014-08-01 19:33:44.036046297 -0700 +@@ -3280,8 +3280,8 @@ + for p in $$list; do \ + if test -f $$p; then \ + $(am__strip_dir) \ +- echo " ( cd '$(DESTDIR)$(libtestdir)' && $(RANLIB) $$f )"; \ +- ( cd "$(DESTDIR)$(libtestdir)" && $(RANLIB) $$f ) || exit $$?; \ ++ echo " ( cd '$(DESTDIR)$(libtestdir)' && $(RANLIB) $$p )"; \ ++ ( cd "$(DESTDIR)$(libtestdir)" && $(RANLIB) $$p ) || exit $$?; \ + else :; fi; \ + done + Added: head/sysutils/syslog-ng-devel/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/syslog-ng-devel/files/pkg-message.in Tue Aug 12 19:39:33 2014 (r364739) @@ -0,0 +1,29 @@ + +syslog-ng is now installed! To replace FreeBSD's standard syslogd +(/usr/sbin/syslogd), complete these steps: + +1. Create a configuration file named %%PREFIX%%/etc/syslog-ng.conf + (a sample named syslog-ng.conf.sample has been included in + %%PREFIX%%/etc). Note that this is a change in 2.0.2 + version, previous ones put the config file in + %%PREFIX%%/etc/syslog-ng/syslog-ng.conf, so if this is an update + move that file in the right place + +2. Configure syslog-ng to start automatically by adding the following + to /etc/rc.conf: + + syslog_ng_enable="YES" + +3. Prevent the standard FreeBSD syslogd from starting automatically by + adding a line to the end of your /etc/rc.conf file that reads: + + syslogd_enable="NO" + +4. Shut down the standard FreeBSD syslogd: + + kill `cat /var/run/syslog.pid` + +5. Start syslog-ng: + + %%PREFIX%%/etc/rc.d/syslog-ng start + Added: head/sysutils/syslog-ng-devel/files/syslog-ng.conf.sample ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/syslog-ng-devel/files/syslog-ng.conf.sample Tue Aug 12 19:39:33 2014 (r364739) @@ -0,0 +1,185 @@ +@version:3.6 + +# +# This sample configuration file is essentially equilivent to the stock +# FreeBSD /etc/syslog.conf file. +# +# $FreeBSD: head/sysutils/syslog-ng/files/syslog-ng.conf.sample 340872 2014-01-24 00:14:07Z mat $ +# + +# +# options +# +options { chain_hostnames(off); flush_lines(0); threaded(yes); }; + +# +# sources +# +source src { unix-dgram("/var/run/log"); + unix-dgram("/var/run/logpriv" perm(0600)); + udp(); internal(); file("/dev/klog"); }; + +# +# destinations +# +destination messages { file("/var/log/messages"); }; +destination security { file("/var/log/security"); }; +destination authlog { file("/var/log/auth.log"); }; +destination maillog { file("/var/log/maillog"); }; +destination lpd-errs { file("/var/log/lpd-errs"); }; +destination xferlog { file("/var/log/xferlog"); }; +destination cron { file("/var/log/cron"); }; +destination debuglog { file("/var/log/debug.log"); }; +destination consolelog { file("/var/log/console.log"); }; +destination all { file("/var/log/all.log"); }; +destination newscrit { file("/var/log/news/news.crit"); }; +destination newserr { file("/var/log/news/news.err"); }; +destination newsnotice { file("/var/log/news/news.notice"); }; +destination slip { file("/var/log/slip.log"); }; +destination ppp { file("/var/log/ppp.log"); }; +destination console { file("/dev/console"); }; +destination allusers { usertty("*"); }; +#destination loghost { udp("loghost" port(514)); }; + +# +# log facility filters +# +filter f_auth { facility(auth); }; +filter f_authpriv { facility(authpriv); }; +filter f_not_authpriv { not facility(authpriv); }; +#filter f_console { facility(console); }; +filter f_cron { facility(cron); }; +filter f_daemon { facility(daemon); }; +filter f_ftp { facility(ftp); }; +filter f_kern { facility(kern); }; +filter f_lpr { facility(lpr); }; +filter f_mail { facility(mail); }; +filter f_news { facility(news); }; +filter f_security { facility(security); }; +filter f_user { facility(user); }; +filter f_uucp { facility(uucp); }; +filter f_local0 { facility(local0); }; +filter f_local1 { facility(local1); }; +filter f_local2 { facility(local2); }; +filter f_local3 { facility(local3); }; +filter f_local4 { facility(local4); }; +filter f_local5 { facility(local5); }; +filter f_local6 { facility(local6); }; +filter f_local7 { facility(local7); }; + +# +# log level filters +# +filter f_emerg { level(emerg); }; +filter f_alert { level(alert..emerg); }; +filter f_crit { level(crit..emerg); }; +filter f_err { level(err..emerg); }; +filter f_warning { level(warning..emerg); }; +filter f_notice { level(notice..emerg); }; +filter f_info { level(info..emerg); }; +filter f_debug { level(debug..emerg); }; +filter f_is_debug { level(debug); }; + +# +# program filters +# +filter f_ppp { program("ppp"); }; +filter f_slip { program("startslip"); }; + +# +# *.err;kern.warning;auth.notice;mail.crit /dev/console +# +log { source(src); filter(f_err); destination(console); }; +log { source(src); filter(f_kern); filter(f_warning); destination(console); }; +log { source(src); filter(f_auth); filter(f_notice); destination(console); }; +log { source(src); filter(f_mail); filter(f_crit); destination(console); }; + +# +# *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages +# +log { source(src); filter(f_notice); filter(f_not_authpriv); destination(messages); }; +log { source(src); filter(f_kern); filter(f_debug); destination(messages); }; +log { source(src); filter(f_lpr); filter(f_info); destination(messages); }; +log { source(src); filter(f_mail); filter(f_crit); destination(messages); }; +log { source(src); filter(f_news); filter(f_err); destination(messages); }; + +# +# security.* /var/log/security +# +log { source(src); filter(f_security); destination(security); }; + +# +# auth.info;authpriv.info /var/log/auth.log +log { source(src); filter(f_auth); filter(f_info); destination(authlog); }; +log { source(src); filter(f_authpriv); filter(f_info); destination(authlog); }; + +# +# mail.info /var/log/maillog +# +log { source(src); filter(f_mail); filter(f_info); destination(maillog); }; + +# +# lpr.info /var/log/lpd-errs +# +log { source(src); filter(f_lpr); filter(f_info); destination(lpd-errs); }; + +# +# ftp.info /var/log/xferlog +# +log { source(src); filter(f_ftp); filter(f_info); destination(xferlog); }; + +# +# cron.* /var/log/cron +# +log { source(src); filter(f_cron); destination(cron); }; + +# +# *.=debug /var/log/debug.log +# +log { source(src); filter(f_is_debug); destination(debuglog); }; + +# +# *.emerg * +# +log { source(src); filter(f_emerg); destination(allusers); }; + +# +# uncomment this to log all writes to /dev/console to /var/log/console.log +# console.info /var/log/console.log +# +#log { source(src); filter(f_console); filter(f_info); destination(consolelog); }; + +# +# uncomment this to enable logging of all log messages to /var/log/all.log +# touch /var/log/all.log and chmod it to mode 600 before it will work +# *.* /var/log/all.log +# +#log { source(src); destination(all); }; + +# +# uncomment this to enable logging to a remote loghost named loghost +# *.* @loghost +# +#log { source(src); destination(loghost); }; + +# +# uncomment these if you're running inn +# news.crit /var/log/news/news.crit +# news.err /var/log/news/news.err +# news.notice /var/log/news/news.notice +# +#log { source(src); filter(f_news); filter(f_crit); destination(newscrit); }; +#log { source(src); filter(f_news); filter(f_err); destination(newserr); }; +#log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); }; + +# +# !startslip +# *.* /var/log/slip.log +# +log { source(src); filter(f_slip); destination(slip); }; + +# +# !ppp +# *.* /var/log/ppp.log +# +log { source(src); filter(f_ppp); destination(ppp); }; Added: head/sysutils/syslog-ng-devel/files/syslog-ng.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/syslog-ng-devel/files/syslog-ng.in Tue Aug 12 19:39:33 2014 (r364739) @@ -0,0 +1,46 @@ +#!/bin/sh +# +# $FreeBSD: head/sysutils/syslog-ng/files/syslog-ng.in 340872 2014-01-24 00:14:07Z mat $ +# + +# PROVIDE: syslogd +# REQUIRE: mountcritremote cleanvar ldconfig +# BEFORE: SERVERS + +# +# Add the following line to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +#syslog_ng_enable="YES" +#syslog_ng_config="-u daemon" +#syslog_ng_pid="/var/run/syslog-ng.pid" +# + +syslog_ng_purgeklog=${syslog_ng_purgeklog-"NO"} + +. /etc/rc.subr + +name=syslog_ng +rcvar=syslog_ng_enable + +command=%%PREFIX%%/sbin/syslog-ng +required_files=%%PREFIX%%/etc/syslog-ng.conf +extra_commands=reload + +if checkyesno syslog_ng_purgeklog; then + start_precmd="echo \"Purging klog(9)\" && sysctl -w kern.msgbuf_clear=1 $start_precmd"; +fi + +stop_postcmd=stop_postcmd + +load_rc_config $name + +: ${syslog_ng_enable:="NO"} +pidfile=${syslog_ng_pid:-"/var/run/syslog.pid"} +command_args="-p ${pidfile} ${syslog_ng_config}" + +stop_postcmd() { + rm -f $pidfile +} + +run_rc_command "$1" Added: head/sysutils/syslog-ng-devel/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/syslog-ng-devel/pkg-descr Tue Aug 12 19:39:33 2014 (r364739) @@ -0,0 +1,17 @@ +syslog-ng is an enhanced log daemon, supporting a wide range of input and +output methods: syslog, unstructured text, message queues, databases (SQL +and NoSQL alike) and more. + +Key features: + + * receive and send RFC3164 and RFC5424 style syslog messages + * work with any kind of unstructured data + * receive and send JSON formatted messages + * classify and structure logs with builtin parsers (csv-parser(), + db-parser(), ...) + * normalize, crunch and process logs as they flow through the system + * hand on messages for further processing using message queues (like + AMQP), files or databases (like PostgreSQL or MongoDB). + +The official home page of syslog-ng is: +http://www.balabit.com/network-security/syslog-ng/ Added: head/sysutils/syslog-ng-devel/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/syslog-ng-devel/pkg-plist Tue Aug 12 19:39:33 2014 (r364739) @@ -0,0 +1,245 @@ +@unexec %D/etc/rc.d/syslog-ng.sh stop > /dev/null 2>&1 || true +@sample etc/scl.conf.sample +etc/syslog-ng.conf.dist +@sample etc/syslog-ng.conf.sample +bin/loggen +bin/pdbtool +bin/update-patterndb +include/syslog-ng/ack_tracker.h +include/syslog-ng/afinter.h +include/syslog-ng/alarms.h +include/syslog-ng/apphook.h +include/syslog-ng/atomic.h +include/syslog-ng/block-ref-parser.h +include/syslog-ng/bookmark.h +include/syslog-ng/cache.h +include/syslog-ng/cfg-args.h +include/syslog-ng/cfg-grammar.h +include/syslog-ng/cfg-lexer-subst.h +include/syslog-ng/cfg-lexer.h +include/syslog-ng/cfg-parser.h +include/syslog-ng/cfg-tree.h +include/syslog-ng/cfg.h +include/syslog-ng/children.h +include/syslog-ng/compat/compat.h +include/syslog-ng/compat/getutent.h +include/syslog-ng/compat/glib.h +include/syslog-ng/compat/lfs.h +include/syslog-ng/compat/pio.h +include/syslog-ng/compat/socket.h +include/syslog-ng/compat/string.h +include/syslog-ng/control/control-server.h +include/syslog-ng/control/control.h +include/syslog-ng/crypto.h +include/syslog-ng/dnscache.h +include/syslog-ng/driver.h +include/syslog-ng/file-perms.h +include/syslog-ng/filter/filter-call.h +include/syslog-ng/filter/filter-cmp.h +include/syslog-ng/filter/filter-expr-parser.h +include/syslog-ng/filter/filter-expr.h +include/syslog-ng/filter/filter-in-list.h +include/syslog-ng/filter/filter-netmask.h +include/syslog-ng/filter/filter-op.h +include/syslog-ng/filter/filter-pipe.h +include/syslog-ng/filter/filter-pri.h +include/syslog-ng/filter/filter-re.h +include/syslog-ng/filter/filter-tags.h +include/syslog-ng/gprocess.h +include/syslog-ng/gsockaddr.h +include/syslog-ng/gsocket.h +include/syslog-ng/host-resolve.h +include/syslog-ng/hostname.h +include/syslog-ng/iv.h +include/syslog-ng/iv_avl.h +include/syslog-ng/iv_event.h +include/syslog-ng/iv_event_raw.h +include/syslog-ng/iv_fd_pump.h +include/syslog-ng/iv_inotify.h +include/syslog-ng/iv_list.h +include/syslog-ng/iv_popen.h +include/syslog-ng/iv_signal.h +include/syslog-ng/iv_thread.h +include/syslog-ng/iv_tls.h +include/syslog-ng/iv_wait.h +include/syslog-ng/iv_work.h +include/syslog-ng/ivykis/iv.h +include/syslog-ng/ivykis/iv_avl.h +include/syslog-ng/ivykis/iv_event.h +include/syslog-ng/ivykis/iv_event_raw.h +include/syslog-ng/ivykis/iv_fd_pump.h +include/syslog-ng/ivykis/iv_list.h +include/syslog-ng/ivykis/iv_popen.h +include/syslog-ng/ivykis/iv_signal.h +include/syslog-ng/ivykis/iv_thread.h +include/syslog-ng/ivykis/iv_tls.h +include/syslog-ng/ivykis/iv_wait.h +include/syslog-ng/ivykis/iv_work.h +include/syslog-ng/libtest/mock-transport.h +include/syslog-ng/libtest/msg_parse_lib.h +include/syslog-ng/libtest/persist_lib.h +include/syslog-ng/libtest/proto_lib.h +include/syslog-ng/libtest/template_lib.h +include/syslog-ng/libtest/testutils.h +include/syslog-ng/logmatcher.h +include/syslog-ng/logmpx.h +include/syslog-ng/logmsg.h +include/syslog-ng/logpipe.h +include/syslog-ng/logproto/logproto-buffered-server.h +include/syslog-ng/logproto/logproto-builtins.h +include/syslog-ng/logproto/logproto-client.h +include/syslog-ng/logproto/logproto-dgram-server.h +include/syslog-ng/logproto/logproto-framed-client.h +include/syslog-ng/logproto/logproto-framed-server.h +include/syslog-ng/logproto/logproto-indented-multiline-server.h +include/syslog-ng/logproto/logproto-record-server.h +include/syslog-ng/logproto/logproto-regexp-multiline-server.h +include/syslog-ng/logproto/logproto-server.h +include/syslog-ng/logproto/logproto-text-client.h +include/syslog-ng/logproto/logproto-text-server.h +include/syslog-ng/logproto/logproto.h +include/syslog-ng/logqueue-fifo.h +include/syslog-ng/logqueue.h +include/syslog-ng/logreader.h +include/syslog-ng/logsource.h +include/syslog-ng/logstamp.h +include/syslog-ng/logthrdestdrv.h +include/syslog-ng/logwriter.h +include/syslog-ng/mainloop-call.h +include/syslog-ng/mainloop-io-worker.h +include/syslog-ng/mainloop-worker.h +include/syslog-ng/mainloop.h +include/syslog-ng/memtrace.h +include/syslog-ng/messages.h +include/syslog-ng/misc.h +include/syslog-ng/ml-batched-timer.h +include/syslog-ng/msg-format.h +include/syslog-ng/nvtable.h +include/syslog-ng/parse-number.h +include/syslog-ng/parser/parser-expr-parser.h +include/syslog-ng/parser/parser-expr.h +include/syslog-ng/pathutils.h +include/syslog-ng/persist-state.h +include/syslog-ng/persistable-state-header.h +include/syslog-ng/persistable-state-presenter.h +include/syslog-ng/plugin-types.h +include/syslog-ng/plugin.h +include/syslog-ng/poll-events.h +include/syslog-ng/poll-fd-events.h +include/syslog-ng/pragma-parser.h +include/syslog-ng/presented-persistable-state.h +include/syslog-ng/rcptid.h +include/syslog-ng/reloc.h +include/syslog-ng/rewrite/rewrite-expr-parser.h +include/syslog-ng/rewrite/rewrite-expr.h +include/syslog-ng/rewrite/rewrite-set-tag.h +include/syslog-ng/rewrite/rewrite-set.h +include/syslog-ng/rewrite/rewrite-subst.h +include/syslog-ng/ringbuffer.h +include/syslog-ng/run-id.h +include/syslog-ng/scratch-buffers.h +include/syslog-ng/serialize.h +include/syslog-ng/service-management.h +include/syslog-ng/stats/stats-cluster.h +include/syslog-ng/stats/stats-counter.h +include/syslog-ng/stats/stats-csv.h +include/syslog-ng/stats/stats-log.h +include/syslog-ng/stats/stats-registry.h +include/syslog-ng/stats/stats-syslog.h +include/syslog-ng/stats/stats.h +include/syslog-ng/str-format.h +include/syslog-ng/syslog-names.h +include/syslog-ng/syslog-ng.h +include/syslog-ng/tags.h +include/syslog-ng/template/templates.h +include/syslog-ng/thread-utils.h +include/syslog-ng/timeutils.h +include/syslog-ng/tls-support.h +include/syslog-ng/tlscontext.h +include/syslog-ng/transport/logtransport.h +include/syslog-ng/transport/transport-aux-data.h +include/syslog-ng/transport/transport-device.h +include/syslog-ng/transport/transport-file.h +include/syslog-ng/transport/transport-pipe.h +include/syslog-ng/transport/transport-socket.h +include/syslog-ng/transport/transport-tls.h +include/syslog-ng/type-hinting.h +include/syslog-ng/uuid.h +include/syslog-ng/value-pairs.h +include/syslog-ng/versioning.h +include/syslog-ng/vptransform.h +lib/libsyslog-ng-3.6.so.0.0.0 +lib/libsyslog-ng.so +lib/libsyslog-ng-3.6.so.0 +lib/syslog-ng/libafamqp.so +lib/syslog-ng/libaffile.so +lib/syslog-ng/libafmongodb.so +lib/syslog-ng/libafprog.so +lib/syslog-ng/libafsocket-notls.so +lib/syslog-ng/libafsocket.so +lib/syslog-ng/libafstomp.so +lib/syslog-ng/libafuser.so +lib/syslog-ng/libbasicfuncs.so +lib/syslog-ng/libconfgen.so +lib/syslog-ng/libcryptofuncs.so +lib/syslog-ng/libcsvparser.so +lib/syslog-ng/libdbparser.so +lib/syslog-ng/liblinux-kmsg-format.so +lib/syslog-ng/libpseudofile.so +lib/syslog-ng/libsyslog-ng-crypto.so +lib/syslog-ng/libsyslogformat.so +lib/syslog-ng/libsystem-source.so +lib/syslog-ng/libtest/libsyslog-ng-test.a +libdata/pkgconfig/syslog-ng.pc +libdata/pkgconfig/syslog-ng-test.pc +man/man1/loggen.1.gz +man/man1/pdbtool.1.gz +man/man1/syslog-ng-ctl.1.gz +man/man5/syslog-ng.conf.5.gz +man/man8/syslog-ng.8.gz +sbin/syslog-ng +sbin/syslog-ng-ctl +share/syslog-ng/include/scl/nodejs/plugin.conf +share/syslog-ng/include/scl/pacct/plugin.conf +share/syslog-ng/include/scl/syslogconf/README +share/syslog-ng/include/scl/syslogconf/convert-syslogconf.awk +share/syslog-ng/include/scl/syslogconf/plugin.conf +share/syslog-ng/include/scl/system/plugin.conf +share/syslog-ng/include/scl/rewrite/cc-mask.conf +share/syslog-ng/tools/cfg-grammar.y +share/syslog-ng/tools/lex-rules.am +share/syslog-ng/tools/merge-grammar.pl +share/syslog-ng/tools/system-expand +share/syslog-ng/xsd/patterndb-1.xsd +share/syslog-ng/xsd/patterndb-2.xsd +share/syslog-ng/xsd/patterndb-3.xsd +share/syslog-ng/xsd/patterndb-4.xsd +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/NEWS.md +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm share/syslog-ng/xsd +@dirrm share/syslog-ng/tools +@dirrm share/syslog-ng/include/scl/nodejs +@dirrm share/syslog-ng/include/scl/system +@dirrm share/syslog-ng/include/scl/syslogconf +@dirrm share/syslog-ng/include/scl/pacct +@dirrm share/syslog-ng/include/scl/rewrite +@dirrm share/syslog-ng/include/scl +@dirrm share/syslog-ng/include +@dirrm share/syslog-ng +@dirrm lib/syslog-ng/libtest +@dirrm lib/syslog-ng +@dirrm include/syslog-ng/compat +@dirrm include/syslog-ng/control +@dirrm include/syslog-ng/filter +@dirrm include/syslog-ng/ivykis +@dirrm include/syslog-ng/libtest +@dirrm include/syslog-ng/logproto +@dirrm include/syslog-ng/parser +@dirrm include/syslog-ng/rewrite +@dirrm include/syslog-ng/stats +@dirrm include/syslog-ng/template +@dirrm include/syslog-ng/transport +@dirrm include/syslog-ng +@dirrm etc/patterndb.d