From johans@stack.nl  Fri Feb 11 23:46:41 2005
Return-Path: <johans@stack.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3162D16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Feb 2005 23:46:41 +0000 (GMT)
Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 63AA043D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Feb 2005 23:46:40 +0000 (GMT)
	(envelope-from johans@stack.nl)
Received: by mailhost.stack.nl (Postfix, from userid 65534)
	id 6774E1F0D6; Sat, 12 Feb 2005 00:46:39 +0100 (CET)
Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011:207:e9ff:fe14:b498])
	by mailhost.stack.nl (Postfix) with ESMTP id B0D551F262
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 12 Feb 2005 00:46:38 +0100 (CET)
Received: by mud.stack.nl (Postfix, from userid 801)
	id 3EC44171E4; Sat, 12 Feb 2005 00:47:06 +0100 (CET)
Message-Id: <20050211234706.3EC44171E4@mud.stack.nl>
Date: Sat, 12 Feb 2005 00:47:06 +0100 (CET)
From: Johan van Selst <johans@stack.nl>
Reply-To: Johan van Selst <johans@stack.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer] math/gap: update to 4.4.4.20050131
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         77404
>Category:       ports
>Synopsis:       [maintainer] math/gap: update to 4.4.4.20050131
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 11 23:50:26 GMT 2005
>Closed-Date:    Tue Feb 15 08:53:21 GMT 2005
>Last-Modified:  Tue Feb 15 08:53:21 GMT 2005
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 22:31:14 CET 2005 root@mud.stack.nl:/usr/obj/usr/src/sys/mud i386


	
>Description:
	

	GAP occasionally releases library (packages) updates, without
	releasing a new gap version. So the packages version (date)
	is now included in $PORTVERSION.

	Note: pkg-plist is again very large. Previous list was unsorted,
	so I decided to sort it now, making the diff even longer...
	But it will ease my work on the next occassion (and shorten diff).

	P.S. Entirely for my own reference, pkg-plist is now sorted with:
		find -s . -type f; find -s . -depth -type d

>How-To-Repeat:
	
>Fix:

	

	See http://www.stack.nl/~johans/gap.patch (560Kb)

>Release-Note:
>Audit-Trail:

From: "Volker Stolz" <vs@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, johans@stack.nl
Cc:  
Subject: Re: ports/77404: [maintainer] math/gap: update to 4.4.4.20050131
Date: Sun, 13 Feb 2005 17:31:48 +0100

 Since gap seems to be completely self-contained inside its directory, you  
 might want to consider generating the plist dynamically if you expect the  
 same large diffs on future updates. If somebody complains about a dynamic  
 plist, just send them to me :)-- I'm by no means a friend of that feature,  
 but here it looks completely appropriate.
 
 Volker

From: Johan van Selst <johans@stack.nl>
To: Volker Stolz <vs@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/77404: [maintainer] math/gap: update to 4.4.4.20050131
Date: Sun, 13 Feb 2005 19:38:01 +0100

 Volker Stolz wrote:
 > Since gap seems to be completely self-contained inside its directory, you  
 > might want to consider generating the plist dynamically if you expect the  
 > same large diffs on future updates.
 
 I do expect more large diffs. Hadn't thought about dynamic plists
 before, but it sure makes maintaining this port easier.
 
 Here is a patch for gap to live without a static pkg-plist (please
 remove the file if this patch is acceptable).
 
 P.S. This patch is inspired by devel/cppunit.
 
 
 diff -u gap/Makefile gap/Makefile
 --- gap/Makefile	Sun Feb 13 04:01:02 2005
 +++ gap/Makefile	Sun Feb 13 18:28:18 2005
 @@ -6,11 +6,11 @@
  #
  
  PORTNAME=	gap
 -PORTVERSION=	4.4.4
 +PORTVERSION=	4.4.4.20050131
  CATEGORIES=	math
  MASTER_SITES=	ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/:new \
  		ftp://ftp.gap-system.org/pub/gap/gap4/old/:old
 -DISTFILES=	packages-2004_12_07-12_33_UTC.tar.bz2:old \
 +DISTFILES=	packages-2005_01_31-19_34_UTC.tar.bz2:new \
  		gap4r4p4.tar.bz2:new \
  		xtom1r1.tar.bz2:new
  DIST_SUBDIR=	gap
 @@ -23,7 +23,7 @@
  GAP_VERSION=	gap4r4
  GAP_WRKSRC=	${WRKSRC}/${GAP_VERSION}
  GAP_LIBDIR=	${PREFIX}/lib/${GAP_VERSION}
 -PLIST_SUB=	GAP_LIBDIR=lib/${GAP_VERSION}
 +PLIST_FILES=	bin/gap
  
  do-extract:
  	(${MKDIR} ${WRKSRC}; \
 @@ -31,7 +31,7 @@
  	${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/gap4r4p4.tar.bz2; \
  	${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/xtom1r1.tar.bz2 ; \
  	cd ${GAP_WRKSRC}/pkg; \
 -	${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/packages-2004_12_07-12_33_UTC.tar.bz2 )
 +	${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/packages-2005_01_31-19_34_UTC.tar.bz2 )
  
  do-configure:
  	(cd ${GAP_WRKSRC}; ./configure)
 @@ -45,8 +45,15 @@
  	@${MKDIR} ${GAP_LIBDIR} ${GAP_LIBDIR}/bin
  	@${INSTALL_PROGRAM} ${GAP_WRKSRC}/bin/*/gap ${GAP_LIBDIR}/bin
  	@${INSTALL_SCRIPT} ${GAP_WRKSRC}/bin/*/gac ${GAP_LIBDIR}/bin
 +	@${INSTALL_DATA} ${GAP_WRKSRC}/sysinfo.gap ${GAP_LIBDIR}
  .for subdir in doc etc grp lib pkg prim small trans tst
  	@${CP} -R ${GAP_WRKSRC}/${subdir} ${GAP_LIBDIR}/
  .endfor
 +
 +post-install:
 +	@${FIND} ${GAP_LIBDIR} ! -type d | \
 +		${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
 +	@${FIND} ${GAP_LIBDIR} -type d -depth | \
 +		${SED} 's,${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
  
  .include <bsd.port.post.mk>
 diff -u gap/distinfo gap/distinfo
 --- gap/distinfo	Wed Jan 12 06:45:35 2005
 +++ gap/distinfo	Fri Feb 11 19:59:00 2005
 @@ -2,5 +2,5 @@
  SIZE (gap/gap4r4p4.tar.bz2) = 41036793
  MD5 (gap/xtom1r1.tar.bz2) = 6652a904930696d7a9f9cfef2828d224
  SIZE (gap/xtom1r1.tar.bz2) = 9443654
 -MD5 (gap/packages-2004_12_07-12_33_UTC.tar.bz2) = f43f71bdc680358abbd1a89c72783794
 -SIZE (gap/packages-2004_12_07-12_33_UTC.tar.bz2) = 24841081
 +MD5 (gap/packages-2005_01_31-19_34_UTC.tar.bz2) = 885ac7e2a882abf688acb48143602038
 +SIZE (gap/packages-2005_01_31-19_34_UTC.tar.bz2) = 27985668
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Tue Feb 15 08:53:03 GMT 2005 
State-Changed-Why:  
Committed ,thanks! 

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