aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2012-11-28 10:02:14 +0800
committerswills <swills@FreeBSD.org>2012-11-28 10:02:14 +0800
commitfc8dbaae5f12e3a1559edaf2b368a4b754e4236b (patch)
treeed785b4fe8fec9e0b5945545c7f6be256e3dbc7d /irc
parent6f31415bceb3ce26f51f0c139c914f57ff86cb58 (diff)
downloadfreebsd-ports-graphics-fc8dbaae5f12e3a1559edaf2b368a4b754e4236b.tar.gz
freebsd-ports-graphics-fc8dbaae5f12e3a1559edaf2b368a4b754e4236b.tar.zst
freebsd-ports-graphics-fc8dbaae5f12e3a1559edaf2b368a4b754e4236b.zip
- Update to 2.0.9
PR: ports/173959 Submitted by: Mark Felder <feld@feld.me> (maintainer) Feature safe: yes
Diffstat (limited to 'irc')
-rw-r--r--irc/inspircd/Makefile9
-rw-r--r--irc/inspircd/distinfo4
-rw-r--r--irc/inspircd/files/patch-src_inspircd.cpp11
-rw-r--r--irc/inspircd/pkg-plist1
4 files changed, 10 insertions, 15 deletions
diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile
index 9a673000883..ea0ae711621 100644
--- a/irc/inspircd/Makefile
+++ b/irc/inspircd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= inspircd
-PORTVERSION= 2.0.8
+PORTVERSION= 2.0.9
CATEGORIES= irc
MASTER_SITES= http://cloud.github.com/downloads/inspircd/inspircd/
DISTNAME= InspIRCd-${PORTVERSION}
@@ -14,6 +14,9 @@ DISTNAME= InspIRCd-${PORTVERSION}
MAINTAINER= feld@feld.me
COMMENT= A modular C++ IRC daemon
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/docs/COPYING
+
CONFLICTS= inspircd-1.*
USE_BZIP2= yes
@@ -39,7 +42,6 @@ CONFIGURE_ARGS= --with-cc=${CXX} --config-dir=${ETCDIR} \
--prefix=${PREFIX}/lib/${PORTNAME} --binary-dir=${PREFIX}/bin \
--enable-kqueue --disable-interactive \
--uid=${INSPIRCD_UID}
-PORTDOCS= docs/* extras/*
OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAPAUTH LDAPOPER GNUTLS OPENSSL PCRE POSIX
OPTIONS_DEFAULT= POSIX
@@ -138,6 +140,9 @@ pre-configure:
cd ${WRKSRC} && ./${CONFIGURE_SCRIPT} --enable-extras=${EXTRAS} ; \
fi
+post-patch:
+ @${REINPLACE_CMD} -e 's|DATA_PATH "/inspircd.pid"|"/var/run/inspircd/inspircd.pid"|' ${WRKSRC}/src/inspircd.cpp
+
post-install:
@${STRIP_CMD} ${PREFIX}/lib/${PORTNAME}/modules/*.so
@${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
diff --git a/irc/inspircd/distinfo b/irc/inspircd/distinfo
index 481eb3ae168..43abe03eb55 100644
--- a/irc/inspircd/distinfo
+++ b/irc/inspircd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (InspIRCd-2.0.8.tar.bz2) = 5fd57df1a2a10f480aefc61272f22fdd8addb5ab3a544582235377b8fa8b9296
-SIZE (InspIRCd-2.0.8.tar.bz2) = 591761
+SHA256 (InspIRCd-2.0.9.tar.bz2) = 25222aa22f51e77e27f594acec0c76d7b8f131b6f167c1f3bd9a6ae6a6c0b214
+SIZE (InspIRCd-2.0.9.tar.bz2) = 595123
diff --git a/irc/inspircd/files/patch-src_inspircd.cpp b/irc/inspircd/files/patch-src_inspircd.cpp
index a05dba7a62f..e69de29bb2d 100644
--- a/irc/inspircd/files/patch-src_inspircd.cpp
+++ b/irc/inspircd/files/patch-src_inspircd.cpp
@@ -1,11 +0,0 @@
---- src/inspircd.cpp.orig 2010-12-11 15:07:45.000000000 +0900
-+++ src/inspircd.cpp 2010-12-11 15:08:11.000000000 +0900
-@@ -274,7 +274,7 @@
- {
- std::string fname(filename);
- if (fname.empty())
-- fname = "data/inspircd.pid";
-+ fname = "/var/run/inspircd/inspircd.pid";
- std::ofstream outfile(fname.c_str());
- if (outfile.is_open())
- {
diff --git a/irc/inspircd/pkg-plist b/irc/inspircd/pkg-plist
index d730472c1ef..04adf502a86 100644
--- a/irc/inspircd/pkg-plist
+++ b/irc/inspircd/pkg-plist
@@ -218,6 +218,7 @@ lib/inspircd/modules/m_swhois.so
lib/inspircd/modules/m_testnet.so
lib/inspircd/modules/m_timedbans.so
lib/inspircd/modules/m_tline.so
+lib/inspircd/modules/m_topiclock.so
lib/inspircd/modules/m_uhnames.so
lib/inspircd/modules/m_uninvite.so
lib/inspircd/modules/m_userip.so