From conrads@serene.no-ip.org  Sun Mar  4 22:42:14 2012
Return-Path: <conrads@serene.no-ip.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 545B01065676
	for <freebsd-gnats-submit@freebsd.org>; Sun,  4 Mar 2012 22:42:14 +0000 (UTC)
	(envelope-from conrads@serene.no-ip.org)
Received: from eastrmfepo101.cox.net (eastrmfepo101.cox.net [68.230.241.213])
	by mx1.freebsd.org (Postfix) with ESMTP id D8EAB8FC1A
	for <freebsd-gnats-submit@freebsd.org>; Sun,  4 Mar 2012 22:42:13 +0000 (UTC)
Received: from eastrmimpo210.cox.net ([68.230.241.225])
          by eastrmfepo101.cox.net
          (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP
          id <20120304224208.OJFT18243.eastrmfepo101.cox.net@eastrmimpo210.cox.net>
          for <freebsd-gnats-submit@freebsd.org>;
          Sun, 4 Mar 2012 17:42:08 -0500
Received: from serene.no-ip.org ([98.164.84.176])
	by eastrmimpo210.cox.net with bizsmtp
	id hai01i00M3oG0Ji02ai1N6; Sun, 04 Mar 2012 17:42:08 -0500
Received: from serene.no-ip.org (localhost [127.0.0.1])
	by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q24Mg0fp031561
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 4 Mar 2012 16:42:00 -0600 (CST)
	(envelope-from conrads@serene.no-ip.org)
Received: (from root@localhost)
	by serene.no-ip.org (8.14.5/8.14.5/Submit) id q24MftUB031560;
	Sun, 4 Mar 2012 16:41:55 -0600 (CST)
	(envelope-from conrads)
Message-Id: <201203042241.q24MftUB031560@serene.no-ip.org>
Date: Sun, 4 Mar 2012 16:41:55 -0600 (CST)
From: "Conrad J. Sabatier" <conrads@cox.net>
Reply-To: "Conrad J. Sabatier" <conrads@cox.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer update] patch ports-mgmt/mkreadmes to version 1.0.3
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         165698
>Category:       ports
>Synopsis:       [maintainer update] patch ports-mgmt/mkreadmes to version 1.0.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jgh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 04 22:50:11 UTC 2012
>Closed-Date:    Mon Mar 05 17:19:15 UTC 2012
>Last-Modified:  Mon Mar 05 17:19:15 UTC 2012
>Originator:     Conrad J. Sabatier
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD serene.no-ip.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sun Feb 12 19:15:46 CST 2012 conrads@serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64

>Description:
		Upgrade ports-mgmt/mkreadmes to version 1.0.3.

		This release contains added index file validation to
		prevent crashes due to errors in the index file.  Also 
		removed the code that would attempt to elevate the 
		program's realtime priority during initialization, as 
		this is not only no longer needed, but is forbidden in a 
		jail(8) environment.

		A man page has also been added, thanks to Marco 
		Steinbach, who graciously volunteered to write it and 
		donate it to the project.

		With the addition of the man page, the pkg-message is no 
		longer needed, and should be deleted.

>How-To-Repeat:
		N/A
>Fix:
		patch below (pkg-message file may be deleted now, 
		although this is not altogether clear from the CVS diff)

--- mkreadmes.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/ports-mgmt/mkreadmes/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	3 Mar 2012 13:21:35 -0000	1.1
+++ Makefile	4 Mar 2012 21:17:58 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mkreadmes
-DISTVERSION=	1.0
+DISTVERSION=	1.0.3
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -19,6 +19,9 @@
 PLIST_FILES=	sbin/${PORTNAME}
 PORTDATA=	*
 
+MAN1=			mkreadmes.1
+MANCOMPRESSED=	maybe
+
 post-extract:
 # adjust definition of PREFIX in mkreadmes.h only if it differs from
 # the current setting of ${PREFIX}
@@ -34,7 +37,4 @@
 	@${EGREP} -q 'default ${PREFIX}' ${WRKSRC}/main.c || \
 	${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/main.c
 
-post-install:
-	@${CAT} pkg-message
-
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/ports-mgmt/mkreadmes/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	3 Mar 2012 13:21:35 -0000	1.1
+++ distinfo	4 Mar 2012 22:09:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (mkreadmes-1.0.tar.bz2) = 244fbcbb19a852238797e12dc7a1d7e398f908e53315aa856540e1e635a231af
-SIZE (mkreadmes-1.0.tar.bz2) = 14904
+SHA256 (mkreadmes-1.0.3.tar.bz2) = c8a23b951fd794d7920339351636c42f90eae0d1d3b6565925ca141391315f84
+SIZE (mkreadmes-1.0.3.tar.bz2) = 16657
Index: pkg-message
===================================================================
RCS file: /home/ncvs/ports/ports-mgmt/mkreadmes/pkg-message,v
retrieving revision 1.1
diff -u -r1.1 pkg-message
--- pkg-message	3 Mar 2012 13:21:35 -0000	1.1
+++ pkg-message	4 Mar 2012 22:32:17 -0000
@@ -1,3 +0,0 @@
-For full description and usage information, see the file
-"${PREFIX}/share/mkreadmes/README", or type "mkreadmes -h"
-for help (sorry, no man page).
--- mkreadmes.diff ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jgh 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Sun Mar 4 23:14:37 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

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

From: "Conrad J. Sabatier" <conrads@cox.net>
To: bug-followup@FreeBSD.org, conrads@cox.net
Cc:  
Subject: Re: ports/165698: [maintainer update] patch ports-mgmt/mkreadmes to
 version 1.0.3
Date: Sun, 4 Mar 2012 22:22:45 -0600

 Further update to previous send-pr (disregard previous).
 
 This patch will update mkreadmes to version 1.1.
 
 This is an important update, warranting a minor version bump.
 
 Fixed a hitherto unknown problem with the port path field comparison
 against the port's realpath in search_index(). I hadn't realized that
 the port field in the index would always be set to the "canonical" path
 using the default standard "/usr/ports", regardless of the actual
 location of the ports tree. This was causing searches to fail if using
 an alternate top-level ports directory, either via the command line
 option "-p", or by setting the PORTSDIR environment variable.
 
 The port should now be fully functional as advertised.
 
 patch file follows
 ==================
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/ports-mgmt/mkreadmes/Makefile,v
 retrieving revision 1.2
 diff -u -r1.2 Makefile
 --- Makefile	4 Mar 2012 11:13:04 -0000	1.2
 +++ Makefile	5 Mar 2012 04:17:16 -0000
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	mkreadmes
 -DISTVERSION=	1.0.2
 +DISTVERSION=	1.1
  CATEGORIES=	ports-mgmt
  MASTER_SITES=	SF
  MASTER_SITE_SUBDIR=	${PORTNAME}
 @@ -34,7 +34,4 @@
  	@${EGREP} -q 'default ${PREFIX}' ${WRKSRC}/main.c || \
  	${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/main.c
  
 -post-install:
 -	@${CAT} pkg-message
 -
  .include <bsd.port.mk>
 Index: distinfo
 ===================================================================
 RCS file: /home/ncvs/ports/ports-mgmt/mkreadmes/distinfo,v
 retrieving revision 1.2
 diff -u -r1.2 distinfo
 --- distinfo	4 Mar 2012 11:13:04 -0000	1.2
 +++ distinfo	5 Mar 2012 04:18:50 -0000
 @@ -1,2 +1,2 @@
 -SHA256 (mkreadmes-1.0.2.tar.bz2) = 86adc7c419ef2f73b4f7fc890039d4a8c05afe05473bc64741a29941e5e9c264
 -SIZE (mkreadmes-1.0.2.tar.bz2) = 14876
 \ No newline at end of file
 +SHA256 (mkreadmes-1.1.tar.bz2) = f975204212a6cd0b20acf25422eee8f5d3627db74d5f0f1a8a0f59ac18f21f56
 +SIZE (mkreadmes-1.1.tar.bz2) = 16706
 Index: pkg-message
 ===================================================================
 RCS file: /home/ncvs/ports/ports-mgmt/mkreadmes/pkg-message,v
 retrieving revision 1.1
 diff -u -r1.1 pkg-message
 --- pkg-message	3 Mar 2012 13:21:35 -0000	1.1
 +++ pkg-message	5 Mar 2012 04:17:41 -0000
 @@ -1,3 +0,0 @@
 -For full description and usage information, see the file
 -"${PREFIX}/share/mkreadmes/README", or type "mkreadmes -h"
 -for help (sorry, no man page).
State-Changed-From-To: open->closed 
State-Changed-By: jgh 
State-Changed-When: Mon Mar 5 17:19:14 UTC 2012 
State-Changed-Why:  
closed at submitters request 

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