From lazykang@hotmail.com  Thu Aug  7 19:28:51 2003
Return-Path: <lazykang@hotmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8005637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Aug 2003 19:28:51 -0700 (PDT)
Received: from hotmail.com (bay8-f51.bay8.hotmail.com [64.4.27.51])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1EFE343FBF
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Aug 2003 19:28:51 -0700 (PDT)
	(envelope-from lazykang@hotmail.com)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Thu, 7 Aug 2003 19:28:50 -0700
Received: from 218.107.145.116 by by8fd.bay8.hotmail.msn.com with HTTP;
	Fri, 08 Aug 2003 02:28:50 GMT
Message-Id: <BAY8-F519cAgjHXwKHv0000f18a@hotmail.com>
Date: Fri, 08 Aug 2003 10:28:50 +0800
From: "Kang Liu" <lazykang@hotmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch]possible wrong plist in ports/lang/yorick

>Number:         55358
>Category:       ports
>Synopsis:       possible wrong plist in ports/lang/yorick
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 07 19:30:10 PDT 2003
>Closed-Date:    Mon Sep 08 23:46:33 PDT 2003
>Last-Modified:  Mon Sep 08 23:46:33 PDT 2003
>Originator:     Kang Liu
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
ports
>Environment:
System: FreeBSD testipfw.bjpu.edu.cn 5.1-CURRENT FreeBSD 5.1-CURRENT #8: Mon 
Aug 4 23:37:18 CST 2003 root@testipfw.bjpu.edu.cn:/usr/obj/usr/src/sys/IPFW 
i386
>Description:
the pkg-plist in ports/lang/yorick might be wrong.
>How-To-Repeat:
run "make" at ports/lang/yorick
>Fix:
--- pkg-plist.orig	Fri Aug  8 10:15:25 2003
+++ pkg-plist	Fri Aug  8 10:15:35 2003
@@ -156,11 +156,6 @@
share/yorick/yorick.el
%%PORTDOCS%%@unexec install-info --delete %D/info/yorick.info.gz %D/info/dir
%%PORTDOCS%%info/yorick.info.gz
-%%PORTDOCS%%info/yorick.info-1.gz
-%%PORTDOCS%%info/yorick.info-4.gz
-%%PORTDOCS%%info/yorick.info-2.gz
-%%PORTDOCS%%info/yorick.info-5.gz
-%%PORTDOCS%%info/yorick.info-3.gz
%%PORTDOCS%%@exec install-info %D/info/yorick.info.gz %D/info/dir
@dirrm share/yorick/i0
@dirrm share/yorick/i

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

>Release-Note:
>Audit-Trail:

From: "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" <giffunip@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: lazykang@hotmail.com
Subject: Re: ports/55358: possible wrong plist in ports/lang/yorick
Date: Fri, 29 Aug 2003 21:18:31 +0100 (BST)

 Hi;
 I'm using 5.0R and I didn't see this problem, although the bento logs seem to
 confirm there's an issue there.
 I wanted to point out that the author (David is also the port maintainer) made
 an update to the port on his website that I am attaching here.
 
 begin 644 patch-yorick
 M9&EF9B`M<G5.('EO<FEC:RYO<FEG+TUA:V5F:6QE('EO<FEC:R]-86ME9FEL
 M90HM+2T@>6]R:6-K+F]R:6<O36%K969I;&4)1G)I($%U9R`R.2`Q-#HU,3HR
 M.2`R,#`S"BLK*R!Y;W)I8VLO36%K969I;&4)1G)I($%U9R`R.2`Q-#HU.#HS
 M,2`R,#`S"D!`("TY+#8@*SDL-R!`0`H@(R`@("`@("`@("`Q+C4N,#(@<&]R
 M="!B>2!P;W)T<T!&<F5E0E-$+F]R9RP*(",@("`@("`@("`@("`@("`@(&9R
 M;VT@<W5B;6ES<VEO;B!B>2!%9"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9&ES=&EN
 M9F\@>6]R:6-K+V1I<W1I;F9O"BTM+2!Y;W)I8VLN;W)I9R]D:7-T:6YF;PE&
 M<FD@075G(#(Y(#$T.C4Q.C(Y(#(P,#,**RLK('EO<FEC:R]D:7-T:6YF;PE&
 M<FD@3F]V("`Q(#$X.C,W.C0S(#(P,#(*0$`@+3$L,B`K,2!`0`HM340U("AY
 M;W)I8VLM,2XU+C`X+G1G>BD@/2`R9C$S9&0Y8F,R9F0Q-3`S8C$X,#`V8S)A
 M,V,R-3-E90HM"BM-1#4@*'EO<FEC:RTQ+C4N,3(N=&=Z*2`](&,P-S<Q9C4Y
 99C`S9&,S-61A,V)B861A-&,T,30P.6(T"@``
 `
 end
 
 
 ________________________________________________________________________
 Want to chat instantly with your online friends?  Get the FREE Yahoo!
 Messenger http://uk.messenger.yahoo.com/

From: "Kang Liu" <lazykang@hotmail.com>
To: giffunip@yahoo.com, freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/55358: possible wrong plist in ports/lang/yorick
Date: Sat, 30 Aug 2003 15:24:54 +0800

 >From: "Pedro F. Giffuni" <giffunip@yahoo.com>
 >To: freebsd-gnats-submit@FreeBSD.org
 >CC: lazykang@hotmail.com
 >Subject: Re: ports/55358: possible wrong plist in ports/lang/yorick
 >Date: Fri, 29 Aug 2003 21:18:31 +0100 (BST)
 >I'm using 5.0R and I didn't see this problem, although the bento logs seem 
 >to
 >confirm there's an issue there.
 >I wanted to point out that the author (David is also the port maintainer) 
 >made
 >an update to the port on his website that I am attaching here.
 
 I've tested your patch, it works.
 but I tihink there are something wrong in plist.
 # make deinstall
 ===>  Deinstalling for lang/yorick
 ===>   Deinstalling yorick-1.5.12
 pkg_delete: file '/usr/local/info/yorick.info-1.gz' doesn't really exist
 pkg_delete: file '/usr/local/info/yorick.info-4.gz' doesn't really exist
 pkg_delete: file '/usr/local/info/yorick.info-2.gz' doesn't really exist
 pkg_delete: file '/usr/local/info/yorick.info-5.gz' doesn't really exist
 pkg_delete: file '/usr/local/info/yorick.info-3.gz' doesn't really exist
 pkg_delete: couldn't entirely delete package (perhaps the packing list is
 incorrectly specified?)
 I've test it (and reproduce the problem) on both latest 4.8 and 5.1 .
 
 _________________________________________________________________
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
 http://join.msn.com/?page=features/virus
 

From: "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" <giffunip@yahoo.com>
To: Kang Liu <lazykang@hotmail.com>, freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/55358: possible wrong plist in ports/lang/yorick
Date: Sat, 30 Aug 2003 18:22:02 +0100 (BST)

  --- Kang Liu <lazykang@hotmail.com> wrote:
 ...
 > 
 > I've tested your patch, it works.
 > but I tihink there are something wrong in plist.
 > # make deinstall
 > ===>  Deinstalling for lang/yorick
 > ===>   Deinstalling yorick-1.5.12
 > pkg_delete: file '/usr/local/info/yorick.info-1.gz' doesn't really exist
 > pkg_delete: file '/usr/local/info/yorick.info-4.gz' doesn't really exist
 > pkg_delete: file '/usr/local/info/yorick.info-2.gz' doesn't really exist
 > pkg_delete: file '/usr/local/info/yorick.info-5.gz' doesn't really exist
 > pkg_delete: file '/usr/local/info/yorick.info-3.gz' doesn't really exist
 > pkg_delete: couldn't entirely delete package (perhaps the packing list is
 > incorrectly specified?)
 > I've test it (and reproduce the problem) on both latest 4.8 and 5.1 .
 > 
 
 It's probably an issue with install-info, I think it has been enhanced on
 recent FreeBSD's ports tree. Yorick is an important port (IMHO).
 
 
 ________________________________________________________________________
 Want to chat instantly with your online friends?  Get the FREE Yahoo!
 Messenger http://uk.messenger.yahoo.com/

From: "David H. Munro" <munro@oldben.llnl.gov>
To: freebsd-gnats-submit@FreeBSD.org, lazykang@hotmail.com
Cc:  
Subject: Re: ports/55358: possible wrong plist in ports/lang/yorick
Date: Thu, 04 Sep 2003 11:38:32 -0700

 The enclosed patch apparently resolves this problem, in addition
 to updating to the yorick-1.5.12 source tarball.  This PR can be
 closed when this patch is applied.
 
 
 diff -ruN yorick.orig/Makefile yorick/Makefile
 --- yorick.orig/Makefile	2003-02-21 04:35:09.000000000 -0800
 +++ yorick/Makefile	2003-09-04 11:33:25.000000000 -0700
 @@ -9,6 +9,7 @@
   #          1.5.02 port by ports@FreeBSD.org,
   #                 from submission by Ed Alley <wea@llnl.gov>
   #          1.5.07 port by David H. Munro <munro1@llnl.gov>
 +#          1.5.12 port by David H. Munro <munro1@llnl.gov>, 01/Nov/02
   # 1.5.07 notes:
   # (1) info pages installed in PREFIX/info for consistency with other apps
   #     -- really should be in PREFIX/share/info
 @@ -25,10 +26,9 @@
   #          1.5.08 replaces 1.5.07 infant mortality
 
   PORTNAME=	yorick
 -PORTVERSION=	1.5.08
 +PORTVERSION=	1.5.12
   CATEGORIES=	lang math
 -MASTER_SITES=	ftp://ftp-icf.llnl.gov/pub/Yorick/ \
 -		ftp://wuarchive.wustl.edu/languages/yorick/
 +MASTER_SITES=	ftp://ftp-icf.llnl.gov/pub/Yorick/
   EXTRACT_SUFX=	.tgz
 
   MAINTAINER=	munro1@llnl.gov
 @@ -40,6 +40,7 @@
   MAKE_ARGS=	Y_HOME="${PREFIX}/lib/${PORTNAME}" Y_SITE="${DATADIR}" \
   		Y_DOCDIR=/dev/null
   MAN1=		yorick.1 gist.1
 +INFO=		yorick
 
   PORTDOCS=	FILE_FORMATS README drat.doc drat.tex graph.doc hex.doc \
   		library.doc math.doc refs.pdf refs.ps refs.tex std.doc \
 diff -ruN yorick.orig/distinfo yorick/distinfo
 --- yorick.orig/distinfo	2002-02-09 01:15:58.000000000 -0800
 +++ yorick/distinfo	2002-11-01 15:37:43.000000000 -0800
 @@ -1,2 +1 @@
 -MD5 (yorick-1.5.08.tgz) = 2f13dd9bc2fd1503b18006c2a3c253ee
 -
 +MD5 (yorick-1.5.12.tgz) = c0771f59f03dc35da3bbada4c41409b4
 diff -ruN yorick.orig/pkg-plist yorick/pkg-plist
 --- yorick.orig/pkg-plist	2002-02-09 01:15:58.000000000 -0800
 +++ yorick/pkg-plist	2003-09-04 11:25:20.000000000 -0700
 @@ -154,14 +154,6 @@
   share/yorick/i0/std.i
   share/yorick/i0/stdx.i
   share/yorick/yorick.el
 -%%PORTDOCS%%@unexec install-info --delete %D/info/yorick.info.gz %D/info/dir
 -%%PORTDOCS%%info/yorick.info.gz
 -%%PORTDOCS%%info/yorick.info-1.gz
 -%%PORTDOCS%%info/yorick.info-4.gz
 -%%PORTDOCS%%info/yorick.info-2.gz
 -%%PORTDOCS%%info/yorick.info-5.gz
 -%%PORTDOCS%%info/yorick.info-3.gz
 -%%PORTDOCS%%@exec install-info %D/info/yorick.info.gz %D/info/dir
   @dirrm share/yorick/i0
   @dirrm share/yorick/i
   @dirrm share/yorick/g
 

From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
To: "David H. Munro" <munro@oldben.llnl.gov>
Cc: freebsd-gnats-submit@FreeBSD.org,
	Kang Liu <lazykang@hotmail.com>,
	"Pedro F. Giffuni" <giffunip@yahoo.com>
Subject: Re: ports/55358: possible wrong plist in ports/lang/yorick
Date: Thu, 04 Sep 2003 21:31:23 +0200

 as discussed with Pedro F. Giffuni <giffunip@yahoo.com> in
 FreeBSD ports 3F569EB8.6000207@fillmore-labs.com
   http://lists.freebsd.org/pipermail/freebsd-ports/2003-September/004249.html
 
 you have to remove
 	${GZIP_CMD} ${WRKSRC}/doc/yorick.info*
 
 from post-build, and change
 	install-info ${PREFIX}/info/yorick.info.gz ${PREFIX}/info/dir
 in post-install to
 	install-info ${PREFIX}/info/yorick.info ${PREFIX}/info/dir
 
 otherwise package building won't work.
 
 Btw,
 
 .if !exists(${PREFIX}/bin)
 	@${MKDIR} ${PREFIX}/bin
 .endif
 
 .if !exists(${PREFIX}/man/man1)
 	@${MKDIR} ${PREFIX}/man/man1
 .endif
 
 .if !exists(${PREFIX}/info)
 	@${MKDIR} ${PREFIX}/info
 .endif
 
 shouldn't be in the in the ports Makefile, and the condition does not
 do what you expect, PREFIX is undefined at that point in the Makefile.
 

From: "David H. Munro" <munro@oldben.llnl.gov>
To: freebsd-gnats-submit@FreeBSD.org, lazykang@hotmail.com
Cc:  
Subject: Re: ports/55358: possible wrong plist in ports/lang/yorick
Date: Thu, 04 Sep 2003 13:44:25 -0700

 Okay, let's try it again.  This patch ought to close the PR for sure.
 
 
 diff -ruN yorick.orig/Makefile yorick/Makefile
 --- yorick.orig/Makefile	2003-02-21 04:35:09.000000000 -0800
 +++ yorick/Makefile	2003-09-04 13:39:35.000000000 -0700
 @@ -9,6 +9,7 @@
   #          1.5.02 port by ports@FreeBSD.org,
   #                 from submission by Ed Alley <wea@llnl.gov>
   #          1.5.07 port by David H. Munro <munro1@llnl.gov>
 +#          1.5.12 port by David H. Munro <munro1@llnl.gov>, 01/Nov/02
   # 1.5.07 notes:
   # (1) info pages installed in PREFIX/info for consistency with other apps
   #     -- really should be in PREFIX/share/info
 @@ -25,10 +26,9 @@
   #          1.5.08 replaces 1.5.07 infant mortality
 
   PORTNAME=	yorick
 -PORTVERSION=	1.5.08
 +PORTVERSION=	1.5.12
   CATEGORIES=	lang math
 -MASTER_SITES=	ftp://ftp-icf.llnl.gov/pub/Yorick/ \
 -		ftp://wuarchive.wustl.edu/languages/yorick/
 +MASTER_SITES=	ftp://ftp-icf.llnl.gov/pub/Yorick/
   EXTRACT_SUFX=	.tgz
 
   MAINTAINER=	munro1@llnl.gov
 @@ -40,6 +40,7 @@
   MAKE_ARGS=	Y_HOME="${PREFIX}/lib/${PORTNAME}" Y_SITE="${DATADIR}" \
   		Y_DOCDIR=/dev/null
   MAN1=		yorick.1 gist.1
 +INFO=		yorick
 
   PORTDOCS=	FILE_FORMATS README drat.doc drat.tex graph.doc hex.doc \
   		library.doc math.doc refs.pdf refs.ps refs.tex std.doc \
 @@ -52,16 +53,9 @@
   post-build:
   .if !defined(NOPORTDOCS)
   	cd ${WRKSRC}/doc; make yorick.info
 -	${GZIP_CMD} ${WRKSRC}/doc/yorick.info*
   .endif
 
   post-install:
 -.if !exists(${PREFIX}/bin)
 -	@${MKDIR} ${PREFIX}/bin
 -.endif
 -.if !exists(${PREFIX}/man/man1)
 -	@${MKDIR} ${PREFIX}/man/man1
 -.endif
   .for file in gist yorick
   	${INSTALL_MAN} ${WRKSRC}/doc/${file}.1 ${PREFIX}/man/man1
   	@${STRIP_CMD} ${PREFIX}/lib/${PORTNAME}/bin/${file}
 @@ -77,13 +71,10 @@
   	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
   .endfor
   	@${LN} -sf ../doc/${PORTNAME} ${DATADIR}/doc
 -.if !exists(${PREFIX}/info)
 -	@${MKDIR} ${PREFIX}/info
 -.endif
   	for f in ${WRKSRC}/doc/yorick.info*; do \
   	  ${INSTALL_DATA} $$f ${PREFIX}/info; \
   	done
 -	install-info ${PREFIX}/info/yorick.info.gz ${PREFIX}/info/dir
 +	install-info ${PREFIX}/info/yorick.info ${PREFIX}/info/dir
   .endif
 
   .include <bsd.port.mk>
 diff -ruN yorick.orig/distinfo yorick/distinfo
 --- yorick.orig/distinfo	2002-02-09 01:15:58.000000000 -0800
 +++ yorick/distinfo	2002-11-01 15:37:43.000000000 -0800
 @@ -1,2 +1 @@
 -MD5 (yorick-1.5.08.tgz) = 2f13dd9bc2fd1503b18006c2a3c253ee
 -
 +MD5 (yorick-1.5.12.tgz) = c0771f59f03dc35da3bbada4c41409b4
 diff -ruN yorick.orig/pkg-plist yorick/pkg-plist
 --- yorick.orig/pkg-plist	2002-02-09 01:15:58.000000000 -0800
 +++ yorick/pkg-plist	2003-09-04 11:25:20.000000000 -0700
 @@ -154,14 +154,6 @@
   share/yorick/i0/std.i
   share/yorick/i0/stdx.i
   share/yorick/yorick.el
 -%%PORTDOCS%%@unexec install-info --delete %D/info/yorick.info.gz %D/info/dir
 -%%PORTDOCS%%info/yorick.info.gz
 -%%PORTDOCS%%info/yorick.info-1.gz
 -%%PORTDOCS%%info/yorick.info-4.gz
 -%%PORTDOCS%%info/yorick.info-2.gz
 -%%PORTDOCS%%info/yorick.info-5.gz
 -%%PORTDOCS%%info/yorick.info-3.gz
 -%%PORTDOCS%%@exec install-info %D/info/yorick.info.gz %D/info/dir
   @dirrm share/yorick/i0
   @dirrm share/yorick/i
   @dirrm share/yorick/g
 
State-Changed-From-To: open->closed 
State-Changed-By: nork 
State-Changed-When: Mon Sep 8 23:46:20 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55358 
>Unformatted:
