ports/92498: japanese/hns update to version 2.19.6

NAKAJI Hiroyuki nakaji at jp.freebsd.org
Tue Feb 28 14:40:33 UTC 2006


A security advisory written in Japanese was announced.
http://www.h14m.org/SA/2006/hns-SA-2006-01.txt

(The make-rurimap.cgi script may cause your blog server to become
spammer.)

On Feb 28 2006, the latest version of hns to fix this security problem
was released. I have updated the patch for ports-current.

Please update as soon as possible, or mark it as broken for security
reason.

Index: Makefile
===================================================================
RCS file: /net/www/home/ncvs/ports/japanese/hns/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	22 Jan 2004 11:05:55 -0000	1.12
+++ Makefile	28 Feb 2006 14:30:25 -0000
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	hns
-PORTVERSION=	2.10.3
+PORTVERSION=	2.19.7
 CATEGORIES=	japanese www perl5
-MASTER_SITES=	http://downloads.sourceforge.jp/h14m/3249/
-DISTNAME=	${PORTNAME}-${PORTVERSION:R}-pl${PORTVERSION:E}
+MASTER_SITES=	http://www.h14m.org/dist/ \
+		http://prdownloads.sourceforge.jp/h14m/19119/
 
 MAINTAINER=	hnsmaster at h14m.org
 COMMENT=	Hyper NIKKI System, a CGI system for Electric Diary Interchange
@@ -17,8 +17,6 @@
 USE_PERL5=	yes
 NO_BUILD=	yes
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}-pl${PORTVERSION:E}
-
 do-install:
 	@if [ -d ${DATADIR} ]; then ${RM} -rf ${DATADIR}; fi
 	${MKDIR} ${DATADIR}
@@ -29,9 +27,9 @@
 
 post-install:
 	@cd ${WRKSRC} && ${FIND} . -type f -o -type l | \
-		sed 's,^\.,share/${PORTNAME},' | ${SORT} >> ${TMPPLIST}
+		${SED} 's,^\.,share/${PORTNAME},' | ${SORT} >> ${TMPPLIST}
 	@cd ${WRKSRC} && ${FIND} . -type d | \
-		sed 's,^\., at dirrm share/${PORTNAME},' | ${SORT} -r \
+		${SED} 's,^\., at dirrm share/${PORTNAME},' | ${SORT} -r \
 			>> ${TMPPLIST}
 	@${CAT} ${PKGMESSAGE}
 
Index: distinfo
===================================================================
RCS file: /net/www/home/ncvs/ports/japanese/hns/distinfo,v
retrieving revision 1.7
diff -u -u -r1.7 distinfo
--- distinfo	31 Mar 2004 03:08:41 -0000	1.7
+++ distinfo	28 Feb 2006 14:30:32 -0000
@@ -1,2 +1,3 @@
-MD5 (hns-2.10-pl3.tar.gz) = 9428cbc3791fbd6530e28f43d31ffa99
-SIZE (hns-2.10-pl3.tar.gz) = 975507
+MD5 (hns-2.19.7.tar.gz) = 2063053d032885eb9469aea6446fec89
+SHA256 (hns-2.19.7.tar.gz) = e68513cf8ee8ba2d85b36626e6de20f683a4b8ac381a90893a5ef86f99939353
+SIZE (hns-2.19.7.tar.gz) = 747596

-- 
NAKAJI Hiroyuki



More information about the freebsd-ports-bugs mailing list