Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2012 16:57:14 -0600
From:      Mark Felder <feld@feld.me>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173959: [PATCH] irc/inspircd: update to 2.0.9
Message-ID:  <E1TdU5a-000Pl3-I7@feld.me>
Resent-Message-ID: <201211272300.qARN00Xf089159@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173959
>Category:       ports
>Synopsis:       [PATCH] irc/inspircd: update to 2.0.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 27 23:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     feld
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD mwi1.coffeenet.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #5 r239731: Mon Aug 27 09:53:18 CDT
>Description:
- Update to 2.0.9

Removed file(s):
- files/patch-src_inspircd.cpp

Tests fine in poudriere testport and I *am* running this now in "production".
Seems to work without issue :)

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: suffix)
>How-To-Repeat:
>Fix:

--- inspircd-2.0.9.patch begins here ---
diff -ruN --exclude=CVS ../inspircd.orig/Makefile ./Makefile
--- ../inspircd.orig/Makefile	2012-11-16 23:58:28.000000000 -0600
+++ ./Makefile	2012-11-27 16:55:55.505536918 -0600
@@ -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 @@
 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 @@
 		--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 @@
 		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 -ruN --exclude=CVS ../inspircd.orig/distinfo ./distinfo
--- ../inspircd.orig/distinfo	2012-11-25 08:29:35.000000000 -0600
+++ ./distinfo	2012-11-27 11:30:45.000000000 -0600
@@ -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 -ruN --exclude=CVS ../inspircd.orig/files/patch-src_inspircd.cpp ./files/patch-src_inspircd.cpp
--- ../inspircd.orig/files/patch-src_inspircd.cpp	2012-11-25 08:29:35.000000000 -0600
+++ ./files/patch-src_inspircd.cpp	1969-12-31 18:00:00.000000000 -0600
@@ -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 -ruN --exclude=CVS ../inspircd.orig/pkg-plist ./pkg-plist
--- ../inspircd.orig/pkg-plist	2012-11-25 08:29:35.000000000 -0600
+++ ./pkg-plist	2012-11-27 12:04:07.000000000 -0600
@@ -218,6 +218,7 @@
 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
--- inspircd-2.0.9.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1TdU5a-000Pl3-I7>