Bug 92498 - japanese/hns update to version 2.19.6
Summary: japanese/hns update to version 2.19.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-29 10:50 UTC by NAKAJI Hiroyuki
Modified: 2006-04-05 14:36 UTC (History)
0 users

See Also:


Attachments
file.diff (1.73 KB, patch)
2006-01-29 10:50 UTC, NAKAJI Hiroyuki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description NAKAJI Hiroyuki 2006-01-29 10:50:02 UTC
	The Hyper NIKKI System is updated to 2.19.6
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-29 10:52:19 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 kenji 2006-02-06 04:41:12 UTC
Thank you for sending PR.
We approve the patch.

But following might be better.


PORTNAME=      hns
-PORTVERSION=   2.10.3
+PORTVERSION=   2.19.6
 CATEGORIES=    japanese www perl5
-MASTER_SITES=  http://downloads.sourceforge.jp/h14m/3249/
-DISTNAME=      ${PORTNAME}-${PORTVERSION:R}-pl${PORTVERSION:E}
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR=    h14m/16274

 MAINTAINER=    hnsmaster@h14m.org
 COMMENT=       Hyper NIKKI System, a CGI system for Electric Diary Interchange


On Sun, 29 Jan 2006 10:52:05 UT
Edwin Groothuis <edwin@FreeBSD.org> wrote:

> Maintainer of japanese/hns,
> 
> Please note that PR ports/92498 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/92498
> 
> -- 
> Edwin Groothuis
> edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2006-02-06 05:25:05 UTC
State Changed
From-To: feedback->open

maintainer approved.
Comment 4 NAKAJI Hiroyuki 2006-02-28 14:40:25 UTC
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@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,^\.,@dirrm share/${PORTNAME},' | ${SORT} -r \
+		${SED} 's,^\.,@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
Comment 5 Yoichi NAKAYAMA freebsd_committer freebsd_triage 2006-03-01 23:22:31 UTC
Dear maintainer of japanese/hns port,
Would you approve the patch in
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/92498
to update it to hns-2.19.7?

Sincerely,
-- 
Yoichi NAKAYAMA
Comment 6 NAKAJI Hiroyuki 2006-03-09 01:15:49 UTC
hns-2.19.8 was released.

The make-rurimap.cgi script in hns-2.19.7 has a bug and does not work
properly.

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	9 Mar 2006 01:10:13 -0000
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	hns
-PORTVERSION=	2.10.3
+PORTVERSION=	2.19.8
 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/19205/
 
 MAINTAINER=	hnsmaster@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,^\.,@dirrm share/${PORTNAME},' | ${SORT} -r \
+		${SED} 's,^\.,@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	9 Mar 2006 01:10:22 -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.8.tar.gz) = bd84a59b20c1b29ba837791db290399a
+SHA256 (hns-2.19.8.tar.gz) = ebbe390c0a07e50e8c9babbd7129c3e1bbce0c8003389a6f74f30224dbfaec50
+SIZE (hns-2.19.8.tar.gz) = 9904
Comment 7 yoichi 2006-04-05 04:56:19 UTC
Nakaji-san,
I'm sorry for handling this pr so late.
I meet checksum mismatch error with the last patch
you posts. Would you give us some explanation?

Regards,
-- 
Yoichi NAKAYAMA
Comment 8 NAKAJI Hiroyuki 2006-04-05 14:09:29 UTC
>>>>> In <86k6a4n09o.wl%yoichi@geiin.org> 
>>>>>	Yoichi NAKAYAMA <yoichi@geiin.org> wrote:
> Nakaji-san,
> I'm sorry for handling this pr so late.
> I meet checksum mismatch error with the last patch
> you posts. Would you give us some explanation?

Oops. I downloaded the redirecting HTML file and did not recognized
my mistake.

This is a correct patch to update to the latest 2.19.8. Thanks.

Index: Makefile
===================================================================
RCS file: /net/www/home/ncvs/ports/japanese/hns/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	22 Jan 2004 11:05:55 -0000	1.12
+++ Makefile	5 Apr 2006 13:03:51 -0000
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	hns
-PORTVERSION=	2.10.3
+PORTVERSION=	2.19.8
 CATEGORIES=	japanese www perl5
-MASTER_SITES=	http://downloads.sourceforge.jp/h14m/3249/
-DISTNAME=	${PORTNAME}-${PORTVERSION:R}-pl${PORTVERSION:E}
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR=	h14m/19205
 
 MAINTAINER=	hnsmaster@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,^\.,@dirrm share/${PORTNAME},' | ${SORT} -r \
+		${SED} 's,^\.,@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 -r1.7 distinfo
--- distinfo	31 Mar 2004 03:08:41 -0000	1.7
+++ distinfo	5 Apr 2006 13:04:16 -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.8.tar.gz) = 3abc82843cb90bfef2b6b98b726a73fd
+SHA256 (hns-2.19.8.tar.gz) = 6314a8a47b362e4e278571b3a0abad16cbd33081427f2d93137676d1c4cde06e
+SIZE (hns-2.19.8.tar.gz) = 747715

-- 
NAKAJI Hiroyuki
Comment 9 Yoichi NAKAYAMA freebsd_committer freebsd_triage 2006-04-05 14:35:25 UTC
State Changed
From-To: open->closed

Committed by maintainer's timeout.