| @@ -1,19 +1,18 @@ | | | @@ -1,19 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.5 2008/05/26 02:13:24 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.6 2008/10/25 10:26:43 adrianp Exp $ |
2 | | | 2 | |
3 | DISTNAME= syslog-ng-1.6.11 | | 3 | DISTNAME= syslog-ng-1.6.12 |
4 | PKGREVISION= 1 | | | |
5 | CATEGORIES= sysutils | | 4 | CATEGORIES= sysutils |
6 | MASTER_SITES= http://www.balabit.com/downloads/syslog-ng/1.6/src/ | | 5 | MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/1.6/src/ |
7 | | | 6 | |
8 | MAINTAINER= adrianp@NetBSD.org | | 7 | MAINTAINER= adrianp@NetBSD.org |
9 | HOMEPAGE= http://www.balabit.com/network-security/syslog-ng/ | | 8 | HOMEPAGE= http://www.balabit.com/network-security/syslog-ng/ |
10 | COMMENT= Syslog-ng tries to fill the gaps original syslogd's were lacking | | 9 | COMMENT= Syslog-ng tries to fill the gaps original syslogd's were lacking |
11 | | | 10 | |
12 | USE_TOOLS+= pax | | 11 | USE_TOOLS+= pax |
13 | | | 12 | |
14 | GNU_CONFIGURE= YES | | 13 | GNU_CONFIGURE= YES |
15 | RCD_SCRIPTS= syslogng | | 14 | RCD_SCRIPTS= syslogng |
16 | PKG_SYSCONFSUBDIR= syslog-ng | | 15 | PKG_SYSCONFSUBDIR= syslog-ng |
17 | | | 16 | |
18 | CONFIGURE_ARGS+= --enable-tcp-wrapper | | 17 | CONFIGURE_ARGS+= --enable-tcp-wrapper |
19 | | | 18 | |
| @@ -22,26 +21,30 @@ DOCDIR= ${PREFIX}/share/doc/syslog-ng | | | @@ -22,26 +21,30 @@ DOCDIR= ${PREFIX}/share/doc/syslog-ng |
22 | | | 21 | |
23 | SUBST_CLASSES+= conf | | 22 | SUBST_CLASSES+= conf |
24 | SUBST_STAGE.conf= post-patch | | 23 | SUBST_STAGE.conf= post-patch |
25 | SUBST_FILES.conf= doc/syslog-ng.8 doc/syslog-ng.conf.5 contrib/syslog2ng | | 24 | SUBST_FILES.conf= doc/syslog-ng.8 doc/syslog-ng.conf.5 contrib/syslog2ng |
26 | SUBST_SED.conf= -e "s|/etc/syslog-ng|${PKG_SYSCONFDIR}|g" | | 25 | SUBST_SED.conf= -e "s|/etc/syslog-ng|${PKG_SYSCONFDIR}|g" |
27 | SUBST_SED.conf+= -e "s|/usr/bin/awk|${AWK}|g" | | 26 | SUBST_SED.conf+= -e "s|/usr/bin/awk|${AWK}|g" |
28 | SUBST_MESSAGE.conf= Fixing configuration file paths. | | 27 | SUBST_MESSAGE.conf= Fixing configuration file paths. |
29 | | | 28 | |
30 | .include "../../mk/bsd.prefs.mk" | | 29 | .include "../../mk/bsd.prefs.mk" |
31 | | | 30 | |
32 | .include "../../security/tcp_wrappers/buildlink3.mk" | | 31 | .include "../../security/tcp_wrappers/buildlink3.mk" |
33 | .include "../../sysutils/libol/buildlink3.mk" | | 32 | .include "../../sysutils/libol/buildlink3.mk" |
34 | | | 33 | |
| | | 34 | .if ${OPSYS} == "SunOS" |
| | | 35 | CONFIGURE_ARGS+= --enable-full-dynamic |
| | | 36 | .endif |
| | | 37 | |
35 | BUILDLINK_API_DEPENDS.libol+= libol>=0.3.0 | | 38 | BUILDLINK_API_DEPENDS.libol+= libol>=0.3.0 |
36 | | | 39 | |
37 | PKG_OPTIONS_VAR= PKG_OPTIONS.syslog-ng | | 40 | PKG_OPTIONS_VAR= PKG_OPTIONS.syslog-ng |
38 | PKG_SUPPORTED_OPTIONS= syslogng-spoof | | 41 | PKG_SUPPORTED_OPTIONS= syslogng-spoof |
39 | | | 42 | |
40 | PKG_OPTIONS_LEGACY_OPTS+= spoof:syslogng-spoof | | 43 | PKG_OPTIONS_LEGACY_OPTS+= spoof:syslogng-spoof |
41 | | | 44 | |
42 | .include "../../mk/bsd.options.mk" | | 45 | .include "../../mk/bsd.options.mk" |
43 | | | 46 | |
44 | # | | 47 | # |
45 | # spoof the original source address of forwarded syslog packets | | 48 | # spoof the original source address of forwarded syslog packets |
46 | # | | 49 | # |
47 | .if !empty(PKG_OPTIONS:Msyslogng-spoof) | | 50 | .if !empty(PKG_OPTIONS:Msyslogng-spoof) |