ports/172951: [PATCH] irc/tircd: update to 0.21.2
Kevin Lo
kevlo at FreeBSD.org
Mon Oct 22 10:00:01 UTC 2012
>Number: 172951
>Category: ports
>Synopsis: [PATCH] irc/tircd: update to 0.21.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 22 10:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Kevin Lo
>Release: 10-current
>Organization:
>Environment:
FreeBSD fbsd 10.0-CURRENT FreeBSD 10.0-CURRENT #0
>Description:
Update tircd to 0.21.2
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 305295)
+++ Makefile (working copy)
@@ -6,16 +6,19 @@
#
PORTNAME= tircd
-PORTVERSION= 0.10
+PORTVERSION= 0.21.2
CATEGORIES= irc
MASTER_SITES= GOOGLE_CODE
-DISTNAME= ${PORTNAME}_v${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= gavin at FreeBSD.org
COMMENT= IRC proxy to Twitter
-RUN_DEPENDS= p5-JSON-Any>=0:${PORTSDIR}/converters/p5-JSON-Any \
+LICENSE= ART10 GPLv2
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
+ p5-JSON-Any>=0:${PORTSDIR}/converters/p5-JSON-Any \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-Time-Local>=0:${PORTSDIR}/devel/p5-Time-Local \
@@ -26,13 +29,11 @@ COMMENT= IRC proxy to Twitter
USE_PERL5= yes
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.2$/.1/}
MAN1= tircd.1
USE_RC_SUBR= tircd
-post-extract:
- @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
-
post-patch:
${REINPLACE_CMD} -e '1s,^#!/usr/bin/perl,#!${PREFIX}/bin/perl,' \
-e 's,/etc/tircd.cfg,${PREFIX}/etc/tircd.cfg,g' \
@@ -42,7 +43,7 @@ post-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tircd.pl ${PREFIX}/bin/tircd.pl
${INSTALL_MAN} ${WRKSRC}/tircd.1 ${MAN1PREFIX}/man/man1/tircd.1
- ${INSTALL_DATA} ${WRKSRC}/tircd.cfg.example ${PREFIX}/etc/tircd.cfg.example
+ ${INSTALL_DATA} ${WRKSRC}/tircd.cfg ${PREFIX}/etc/tircd.cfg.example
@if [ ! -f ${PREFIX}/etc/tircd.cfg ]; then \
${CP} -p ${PREFIX}/etc/tircd.cfg.example ${PREFIX}/etc/tircd.cfg ; \
fi
Index: distinfo
===================================================================
--- distinfo (revision 305295)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (tircd_v0.10.tgz) = 81f5ea5441af71d242acc4c2e98757e26005f19235752e8053193bab2aecea54
-SIZE (tircd_v0.10.tgz) = 26766
+SHA256 (tircd-0.21.2.tgz) = 769e2c3d898f835e8ac44a49a6b013d901d8f4252dd7e5a52e8d1e90bde35c04
+SIZE (tircd-0.21.2.tgz) = 35180
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list