aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2017-11-28 00:10:06 +0800
committerfeld <feld@FreeBSD.org>2017-11-28 00:10:06 +0800
commite7930af8dc0a12395e182478d7652e655a28fc22 (patch)
tree328859199d79fcd3bebc685eb986fd1ba4268bdd /irc
parentea9ad0fb1edcbce755108c888684bd9e562ea83f (diff)
downloadfreebsd-ports-gnome-e7930af8dc0a12395e182478d7652e655a28fc22.tar.gz
freebsd-ports-gnome-e7930af8dc0a12395e182478d7652e655a28fc22.tar.zst
freebsd-ports-gnome-e7930af8dc0a12395e182478d7652e655a28fc22.zip
irc/inspircd: Update to 2.0.25
Changelog: http://www.inspircd.org/2017/11/12/v2025-released.html PR: 220268 Differential Revision: https://reviews.freebsd.org/D12990
Diffstat (limited to 'irc')
-rw-r--r--irc/inspircd/Makefile14
-rw-r--r--irc/inspircd/distinfo6
-rw-r--r--irc/inspircd/pkg-plist1
3 files changed, 15 insertions, 6 deletions
diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile
index 99c7230520d2..378bf0cda76a 100644
--- a/irc/inspircd/Makefile
+++ b/irc/inspircd/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= inspircd
-PORTVERSION= 2.0.23
+PORTVERSION= 2.0.25
DISTVERSIONPREFIX= v
-PORTREVISION= 0
CATEGORIES= irc
MAINTAINER= feld@FreeBSD.org
@@ -48,7 +47,7 @@ CONFIGURE_ARGS= --with-cc=${CXX} --config-dir=${ETCDIR} \
--enable-kqueue --disable-interactive \
--uid=${INSPIRCD_UID}
-OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAPAUTH LDAPOPER GNUTLS OPENSSL PCRE POSIX
+OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAPAUTH LDAPOPER GNUTLS OPENSSL PCRE POSIX GEOIP
OPTIONS_DEFAULT= OPENSSL POSIX
GNUTLS_DESC= Build m_ssl_gnutls module
@@ -60,6 +59,7 @@ PGSQL_DESC= Build m_pgsql module
SQLITE_DESC= Build m_sqlite3 module
PCRE_DESC= Build m_regex_pcre module
POSIX_DESC= Build m_regex_posix module
+GEOIP_DESC= Build m_geoip module
.include <bsd.port.options.mk>
@@ -137,6 +137,14 @@ PLIST_SUB+= POSIX=""
PLIST_SUB+= POSIX="@comment "
.endif
+.if ${PORT_OPTIONS:MGEOIP}
+LIB_DEPENDS+= libGeoIP.so:net/GeoIP
+EXTRAS:=${EXTRAS},m_geoip.cpp
+PLIST_SUB+= GEOIP=""
+.else
+PLIST_SUB+= GEOIP="@comment "
+.endif
+
pre-configure:
@if [ ${EXTRAS} ]; then \
cd ${WRKSRC} && ${CONFIGURE_CMD} --enable-extras=${EXTRAS} ; \
diff --git a/irc/inspircd/distinfo b/irc/inspircd/distinfo
index ff35898d1adc..dfd62ecc5b08 100644
--- a/irc/inspircd/distinfo
+++ b/irc/inspircd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1473170069
-SHA256 (inspircd-inspircd-v2.0.23_GH0.tar.gz) = 522b31fc80e8fd90b66837bf50f8a941233709d5b1fc9c0b3c47a413fb69f162
-SIZE (inspircd-inspircd-v2.0.23_GH0.tar.gz) = 731695
+TIMESTAMP = 1511032831
+SHA256 (inspircd-inspircd-v2.0.25_GH0.tar.gz) = c2488fafd04fcabbd8ddc8b9cdc6e0b57e942802b451c9cbccaf5d8483ebd251
+SIZE (inspircd-inspircd-v2.0.25_GH0.tar.gz) = 734017
diff --git a/irc/inspircd/pkg-plist b/irc/inspircd/pkg-plist
index 4e19b16db800..d614df841856 100644
--- a/irc/inspircd/pkg-plist
+++ b/irc/inspircd/pkg-plist
@@ -208,6 +208,7 @@ lib/inspircd/modules/m_sqloper.so
%%OPENSSL%%lib/inspircd/modules/m_ssl_openssl.so
%%PCRE%%lib/inspircd/modules/m_regex_pcre.so
%%POSIX%%lib/inspircd/modules/m_regex_posix.so
+%%GEOIP%%lib/inspircd/modules/m_geoip.so
lib/inspircd/modules/m_sslinfo.so
lib/inspircd/modules/m_sslmodes.so
lib/inspircd/modules/m_stripcolor.so