diff options
author | Steve Wills <swills@FreeBSD.org> | 2012-11-28 02:02:14 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2012-11-28 02:02:14 +0000 |
commit | a94ce78fa7e3bd80155790293be4b5e4d2ad22d4 (patch) | |
tree | ed785b4fe8fec9e0b5945545c7f6be256e3dbc7d | |
parent | 21b2a713f4bf287bd395d8cdb5c8304aef913e76 (diff) | |
download | ports-a94ce78fa7e3bd80155790293be4b5e4d2ad22d4.tar.gz ports-a94ce78fa7e3bd80155790293be4b5e4d2ad22d4.zip |
Notes
-rw-r--r-- | irc/inspircd/Makefile | 9 | ||||
-rw-r--r-- | irc/inspircd/distinfo | 4 | ||||
-rw-r--r-- | irc/inspircd/files/patch-src_inspircd.cpp | 11 | ||||
-rw-r--r-- | irc/inspircd/pkg-plist | 1 |
4 files changed, 10 insertions, 15 deletions
diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile index 9a6730008837..ea0ae7116216 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 481eb3ae1688..43abe03eb550 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 a05dba7a62fb..e69de29bb2d1 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 d730472c1ef4..04adf502a86a 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 |