From swell.k@gmail.com  Sat Oct 10 03:22:50 2009
Return-Path: <swell.k@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A7F0E1065676
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 10 Oct 2009 03:22:50 +0000 (UTC)
	(envelope-from swell.k@gmail.com)
Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24])
	by mx1.freebsd.org (Postfix) with ESMTP id 304B38FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 10 Oct 2009 03:22:49 +0000 (UTC)
Received: by ey-out-2122.google.com with SMTP id 4so1727496eyf.9
        for <FreeBSD-gnats-submit@freebsd.org>; Fri, 09 Oct 2009 20:22:49 -0700 (PDT)
Received: by 10.211.147.10 with SMTP id z10mr4153537ebn.61.1255144969156;
        Fri, 09 Oct 2009 20:22:49 -0700 (PDT)
Received: from localhost (95-24-79-38.broadband.corbina.ru [95.24.79.38])
        by mx.google.com with ESMTPS id 10sm2436679eyz.32.2009.10.09.20.22.48
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Fri, 09 Oct 2009 20:22:48 -0700 (PDT)
Message-Id: <86ocogvsop.fsf@gmail.com>
Date: Sat, 10 Oct 2009 07:22:46 +0400
From: Anonymous <swell.k@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] ports-mgmt/genplist: BSD.local.dist now lives in ports/Templates

>Number:         139468
>Category:       ports
>Synopsis:       [patch] ports-mgmt/genplist: BSD.local.dist now lives in ports/Templates
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 10 03:30:08 UTC 2009
>Closed-Date:    Fri Jan 01 16:22:16 UTC 2010
>Last-Modified:  Fri Jan  1 16:30:02 UTC 2010
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD 9.0-CURRENT #0 r197788M: Mon Oct  5 20:18:15 UTC 2009     root@luffy:/usr/obj/usr/src/sys/PHOENIX  amd64
>Description:
8.0-RC1 and 9.0-CURRENT do not have BSD.{local,x11,x11-4}.dist files in
/etc/mtree anymore, see /head@r196767

http://svn.freebsd.org/viewvc/base?view=revision&revision=196767

Note: the port is still broken because it should use different PKG_DBDIR
      and not rely on `reinstall' target ovewriting database of
      currently installed packages in /var/db/pkg.
>How-To-Repeat:
ports-mgmt/genplist$ genplist create ~/aaa
PREFIX = /home/luser/aaa
PORTNAME = genplist
===>  Switching to root credentials for 'deinstall' target
===>  Deinstalling for ports-mgmt/genplist
===>   genplist-0.3 has a different PREFIX: /usr/local, skipping
===>  Returning to user credentials
mtree: /etc/mtree/BSD.local.dist: No such file or directory
      ^^^^^^^^^^^^

find: *: No such file or directory
===>  Extracting for genplist-0.3
=> MD5 Checksum OK for genplist-0.3.tar.gz.
=> SHA256 Checksum OK for genplist-0.3.tar.gz.
===>  Patching for genplist-0.3
===>  Configuring for genplist-0.3
===>  Installing for genplist-0.3
===>   Generating temporary packing list
===>  Checking if ports-mgmt/genplist already installed
===>   genplist-0.3 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of ports-mgmt/genplist
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1
>Fix:
--- genplist.diff begins here ---
Index: files/patch-genplist
===================================================================
RCS file: files/patch-genplist
diff -N files/patch-genplist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-genplist	10 Oct 2009 02:45:47 -0000
@@ -0,0 +1,11 @@
+--- genplist~
++++ genplist
+@@ -29,7 +29,7 @@ create_plist()
+     
+     if [ "$porttype" != "none" ]; then
+ 	mkdir $prefix
+-	mtree -U -f /etc/mtree/BSD.$porttype.dist -d -e -p $prefix
++	mtree -U -f ${PORTSDIR=/usr/ports}/Templates/BSD.$porttype.dist -d -e -p $prefix
+ 	make PREFIX=$prefix depends
+ 	
+ 	# Store the directory structure in a new file.
--- genplist.diff ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Oct 10 03:30:20 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139468 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: jwbacon@tds.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now lives in ports/Templates
Date: Sat, 10 Oct 2009 03:30:17 UT

 Maintainer of ports-mgmt/genplist,
 
 Please note that PR ports/139468 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/139468
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Mon Oct 12 17:30:41 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139468 

From: Jason Bacon <jwbacon@tds.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now
 lives in ports/Templates
Date: Tue, 13 Oct 2009 14:43:54 -0500

 Edwin Groothuis wrote:
 > Maintainer of ports-mgmt/genplist,
 >
 > Please note that PR ports/139468 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/139468
 >
 >   
 This patch breaks the port for 7.x.  ( Generates a lot of mkdir and 
 dirrm entries for the standard tree. )
 
 I'll submit an alternative as soon as I have some time to work on it.
 

From: Jason Bacon <jwbacon@tds.net>
To: bug-followup@FreeBSD.org, swell.k@gmail.com
Cc:  
Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now
 lives in ports/Templates
Date: Fri, 30 Oct 2009 16:23:26 -0500

 This is a multi-part message in MIME format.
 --------------040005090100030001060407
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 
 Please see new diff attached.  Unfortunately, it adds an OSVERSION check 
 to the Makefile, but I don't see a cleaner way to avoid the problem on 
 7.x and earlier, and I have no 8.x system to test on at the moment.  
 /etc/mtree/BSD.local.dist and /usr/ports/Templates/BSD.local.dist are 
 quite from each other different on 7.x. ( The latter includes more 
 subdirectories. )
 
     Jason
 
 
 --------------040005090100030001060407
 Content-Type: text/plain;
  name="genplist.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="genplist.diff"
 
 diff -ruN /usr/ports/ports-mgmt/genplist/Makefile genplist-devel/Makefile
 --- /usr/ports/ports-mgmt/genplist/Makefile	2009-03-10 14:44:00.000000000 -0500
 +++ genplist-devel/Makefile	2009-10-30 16:14:22.000000000 -0500
 @@ -1,12 +1,12 @@
  # New ports collection makefile for:	genplist
  # Date created:		2007-04-19
 -# Whom:			Jason Bacon bacon@smithers.neuro.mcw.edu
 +# Whom:			Jason Bacon <jwbacon@tds.net>
  #
  # $FreeBSD: ports/ports-mgmt/genplist/Makefile,v 1.2 2009/03/10 19:44:00 beat Exp $
  #
  
  PORTNAME=	genplist
 -PORTVERSION=	0.3
 +PORTVERSION=	0.4
  CATEGORIES=	ports-mgmt
  MASTER_SITES=	http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
  		http://jbacon.dyndns.org/~bacon/Ports/distfiles/
 @@ -24,4 +24,9 @@
  	${INSTALL_SCRIPT} ${WRKSRC}/genplist ${PREFIX}/bin
  	${INSTALL_MAN} ${WRKSRC}/genplist.1 ${PREFIX}/man/man1
  
 -.include <bsd.port.mk>
 +.include <bsd.port.pre.mk>
 +.if (${OSVERSION} >= 80000)
 +post-patch:
 +		${REINPLACE_CMD} 's|/etc/mtree|${PORTSDIR=/usr/ports}/Templates|' ${WRKSRC}/genplist
 +.endif
 +.include <bsd.port.post.mk>
 diff -ruN /usr/ports/ports-mgmt/genplist/distinfo genplist-devel/distinfo
 --- /usr/ports/ports-mgmt/genplist/distinfo	2009-03-10 14:44:00.000000000 -0500
 +++ genplist-devel/distinfo	2009-10-30 16:15:34.000000000 -0500
 @@ -1,3 +1,3 @@
 -MD5 (genplist-0.3.tar.gz) = 20bd8e1eaf16589cd2f42a684b875b70
 -SHA256 (genplist-0.3.tar.gz) = 477f2c9be1a6a01657c36229b359f6646557b23a81b84b9b810bb668b36994d0
 -SIZE (genplist-0.3.tar.gz) = 3392
 +MD5 (genplist-0.4.tar.gz) = 5bc325719f5ec626fc5d7977efd54dd6
 +SHA256 (genplist-0.4.tar.gz) = 102dae7ae589338d3df21d6f76b098b01c6dc5495bb2c309c068f03800eb26d7
 +SIZE (genplist-0.4.tar.gz) = 3450
 
 --------------040005090100030001060407--

From: Anonymous <swell.k@gmail.com>
To: Jason Bacon <jwbacon@tds.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now lives in ports/Templates
Date: Sat, 31 Oct 2009 09:11:04 +0300

 Jason Bacon <jwbacon@tds.net> writes:
 
 > Please see new diff attached.  Unfortunately, it adds an OSVERSION
 > check to the Makefile, but I don't see a cleaner way to avoid the
 > problem on 7.x and earlier,
 
 Are the ports trees up to date on those 7.x systems of yours? Can you
 be more specific? What ports generate incorrect @dirrm entries?
 
 I've just installed genplist on a fresh 7.2-RELEASE amd64 under qemu
 with ports tree fetched by 28 Oct + my patch. And I do not notice the
 problem you're having trouble with. Installing following ports under
 genplist guidance
 
     audio/xmp
     ports-mgmt/genplist
 
 produced more or less correct plist diffs. Same result on 6.4-RELEASE
 amd64.
 
 > and I have no 8.x system to test on at the
 > moment.  /etc/mtree/BSD.local.dist and
 > /usr/ports/Templates/BSD.local.dist are quite from each other
 > different on 7.x.
 
 /etc/mtree/BSD.local.dist is only meaningful on old release with *old*
 ports tree. My conjecture is that you're not supposed to use the mtree
 file on current snapshots of ports tree on *any* release.
 
 > ( The latter includes more subdirectories. )
 
 While ports/Templates/BSD.local.dist evolves together with ports tree,
 the contents for /etc/mtree/BSD.local.dist are set in stone for each
 release. It wouldn't be surprising if they are not up to date.
 
 >
 >    Jason
 >
 > diff -ruN /usr/ports/ports-mgmt/genplist/Makefile genplist-devel/Makefile
 > --- /usr/ports/ports-mgmt/genplist/Makefile	2009-03-10 14:44:00.000000000 -0500
 > +++ genplist-devel/Makefile	2009-10-30 16:14:22.000000000 -0500
 > @@ -1,12 +1,12 @@
 >  # New ports collection makefile for:	genplist
 >  # Date created:		2007-04-19
 > -# Whom:			Jason Bacon bacon@smithers.neuro.mcw.edu
 > +# Whom:			Jason Bacon <jwbacon@tds.net>
 >  #
 >  # $FreeBSD: ports/ports-mgmt/genplist/Makefile,v 1.2 2009/03/10 19:44:00 beat Exp $
 >  #
 >  
 >  PORTNAME=	genplist
 > -PORTVERSION=	0.3
 > +PORTVERSION=	0.4
 >  CATEGORIES=	ports-mgmt
 >  MASTER_SITES=	http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
 >  		http://jbacon.dyndns.org/~bacon/Ports/distfiles/
 > @@ -24,4 +24,9 @@
 >  	${INSTALL_SCRIPT} ${WRKSRC}/genplist ${PREFIX}/bin
 >  	${INSTALL_MAN} ${WRKSRC}/genplist.1 ${PREFIX}/man/man1
 >  
 > -.include <bsd.port.mk>
 > +.include <bsd.port.pre.mk>
 > +.if (${OSVERSION} >= 80000)
                      ^^^^^^^
 It'd be nice if you pinpoint exact commit and nearest OSVERSION bump
 rather than assuming all 8.x will work even early 8.0-CURRENT snapshots.
 
 > +post-patch:
 > +		${REINPLACE_CMD} 's|/etc/mtree|${PORTSDIR=/usr/ports}/Templates|' ${WRKSRC}/genplist
                                               ^^^^
 make(1) will eat this variable *before* substitution occurs. Use `$${...}' here.
 
 Besides, your distfile for 0.4 already contains it
 
 %	#mtree -U -f /etc/mtree/BSD.${porttype}.dist -d -e -p ${prefix}
 %	mtree -U -f ${PORTSDIR=/usr/ports}/Templates/BSD.$porttype.dist \
 %	    -d -e -p ${prefix}
 
 My guess you commented out wrong line.
 
 > +.endif
 > +.include <bsd.port.post.mk>
 > diff -ruN /usr/ports/ports-mgmt/genplist/distinfo genplist-devel/distinfo
 > --- /usr/ports/ports-mgmt/genplist/distinfo	2009-03-10 14:44:00.000000000 -0500
 > +++ genplist-devel/distinfo	2009-10-30 16:15:34.000000000 -0500
 > @@ -1,3 +1,3 @@
 > -MD5 (genplist-0.3.tar.gz) = 20bd8e1eaf16589cd2f42a684b875b70
 > -SHA256 (genplist-0.3.tar.gz) = 477f2c9be1a6a01657c36229b359f6646557b23a81b84b9b810bb668b36994d0
 > -SIZE (genplist-0.3.tar.gz) = 3392
 > +MD5 (genplist-0.4.tar.gz) = 5bc325719f5ec626fc5d7977efd54dd6
 > +SHA256 (genplist-0.4.tar.gz) = 102dae7ae589338d3df21d6f76b098b01c6dc5495bb2c309c068f03800eb26d7
 > +SIZE (genplist-0.4.tar.gz) = 3450

From: Jason Bacon <jwbacon@tds.net>
To: Anonymous <swell.k@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now
 lives in ports/Templates
Date: Sun, 01 Nov 2009 20:40:24 -0600

 > Are the ports trees up to date on those 7.x systems of yours?
 Yes.  To be sure, I just ran portsnap fetch and update on a 7.2 system 
 and retried.  Same results.
 >  Can you
 > be more specific? 
 Below is the result of using your patch on my systems.
 
 <<<ROOT@qbsd>>> /usr/jb_ports/devel/roboctl-devel 205 # genplist diff | more
 --- pkg-plist   2009-05-25 20:28:58.000000000 -0500
 +++ pkg-plist.new       2009-11-01 15:26:45.000000000 -0600
 @@ -10,4 +10,255 @@
  include/roboctl/rct_rcx.h
  include/roboctl/roboctl.h
  lib/libroboctl.a
 +@dirrm www
 +@dirrm share/xml
 +@dirrm share/skel
 +@dirrm share/sgml
 +@dirrm share/misc
 +@dirrm share/java/classes
 +@dirrm share/java
 +@dirrm share/examples
 +@dirrm share/emacs/site-lisp
 +@dirrm share/emacs
 +@dirrm share/doc/ja
 +@dirrm share/doc
 +@dirrm share/dict
 +@dirrm share/aclocal
 +@dirrm share
 +@dirrm sbin
 +@dirrm man/ru.KOI8-R/mann
 +@dirrm man/ru.KOI8-R/manl
 +@dirrm man/ru.KOI8-R/man9
 +@dirrm man/ru.KOI8-R/man8
 +@dirrm man/ru.KOI8-R/man7
 +@dirrm man/ru.KOI8-R/man6
 +@dirrm man/ru.KOI8-R/man5
 +@dirrm man/ru.KOI8-R/man4
 +@dirrm man/ru.KOI8-R/man3
 +@dirrm man/ru.KOI8-R/man2
 +@dirrm man/ru.KOI8-R/man1
 +@dirrm man/ru.KOI8-R/catn
 +@dirrm man/ru.KOI8-R/catl
 +@dirrm man/ru.KOI8-R/cat9
 +@dirrm man/ru.KOI8-R/cat8
 +@dirrm man/ru.KOI8-R/cat7
 +@dirrm man/ru.KOI8-R/cat6
 +@dirrm man/ru.KOI8-R/cat5
 +@dirrm man/ru.KOI8-R/cat4
 +@dirrm man/ru.KOI8-R/cat3
 +@dirrm man/ru.KOI8-R/cat2
 +@dirrm man/ru.KOI8-R/cat1
 +@dirrm man/ru.KOI8-R
 +@dirrm man/mann
 +@dirrm man/manl
 +@dirrm man/man9
 +@dirrm man/man8
 +@dirrm man/man7
 +@dirrm man/man6
 +@dirrm man/man5
 +@dirrm man/man4
 +@dirrm man/man3
 +@dirrm man/man2
 +@dirrm man/man1
 +@dirrm man/ja/mann
 +@dirrm man/ja/manl
 +@dirrm man/ja/man9
 +@dirrm man/ja/man8
 +@dirrm man/ja/man7
 +@dirrm man/ja/man6
 +@dirrm man/ja/man5
 +@dirrm man/ja/man4
 +@dirrm man/ja/man3
 +@dirrm man/ja/man2
 +@dirrm man/ja/man1
 +@dirrm man/ja/catn
 +@dirrm man/ja/catl
 +@dirrm man/ja/cat9
 +@dirrm man/ja/cat8
 +@dirrm man/ja/cat7
 +@dirrm man/ja/cat6
 +@dirrm man/ja/cat5
 +@dirrm man/ja/cat4
 +@dirrm man/ja/cat3
 +@dirrm man/ja/cat2
 +@dirrm man/ja/cat1
 +@dirrm man/ja
 +@dirrm man/en.ISO8859-1/catn
 +@dirrm man/en.ISO8859-1/cat9/i386
 +@dirrm man/en.ISO8859-1/cat9
 +@dirrm man/en.ISO8859-1/cat8/i386
 +@dirrm man/en.ISO8859-1/cat8
 +@dirrm man/en.ISO8859-1/cat7
 +@dirrm man/en.ISO8859-1/cat6
 +@dirrm man/en.ISO8859-1/cat5
 +@dirrm man/en.ISO8859-1/cat4/i386
 +@dirrm man/en.ISO8859-1/cat4
 +@dirrm man/en.ISO8859-1/cat3
 +@dirrm man/en.ISO8859-1/cat2
 +@dirrm man/en.ISO8859-1/cat1aout
 +@dirrm man/en.ISO8859-1/cat1
 +@dirrm man/en.ISO8859-1
 +@dirrm man/de.ISO8859-1/mann
 +@dirrm man/de.ISO8859-1/manl
 +@dirrm man/de.ISO8859-1/man9
 +@dirrm man/de.ISO8859-1/man8
 +@dirrm man/de.ISO8859-1/man7
 +@dirrm man/de.ISO8859-1/man6
 +@dirrm man/de.ISO8859-1/man5
 +@dirrm man/de.ISO8859-1/man4
 +@dirrm man/de.ISO8859-1/man3
 +@dirrm man/de.ISO8859-1/man2
 +@dirrm man/de.ISO8859-1/man1
 +@dirrm man/de.ISO8859-1/catn
 +@dirrm man/de.ISO8859-1/catl
 +@dirrm man/de.ISO8859-1/cat9
 +@dirrm man/de.ISO8859-1/cat8
 +@dirrm man/de.ISO8859-1/cat7
 +@dirrm man/de.ISO8859-1/cat6
 +@dirrm man/de.ISO8859-1/cat5
 +@dirrm man/de.ISO8859-1/cat4
 +@dirrm man/de.ISO8859-1/cat3
 +@dirrm man/de.ISO8859-1/cat2
 +@dirrm man/de.ISO8859-1/cat1
 +@dirrm man/de.ISO8859-1
 +@dirrm man/catn
 +@dirrm man/catl
 +@dirrm man/cat9
 +@dirrm man/cat8
 +@dirrm man/cat7
 +@dirrm man/cat6
 +@dirrm man/cat5
 +@dirrm man/cat4
 +@dirrm man/cat3
 +@dirrm man/cat2
 +@dirrm man/cat1
 +@dirrm man
 +@dirrm libexec
 +@dirrm libdata/pkgconfig
 +@dirrm libdata/ldconfig32
 +@dirrm libdata/ldconfig
 +@dirrm libdata
 +@dirrm lib
 +@dirrm info
  @dirrm include/roboctl
 +@dirrm include
 +@dirrm etc/rc.d
 +@dirrm etc/pam.d
 +@dirrm etc
 +@dirrm bin
 +@exec mkdir -p %D/www
 +@exec mkdir -p %D/share/xml
 +@exec mkdir -p %D/share/skel
 +@exec mkdir -p %D/share/sgml
 +@exec mkdir -p %D/share/misc
 +@exec mkdir -p %D/share/java/classes
 +@exec mkdir -p %D/share/examples
 +@exec mkdir -p %D/share/emacs/site-lisp
 +@exec mkdir -p %D/share/doc/ja
 +@exec mkdir -p %D/share/dict
 +@exec mkdir -p %D/share/aclocal
 +@exec mkdir -p %D/sbin
 +@exec mkdir -p %D/man/ru.KOI8-R/mann
 +@exec mkdir -p %D/man/ru.KOI8-R/manl
 +@exec mkdir -p %D/man/ru.KOI8-R/man9
 +@exec mkdir -p %D/man/ru.KOI8-R/man8
 +@exec mkdir -p %D/man/ru.KOI8-R/man7
 +@exec mkdir -p %D/man/ru.KOI8-R/man6
 +@exec mkdir -p %D/man/ru.KOI8-R/man5
 +@exec mkdir -p %D/man/ru.KOI8-R/man4
 +@exec mkdir -p %D/man/ru.KOI8-R/man3
 +@exec mkdir -p %D/man/ru.KOI8-R/man2
 +@exec mkdir -p %D/man/ru.KOI8-R/man1
 +@exec mkdir -p %D/man/ru.KOI8-R/catn
 +@exec mkdir -p %D/man/ru.KOI8-R/catl
 +@exec mkdir -p %D/man/ru.KOI8-R/cat9
 +@exec mkdir -p %D/man/ru.KOI8-R/cat8
 +@exec mkdir -p %D/man/ru.KOI8-R/cat7
 +@exec mkdir -p %D/man/ru.KOI8-R/cat6
 +@exec mkdir -p %D/man/ru.KOI8-R/cat5
 +@exec mkdir -p %D/man/ru.KOI8-R/cat4
 +@exec mkdir -p %D/man/ru.KOI8-R/cat3
 +@exec mkdir -p %D/man/ru.KOI8-R/cat2
 +@exec mkdir -p %D/man/ru.KOI8-R/cat1
 +@exec mkdir -p %D/man/mann
 +@exec mkdir -p %D/man/manl
 +@exec mkdir -p %D/man/man9
 +@exec mkdir -p %D/man/man8
 +@exec mkdir -p %D/man/man7
 +@exec mkdir -p %D/man/man6
 +@exec mkdir -p %D/man/man5
 +@exec mkdir -p %D/man/man4
 +@exec mkdir -p %D/man/man2
 +@exec mkdir -p %D/man/ja/mann
 +@exec mkdir -p %D/man/ja/manl
 +@exec mkdir -p %D/man/ja/man9
 +@exec mkdir -p %D/man/ja/man8
 +@exec mkdir -p %D/man/ja/man7
 +@exec mkdir -p %D/man/ja/man6
 +@exec mkdir -p %D/man/ja/man5
 +@exec mkdir -p %D/man/ja/man4
 +@exec mkdir -p %D/man/ja/man3
 +@exec mkdir -p %D/man/ja/man2
 +@exec mkdir -p %D/man/ja/man1
 +@exec mkdir -p %D/man/ja/catn
 +@exec mkdir -p %D/man/ja/catl
 +@exec mkdir -p %D/man/ja/cat9
 +@exec mkdir -p %D/man/ja/cat8
 +@exec mkdir -p %D/man/ja/cat7
 +@exec mkdir -p %D/man/ja/cat6
 +@exec mkdir -p %D/man/ja/cat5
 +@exec mkdir -p %D/man/ja/cat4
 +@exec mkdir -p %D/man/ja/cat3
 +@exec mkdir -p %D/man/ja/cat2
 +@exec mkdir -p %D/man/ja/cat1
 +@dirrm man/ja/cat9
 +@dirrm man/ja/cat8
 +@dirrm man/ja/cat7
 +@dirrm man/ja/cat6
 +@dirrm man/ja/cat5
 +@dirrm man/ja/cat4
 +@dirrm man/ja/cat3
 +@dirrm man/ja/cat2
 +@dirrm man/ja/cat1
 +@dirrm man/ja
 +@dirrm man/en.ISO8859-1/catn
 +@dirrm man/en.ISO8859-1/cat9/i386
 +@dirrm man/en.ISO8859-1/cat9
 +@dirrm man/en.ISO8859-1/cat8/i386
 +@dirrm man/en.ISO8859-1/cat8
 +@dirrm man/en.ISO8859-1/cat7
 +@dirrm man/en.ISO8859-1/cat6
 +@dirrm man/en.ISO8859-1/cat5
 +@dirrm man/en.ISO8859-1/cat4/i386
 +@dirrm man/en.ISO8859-1/cat4
 +@dirrm man/en.ISO8859-1/cat3
 +@dirrm man/en.ISO8859-1/cat2
 +@dirrm man/en.ISO8859-1/cat1aout
 +@dirrm man/en.ISO8859-1/cat1
 +@dirrm man/en.ISO8859-1
 +@dirrm man/de.ISO8859-1/mann
 +@dirrm man/de.ISO8859-1/manl
 +@dirrm man/de.ISO8859-1/man9
 +@dirrm man/de.ISO8859-1/man8
 +@dirrm man/de.ISO8859-1/man7
 +@dirrm man/de.ISO8859-1/man6
 +@dirrm man/de.ISO8859-1/man5
 +@dirrm man/de.ISO8859-1/man4
 +@dirrm man/de.ISO8859-1/man3
 +@dirrm man/de.ISO8859-1/man2
 +@dirrm man/de.ISO8859-1/man1
 +@dirrm man/de.ISO8859-1/catn
 +@dirrm man/de.ISO8859-1/catl
 +@dirrm man/de.ISO8859-1/cat9
 +@dirrm man/de.ISO8859-1/cat8
 +@dirrm man/de.ISO8859-1/cat7
 +@dirrm man/de.ISO8859-1/cat6
 +@dirrm man/de.ISO8859-1/cat5
 +@dirrm man/de.ISO8859-1/cat4
 +@dirrm man/de.ISO8859-1/cat3
 +@dirrm man/de.ISO8859-1/cat2
 +@dirrm man/de.ISO8859-1/cat1
 +@dirrm man/de.ISO8859-1
 +@dirrm man/catn
 +@dirrm man/catl
 +@dirrm man/cat9
 +@dirrm man/cat8
 +@dirrm man/cat7
 +@dirrm man/cat6
 +@dirrm man/cat5
 +@dirrm man/cat4
 +@dirrm man/cat3
 +@dirrm man/cat2
 +@dirrm man/cat1
 +@dirrm man
 +@dirrm libexec
 +@dirrm libdata/pkgconfig
 +@dirrm libdata/ldconfig32
 +@dirrm libdata/ldconfig
 +@dirrm libdata
 +@dirrm lib
 +@dirrm info
  @dirrm include/roboctl
 +@dirrm include
 +@dirrm etc/rc.d
 +@dirrm etc/pam.d
 +@dirrm etc
 +@dirrm bin
 +@exec mkdir -p %D/www
 +@exec mkdir -p %D/share/xml
 +@exec mkdir -p %D/share/skel
 +@exec mkdir -p %D/share/sgml
 +@exec mkdir -p %D/share/misc
 +@exec mkdir -p %D/share/java/classes
 +@exec mkdir -p %D/share/examples
 +@exec mkdir -p %D/share/emacs/site-lisp
 +@exec mkdir -p %D/share/doc/ja
 +@exec mkdir -p %D/share/dict
 +@exec mkdir -p %D/share/aclocal
 +@exec mkdir -p %D/sbin
 +@exec mkdir -p %D/man/ru.KOI8-R/mann
 +@exec mkdir -p %D/man/ru.KOI8-R/manl
 +@exec mkdir -p %D/man/ru.KOI8-R/man9
 +@exec mkdir -p %D/man/ru.KOI8-R/man8
 +@exec mkdir -p %D/man/ru.KOI8-R/man7
 +@exec mkdir -p %D/man/ru.KOI8-R/man6
 +@exec mkdir -p %D/man/ru.KOI8-R/man5
 +@exec mkdir -p %D/man/ru.KOI8-R/man4
 +@exec mkdir -p %D/man/ru.KOI8-R/man3
 +@exec mkdir -p %D/man/ru.KOI8-R/man2
 +@exec mkdir -p %D/man/ru.KOI8-R/man1
 +@exec mkdir -p %D/man/ru.KOI8-R/catn
 +@exec mkdir -p %D/man/ru.KOI8-R/catl
 +@exec mkdir -p %D/man/ru.KOI8-R/cat9
 +@exec mkdir -p %D/man/ru.KOI8-R/cat8
 +@exec mkdir -p %D/man/ru.KOI8-R/cat7
 +@exec mkdir -p %D/man/ru.KOI8-R/cat6
 +@exec mkdir -p %D/man/ru.KOI8-R/cat5
 +@exec mkdir -p %D/man/ru.KOI8-R/cat4
 +@exec mkdir -p %D/man/ru.KOI8-R/cat3
 +@exec mkdir -p %D/man/ru.KOI8-R/cat2
 +@exec mkdir -p %D/man/ru.KOI8-R/cat1
 +@exec mkdir -p %D/man/mann
 +@exec mkdir -p %D/man/manl
 +@exec mkdir -p %D/man/man9
 +@exec mkdir -p %D/man/man8
 +@exec mkdir -p %D/man/man7
 +@exec mkdir -p %D/man/man6
 +@exec mkdir -p %D/man/man5
 +@exec mkdir -p %D/man/man4
 +@exec mkdir -p %D/man/man2
 +@exec mkdir -p %D/man/ja/mann
 +@exec mkdir -p %D/man/ja/manl
 +@exec mkdir -p %D/man/ja/man9
 +@exec mkdir -p %D/man/ja/man8
 +@exec mkdir -p %D/man/ja/man7
 +@exec mkdir -p %D/man/ja/man6
 +@exec mkdir -p %D/man/ja/man5
 +@exec mkdir -p %D/man/ja/man4
 +@exec mkdir -p %D/man/ja/man3
 +@exec mkdir -p %D/man/ja/man2
 +@exec mkdir -p %D/man/ja/man1
 +@exec mkdir -p %D/man/ja/catn
 +@exec mkdir -p %D/man/ja/catl
 +@exec mkdir -p %D/man/ja/cat9
 +@exec mkdir -p %D/man/ja/cat8
 +@exec mkdir -p %D/man/ja/cat7
 +@exec mkdir -p %D/man/ja/cat6
 +@exec mkdir -p %D/man/ja/cat5
 +@exec mkdir -p %D/man/ja/cat4
 +@exec mkdir -p %D/man/ja/cat3
 +@exec mkdir -p %D/man/ja/cat2
 +@exec mkdir -p %D/man/ja/cat1
 +@exec mkdir -p %D/man/en.ISO8859-1/catn
 +@exec mkdir -p %D/man/en.ISO8859-1/cat9/i386
 +@exec mkdir -p %D/man/en.ISO8859-1/cat8/i386
 +@exec mkdir -p %D/man/en.ISO8859-1/cat7
 +@exec mkdir -p %D/man/en.ISO8859-1/cat6
 +@exec mkdir -p %D/man/en.ISO8859-1/cat5
 +@exec mkdir -p %D/man/en.ISO8859-1/cat4/i386
 +@exec mkdir -p %D/man/en.ISO8859-1/cat3
 +@exec mkdir -p %D/man/en.ISO8859-1/cat2
 +@exec mkdir -p %D/man/en.ISO8859-1/cat1aout
 +@exec mkdir -p %D/man/en.ISO8859-1/cat1
 +@exec mkdir -p %D/man/de.ISO8859-1/mann
 +@exec mkdir -p %D/man/de.ISO8859-1/manl
 +@exec mkdir -p %D/man/de.ISO8859-1/man9
 +@exec mkdir -p %D/man/de.ISO8859-1/man8
 +@exec mkdir -p %D/man/de.ISO8859-1/man7
 +@exec mkdir -p %D/man/de.ISO8859-1/man6
 +@exec mkdir -p %D/man/de.ISO8859-1/man5
 +@exec mkdir -p %D/man/de.ISO8859-1/man4
 +@exec mkdir -p %D/man/de.ISO8859-1/man3
 +@exec mkdir -p %D/man/de.ISO8859-1/man2
 +@exec mkdir -p %D/man/de.ISO8859-1/man1
 +@exec mkdir -p %D/man/de.ISO8859-1/catn
 +@exec mkdir -p %D/man/de.ISO8859-1/catl
 +@exec mkdir -p %D/man/de.ISO8859-1/cat9
 +@exec mkdir -p %D/man/de.ISO8859-1/cat8
 +@exec mkdir -p %D/man/de.ISO8859-1/cat7
 +@exec mkdir -p %D/man/de.ISO8859-1/cat6
 +@exec mkdir -p %D/man/de.ISO8859-1/cat5
 +@exec mkdir -p %D/man/de.ISO8859-1/cat4
 +@exec mkdir -p %D/man/de.ISO8859-1/cat3
 +@exec mkdir -p %D/man/de.ISO8859-1/cat2
 +@exec mkdir -p %D/man/de.ISO8859-1/cat1
 +@exec mkdir -p %D/man/catn
 +@exec mkdir -p %D/man/catl
 +@exec mkdir -p %D/man/cat9
 +@exec mkdir -p %D/man/cat8
 +@exec mkdir -p %D/man/cat7
 +@exec mkdir -p %D/man/cat6
 +@exec mkdir -p %D/man/cat5
 +@exec mkdir -p %D/man/cat4
 +@exec mkdir -p %D/man/cat3
 +@exec mkdir -p %D/man/cat2
 +@exec mkdir -p %D/man/cat1
 +@exec mkdir -p %D/libexec
 +@exec mkdir -p %D/libdata/pkgconfig
 +@exec mkdir -p %D/libdata/ldconfig32
 +@exec mkdir -p %D/libdata/ldconfig
 +@exec mkdir -p %D/info
 +@exec mkdir -p %D/etc/rc.d
 +@exec mkdir -p %D/etc/pam.d
 
 > What ports generate incorrect @dirrm entries?
 >   
 All the ports I've tried.
 > I've just installed genplist on a fresh 7.2-RELEASE amd64 under qemu
 > with ports tree fetched by 28 Oct + my patch. And I do not notice the
 > problem you're having trouble with. Installing following ports under
 > genplist guidance
 >
 >     audio/xmp
 >     ports-mgmt/genplist
 >
 > produced more or less correct plist diffs. Same result on 6.4-RELEASE
 > amd64.
 >   
 Did you try a deinstall?  Below is what I get:
 
 pkg_delete: unable to completely remove directory '/usr/local/share/xml'
 pkg_delete: unable to completely remove directory '/usr/local/share/sgml'
 pkg_delete: unable to completely remove directory 
 '/usr/local/share/examples'
 pkg_delete: unable to completely remove directory 
 '/usr/local/share/emacs/site-lisp'
 pkg_delete: unable to completely remove directory '/usr/local/share/emacs'
 pkg_delete: unable to completely remove directory '/usr/local/share/doc'
 pkg_delete: unable to completely remove directory '/usr/local/share/aclocal'
 pkg_delete: unable to completely remove directory '/usr/local/share'
 pkg_delete: unable to completely remove directory '/usr/local/sbin'
 pkg_delete: unable to completely remove directory '/usr/local/man/man8'
 pkg_delete: unable to completely remove directory '/usr/local/man/man7'
 pkg_delete: unable to completely remove directory '/usr/local/man/man5'
 pkg_delete: unable to completely remove directory '/usr/local/man/man4'
 pkg_delete: unable to completely remove directory '/usr/local/man/man3'
 pkg_delete: unable to completely remove directory '/usr/local/man/man1'
 pkg_delete: unable to completely remove directory '/usr/local/man'
 pkg_delete: unable to completely remove directory '/usr/local/libexec'
 pkg_delete: unable to completely remove directory 
 '/usr/local/libdata/pkgconfig'
 pkg_delete: unable to completely remove directory 
 '/usr/local/libdata/ldconfig'
 pkg_delete: unable to completely remove directory '/usr/local/libdata'
 pkg_delete: unable to completely remove directory '/usr/local/lib'
 pkg_delete: unable to completely remove directory '/usr/local/info'
 pkg_delete: unable to completely remove directory '/usr/local/include'
 pkg_delete: unable to completely remove directory '/usr/local/etc/rc.d'
 pkg_delete: unable to completely remove directory '/usr/local/etc/pam.d'
 pkg_delete: unable to completely remove directory '/usr/local/etc'
 pkg_delete: unable to completely remove directory '/usr/local/bin'
 pkg_delete: couldn't entirely delete package (perhaps the packing list is
 
 > It'd be nice if you pinpoint exact commit and nearest OSVERSION bump
 > rather than assuming all 8.x will work even early 8.0-CURRENT snapshots.
 >   
 If you can't reproduce the problem on your 6.x and 7.x systems, then we 
 should forget about the version check and figure out what's going on.
 >   
 >> +post-patch:
 >> +		${REINPLACE_CMD} 's|/etc/mtree|${PORTSDIR=/usr/ports}/Templates|' ${WRKSRC}/genplist
 >>     
 >                                               ^^^^
 > make(1) will eat this variable *before* substitution occurs. Use `$${...}' here.
 >   
 
 > Besides, your distfile for 0.4 already contains it
 >
 > %	#mtree -U -f /etc/mtree/BSD.${porttype}.dist -d -e -p ${prefix}
 > %	mtree -U -f ${PORTSDIR=/usr/ports}/Templates/BSD.$porttype.dist \
 > %	    -d -e -p ${prefix}
 >
 > My guess you commented out wrong line.
 >   
 My bad, thanks for catching it.  I was testing with the 0.3 and decided 
 at the last minute to submit a 0.4 update along with it.  Forgot I had 
 put your patch in 0.4 as well.
 
 I'm swamped at the moment, but I'll have a better look at this ASAP.
 

From: Acadix Info <jwbacon@tds.net>
To: bug-followup@FreeBSD.org, swell.k@gmail.com
Cc:  
Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now
 lives in ports/Templates
Date: Mon, 23 Nov 2009 08:22:11 -0600

 I just tested the original genplist (0.3) on a pristine 8.0-RC3 i386 
 system, and was unable to reproduce the original issue.
 
 <<<ROOT@eight>>> /usr/jb_ports/editors/ape 274 # ls /etc/mtree/
 BIND.chroot.dist   BSD.root.dist      BSD.var.dist
 BSD.include.dist   BSD.sendmail.dist  BSD.x11-4.dist
 BSD.local.dist     BSD.usr.dist       BSD.x11.dist
 <<<ROOT@eight>>> /usr/jb_ports/editors/ape 275 # uname -a
 FreeBSD eight.jbacon.dyndns.org 8.0-RC3 FreeBSD 8.0-RC3 #0: Tue Nov 10 
 07:50:36 UTC 2009     
 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 Was BSD.local.dist added to /etc/mtree in 8.0 and 9.0 since the original 
 report?  If so, I think we can close this report with no further action.
 
 As I mentioned before, the BSD.local.dist in ports/Templates is not the 
 same, and causes addition @dirrms to be added for directories that a 
 port should not attempt to remove.  This generates a lot of error 
 messages on deinstall.
 
 -- 
 
 ------------------------
   Jason W. Bacon
   Acadix Consulting, LLC
   http://acadix.biz
   info@acadix.biz
   (414) 526-4357
 ------------------------
 

From: Wesley Shields <wxs@FreeBSD.org>
To: Acadix Info <jwbacon@tds.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now
 lives in ports/Templates
Date: Thu, 24 Dec 2009 14:34:35 -0500

 On Mon, Nov 23, 2009 at 02:30:06PM +0000, Acadix Info wrote:
 > The following reply was made to PR ports/139468; it has been noted by GNATS.
 > 
 > From: Acadix Info <jwbacon@tds.net>
 > To: bug-followup@FreeBSD.org, swell.k@gmail.com
 > Cc:  
 > Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now
 >  lives in ports/Templates
 > Date: Mon, 23 Nov 2009 08:22:11 -0600
 > 
 >  I just tested the original genplist (0.3) on a pristine 8.0-RC3 i386 
 >  system, and was unable to reproduce the original issue.
 >  
 >  <<<ROOT@eight>>> /usr/jb_ports/editors/ape 274 # ls /etc/mtree/
 >  BIND.chroot.dist   BSD.root.dist      BSD.var.dist
 >  BSD.include.dist   BSD.sendmail.dist  BSD.x11-4.dist
 >  BSD.local.dist     BSD.usr.dist       BSD.x11.dist
 >  <<<ROOT@eight>>> /usr/jb_ports/editors/ape 275 # uname -a
 >  FreeBSD eight.jbacon.dyndns.org 8.0-RC3 FreeBSD 8.0-RC3 #0: Tue Nov 10 
 >  07:50:36 UTC 2009     
 >  root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 >  
 >  Was BSD.local.dist added to /etc/mtree in 8.0 and 9.0 since the original 
 >  report?  If so, I think we can close this report with no further action.
 
 I don't see a /etc/mtree/BSD.local.dist on a -CURRENT system of mine but
 I do have it on a 8.0 system.
 
 >  As I mentioned before, the BSD.local.dist in ports/Templates is not the 
 >  same, and causes addition @dirrms to be added for directories that a 
 >  port should not attempt to remove.  This generates a lot of error 
 >  messages on deinstall.
 
 I've seen a couple of comments on this PR back and forth and I'm not
 sure what to make of them. Should this PR be closed? Is there further
 action to take if it should be left open? Please advise what you want me
 to do with this PR.
 
 Thanks!
 
 -- WXS

From: Jason Bacon <jwbacon@tds.net>
To: Wesley Shields <wxs@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now
 lives in ports/Templates
Date: Sun, 27 Dec 2009 09:42:16 -0600

 This is a multi-part message in MIME format.
 --------------050005030506030002030603
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 
 Please apply the attached patch.  The new script simply uses /etc/mtree 
 if available, and falls back on /usr/ports/Templates otherwise.  I don't 
 have a -CURRENT system to test it on, but the original patch simply 
 changed it to use /usr/ports/Templates in all cases, so it should be 
 satisfactory.
 
 Thanks,
 
     -J
 
 Wesley Shields wrote:
 > On Mon, Nov 23, 2009 at 02:30:06PM +0000, Acadix Info wrote:
 >   
 >> The following reply was made to PR ports/139468; it has been noted by GNATS.
 >>
 >> From: Acadix Info <jwbacon@tds.net>
 >> To: bug-followup@FreeBSD.org, swell.k@gmail.com
 >> Cc:  
 >> Subject: Re: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now
 >>  lives in ports/Templates
 >> Date: Mon, 23 Nov 2009 08:22:11 -0600
 >>
 >>  I just tested the original genplist (0.3) on a pristine 8.0-RC3 i386 
 >>  system, and was unable to reproduce the original issue.
 >>  
 >>  <<<ROOT@eight>>> /usr/jb_ports/editors/ape 274 # ls /etc/mtree/
 >>  BIND.chroot.dist   BSD.root.dist      BSD.var.dist
 >>  BSD.include.dist   BSD.sendmail.dist  BSD.x11-4.dist
 >>  BSD.local.dist     BSD.usr.dist       BSD.x11.dist
 >>  <<<ROOT@eight>>> /usr/jb_ports/editors/ape 275 # uname -a
 >>  FreeBSD eight.jbacon.dyndns.org 8.0-RC3 FreeBSD 8.0-RC3 #0: Tue Nov 10 
 >>  07:50:36 UTC 2009     
 >>  root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 >>  
 >>  Was BSD.local.dist added to /etc/mtree in 8.0 and 9.0 since the original 
 >>  report?  If so, I think we can close this report with no further action.
 >>     
 >
 > I don't see a /etc/mtree/BSD.local.dist on a -CURRENT system of mine but
 > I do have it on a 8.0 system.
 >
 >   
 >>  As I mentioned before, the BSD.local.dist in ports/Templates is not the 
 >>  same, and causes addition @dirrms to be added for directories that a 
 >>  port should not attempt to remove.  This generates a lot of error 
 >>  messages on deinstall.
 >>     
 >
 > I've seen a couple of comments on this PR back and forth and I'm not
 > sure what to make of them. Should this PR be closed? Is there further
 > action to take if it should be left open? Please advise what you want me
 > to do with this PR.
 >
 > Thanks!
 >
 > -- WXS
 >   
 
 
 -- 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Jason W. Bacon
 jwbacon@tds.net
 http://personalpages.tds.net/~jwbacon
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
 
 --------------050005030506030002030603
 Content-Type: text/plain;
  name="genplist_diff.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="genplist_diff.txt"
 
 diff -ruN /usr/ports/ports-mgmt/genplist/Makefile genplist/Makefile
 --- /usr/ports/ports-mgmt/genplist/Makefile	2009-03-10 14:44:00.000000000 -0500
 +++ genplist/Makefile	2009-11-01 20:09:10.000000000 -0600
 @@ -1,12 +1,12 @@
  # New ports collection makefile for:	genplist
  # Date created:		2007-04-19
 -# Whom:			Jason Bacon bacon@smithers.neuro.mcw.edu
 +# Whom:			Jason Bacon <jwbacon@tds.net>
  #
  # $FreeBSD: ports/ports-mgmt/genplist/Makefile,v 1.2 2009/03/10 19:44:00 beat Exp $
  #
  
  PORTNAME=	genplist
 -PORTVERSION=	0.3
 +PORTVERSION=	0.4
  CATEGORIES=	ports-mgmt
  MASTER_SITES=	http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
  		http://jbacon.dyndns.org/~bacon/Ports/distfiles/
 @@ -24,4 +24,7 @@
  	${INSTALL_SCRIPT} ${WRKSRC}/genplist ${PREFIX}/bin
  	${INSTALL_MAN} ${WRKSRC}/genplist.1 ${PREFIX}/man/man1
  
 -.include <bsd.port.mk>
 +.include <bsd.port.pre.mk>
 +post-patch:
 +		${REINPLACE_CMD} 's|/etc/mtree|$${PORTSDIR=/usr/ports}/Templates|' ${WRKSRC}/genplist
 +.include <bsd.port.post.mk>
 diff -ruN /usr/ports/ports-mgmt/genplist/distinfo genplist/distinfo
 --- /usr/ports/ports-mgmt/genplist/distinfo	2009-03-10 14:44:00.000000000 -0500
 +++ genplist/distinfo	2009-12-27 09:31:27.000000000 -0600
 @@ -1,3 +1,3 @@
 -MD5 (genplist-0.3.tar.gz) = 20bd8e1eaf16589cd2f42a684b875b70
 -SHA256 (genplist-0.3.tar.gz) = 477f2c9be1a6a01657c36229b359f6646557b23a81b84b9b810bb668b36994d0
 -SIZE (genplist-0.3.tar.gz) = 3392
 +MD5 (genplist-0.4.tar.gz) = e143114cb6fd9e8d8b829fc3da9165e9
 +SHA256 (genplist-0.4.tar.gz) = 56a838e42a99dd46f0f02b8397662e5cf3f8b43e58740754c28ccf63139f2909
 +SIZE (genplist-0.4.tar.gz) = 3474
 diff -ruN /usr/ports/ports-mgmt/genplist/pkg-descr genplist/pkg-descr
 --- /usr/ports/ports-mgmt/genplist/pkg-descr	2007-04-20 07:40:28.000000000 -0500
 +++ genplist/pkg-descr	2009-12-27 09:35:13.000000000 -0600
 @@ -3,4 +3,4 @@
  process is based on the instructions for plist generation in the
  FreeBSD Porter's Handbook.
  
 -WWW:	http://www.neuro.mcw.edu/~bacon/FreeBSD_MRI
 +WWW:	http://personalpages.tds.net/~jwbacon/Ports
 
 --------------050005030506030002030603--
State-Changed-From-To: feedback->closed 
State-Changed-By: wxs 
State-Changed-When: Fri Jan 1 16:22:14 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139468 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/139468: commit references a PR
Date: Fri,  1 Jan 2010 16:22:14 +0000 (UTC)

 wxs         2010-01-01 16:22:01 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ports-mgmt/genplist  Makefile distinfo pkg-descr 
   Log:
   - Update to 0.4
   
   PR:             ports/139468
   Submitted by:   Anonymous <swell.k@gmail.com>
   Approved by:    Jason Bacon <jwbacon@tds.net> (maintainer)
   
   Revision  Changes    Path
   1.3       +6 -3      ports/ports-mgmt/genplist/Makefile
   1.3       +3 -3      ports/ports-mgmt/genplist/distinfo
   1.2       +1 -1      ports/ports-mgmt/genplist/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
 /head@r196767
