aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2013-01-11 08:56:23 +0800
committercy <cy@FreeBSD.org>2013-01-11 08:56:23 +0800
commit07d776c6c5bf24ea310ba4028fdebcb534ad8f71 (patch)
treeb0b6ca51b71508818642332ac55a49f1e1fba033
parent325379bb5944147815b301971596091c5605bd54 (diff)
downloadfreebsd-ports-gnome-07d776c6c5bf24ea310ba4028fdebcb534ad8f71.tar.gz
freebsd-ports-gnome-07d776c6c5bf24ea310ba4028fdebcb534ad8f71.tar.zst
freebsd-ports-gnome-07d776c6c5bf24ea310ba4028fdebcb534ad8f71.zip
Update from 3.4.0beta1 to 3.4.0rc1
Submitted by: Peter Czanik <czanik@balabit.hu> (our syslog-ng upline)
-rw-r--r--sysutils/syslog-ng-devel/Makefile14
-rw-r--r--sysutils/syslog-ng-devel/distinfo4
-rw-r--r--sysutils/syslog-ng-devel/pkg-plist2
3 files changed, 15 insertions, 5 deletions
diff --git a/sysutils/syslog-ng-devel/Makefile b/sysutils/syslog-ng-devel/Makefile
index f884bcc49638..995f1841c5fb 100644
--- a/sysutils/syslog-ng-devel/Makefile
+++ b/sysutils/syslog-ng-devel/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= syslog-ng
-PORTVERSION= 3.4.0b1
+PORTVERSION= 3.4.0r1
CATEGORIES= sysutils
PKGNAMESUFFIX= -devel
-DISTVERSION= $(PORTVERSION:S/b/beta/)
+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?path=/syslog-ng/open-source-edition/${DISTVERSION}/source/
@@ -29,6 +29,7 @@ OPTIONS= SYS_SSL "Build with OpenSSL support (from system)" off \
PCRE "Build with PCRE support" on \
SMTP "Build with SMTP support" off \
JSON "Build with JSON-C support" off \
+ GEOIP "Build with GeoIP support" off \
.include <bsd.port.options.mk>
@@ -102,6 +103,15 @@ LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
CONFIGURE_ARGS+= --disable-pcre
.endif
+.if defined(WITH_GEOIP)
+CONFIGURE_ARGS+= --enable-geoip
+LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
+CONFIGURE_ENV+= GEOIP_LIBS="-lGeoIP"
+PLIST_FILES+= lib/syslog-ng/libtfgeoip.la lib/syslog-ng/libtfgeoip.so
+.else
+CONFIGURE_ARGS+= --disable-geoip
+.endif
+
.if defined(WITH_SMTP)
CONFIGURE_ARGS+= --with-libesmtp=/usr/local/
LIB_DEPENDS+= esmtp.7:${PORTSDIR}/mail/libesmtp
diff --git a/sysutils/syslog-ng-devel/distinfo b/sysutils/syslog-ng-devel/distinfo
index 6c6428e55ac6..a66d75bc09ea 100644
--- a/sysutils/syslog-ng-devel/distinfo
+++ b/sysutils/syslog-ng-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (syslog-ng_3.4.0beta1.tar.gz) = 7adf8a7706b531bffc1f10a64eb892c04c3278da436927155aaae59ce06c9704
-SIZE (syslog-ng_3.4.0beta1.tar.gz) = 3214545
+SHA256 (syslog-ng_3.4.0rc1.tar.gz) = aa611c70297bcdf89928390f3a21612590f84724a41f2076c527f4e1dafb62c7
+SIZE (syslog-ng_3.4.0rc1.tar.gz) = 3345313
diff --git a/sysutils/syslog-ng-devel/pkg-plist b/sysutils/syslog-ng-devel/pkg-plist
index f9469af2b70c..b468ff79e3e4 100644
--- a/sysutils/syslog-ng-devel/pkg-plist
+++ b/sysutils/syslog-ng-devel/pkg-plist
@@ -86,7 +86,7 @@ include/syslog-ng/uuid.h
include/syslog-ng/vptransform.h
lib/libsyslog-ng.la
lib/libsyslog-ng.so
-lib/libsyslog-ng-3.4.0beta1.so
+lib/libsyslog-ng-3.4.0rc1.so
libdata/pkgconfig/syslog-ng.pc
lib/syslog-ng/libcryptofuncs.la
lib/syslog-ng/libcryptofuncs.so