From croyle@gelemna.ft-wayne.in.us  Tue Dec  1 22:20:22 1998
Received: from catastrophe.gelemna.ft-wayne.in.us (fw-line-34.fwi.com [209.84.172.39])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA14728
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 1 Dec 1998 22:20:19 -0800 (PST)
          (envelope-from croyle@gelemna.ft-wayne.in.us)
Received: from emerson.gelemna.ft-wayne.in.us (emerson.gelemna.ft-wayne.in.us [10.23.42.2])
	by catastrophe.gelemna.ft-wayne.in.us (8.8.8/8.8.8) with ESMTP id XAA23193
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 1 Dec 1998 23:48:11 -0500 (EST)
	(envelope-from croyle@gelemna.ft-wayne.in.us)
Received: (from croyle@localhost)
	by emerson.gelemna.ft-wayne.in.us (8.9.1/8.9.1) id XAA41535;
	Tue, 1 Dec 1998 23:49:55 -0500 (EST)
	(envelope-from croyle@gelemna.ft-wayne.in.us)
Message-Id: <199812020449.XAA41535@emerson.gelemna.ft-wayne.in.us>
Date: Tue, 1 Dec 1998 23:49:55 -0500 (EST)
From: Don Croyle <croyle@gelemna.ft-wayne.in.us>
Reply-To: croyle@gelemna.ft-wayne.in.us
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update security/p5-PGP-Sign port to 0.11
X-Send-Pr-Version: 3.2

>Number:         8933
>Category:       ports
>Synopsis:       Update security/p5-PGP-Sign port to 0.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec  1 22:30:00 PST 1998
>Closed-Date:    Mon Dec 7 09:32:55 PST 1998
>Last-Modified:  Mon Dec  7 09:33:51 PST 1998
>Originator:     Don Croyle
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	

>Description:
These diffs update the security/p5-PGP-Sign port to 0.11.
	

>How-To-Repeat:

	

>Fix:
Apply this patch.  Note that this adds a patches directory with
patch-aa in it.
	
diff -ruN p5-PGP-Sign.old/Makefile p5-PGP-Sign/Makefile
--- p5-PGP-Sign.old/Makefile	Tue Sep 15 16:31:53 1998
+++ p5-PGP-Sign/Makefile	Tue Dec  1 09:38:07 1998
@@ -1,25 +1,33 @@
 # New ports collection makefile for: p5-PGP-Sign
-# Version required:	0.09
+# Version required:	0.11
 # Date created:		January 2, 1998
 # Whom:			Don Croyle <croyle@gelemna.ft-wayne.in.us>
 #
 # $Id: Makefile,v 1.4 1998/09/15 21:31:53 asami Exp $
 #
 
-DISTNAME=	PGP-Sign-0.09
-PKGNAME=	p5-PGP-Sign-0.09
+DISTNAME=	PGP-Sign-0.11
+PKGNAME=	p5-PGP-Sign-0.11
 CATEGORIES=	security perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	PGP
 
 MAINTAINER=	croyle@gelemna.ft-wayne.in.us
 
-RUN_DEPENDS=	${PREFIX}/bin/pgp:${PORTSDIR}/security/pgp
+RUN_DEPENDS=	pgp:${PORTSDIR}/security/pgp
 
 USE_PERL5=	yes
 
 MAN3=		PGP::Sign.3
 MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
+
+# Allow PATH_TO_PGP to be set elsewhere.  This module only works with
+# version 2, so you need to do this if you have version 5 installed as
+# pgp.
+.ifndef PATH_TO_PGP
+PATH_TO_PGP=	`which pgp`
+.endif
+MAKE_ENV=	PATH_TO_PGP=${PATH_TO_PGP}
 
 do-configure:
 	@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
diff -ruN p5-PGP-Sign.old/files/md5 p5-PGP-Sign/files/md5
--- p5-PGP-Sign.old/files/md5	Sun Aug 23 19:43:56 1998
+++ p5-PGP-Sign/files/md5	Mon Nov 30 06:26:37 1998
@@ -1 +1 @@
-MD5 (PGP-Sign-0.09.tar.gz) = cde30e2a7092992a252e224394c8ce5e
+MD5 (PGP-Sign-0.11.tar.gz) = 4848ef5c35e59da72e1804e51d28e916
diff -ruN p5-PGP-Sign.old/patches/patch-aa p5-PGP-Sign/patches/patch-aa
--- p5-PGP-Sign.old/patches/patch-aa	Wed Dec 31 19:00:00 1969
+++ p5-PGP-Sign/patches/patch-aa	Tue Dec  1 09:39:33 1998
@@ -0,0 +1,27 @@
+--- makepm.PL.orig	Thu Nov 26 06:04:01 1998
++++ makepm.PL	Tue Dec  1 09:38:10 1998
+@@ -41,18 +41,14 @@
+ my $pgp = find_pgp;
+ print unquote (<<"EOM");
+ :
+-:       PGP::Sign needs to know the path to PGP; this path will be encoded
+-:       in the installed module as the default path to PGP (it can be
+-:       overridden at runtime).  Please enter the full path to the PGP
+-:       binary (version 2, preferrably 2.6.2 or 2.6.3, not version 5) below
+-:       or just press Enter if the guess is correct.
++:       PGP::Sign needs to know the path to PGP (version 2, preferrably
++:       2.6.2 or 2.6.3, not version 5); this path will be encoded in
++:       the installed module as the default path to PGP (it can be
++:       overridden at runtime).
+ :
+ EOM
+-print 'Path to PGP [' . ($pgp || '/usr/local/bin/pgp') . ']: ';
+-my $input = <STDIN>;
+-chomp $input;
+-$pgp = $pgp || $input || '/usr/local/bin/pgp';
+-print "\n";
++$pgp = $ENV{PATH_TO_PGP} || $pgp || '/usr/local/bin/pgp';
++print 'Path to PGP: ' . "$pgp\n\n";
+ 
+ # Now, open our input file and create our output file, and then do the
+ # necessary substitutions.

>Release-Note:
>Audit-Trail:

From: Don Croyle <croyle@gelemna.ft-wayne.in.us>
To: freebsd-gnats-submit@freebsd.org, croyle@gelemna.ft-wayne.in.us
Cc:  Subject: Re: ports/8933: Update security/p5-PGP-Sign port to 0.11
Date: Wed, 02 Dec 1998 18:24:02 -0500

 The problem with pointing out bugs is that people fix them.  Please use
 these diffs instead of the ones in the PR.
 
 --- p5-PGP-Sign.old/Makefile Tue Sep 15 16:31:53 1998
 +++ p5-PGP-Sign/Makefile Wed Dec  2 17:56:24 1998
 @@ -1,25 +1,31 @@
  # New ports collection makefile for: p5-PGP-Sign
 -# Version required: 0.09
 +# Version required: 0.12
  # Date created:  January 2, 1998
  # Whom:   Don Croyle <croyle@gelemna.ft-wayne.in.us>
  #
  # $Id: Makefile,v 1.4 1998/09/15 21:31:53 asami Exp $
  #
 
 -DISTNAME= PGP-Sign-0.09
 -PKGNAME= p5-PGP-Sign-0.09
 +DISTNAME= PGP-Sign-0.12
 +PKGNAME= p5-PGP-Sign-0.12
  CATEGORIES= security perl5
  MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
  MASTER_SITE_SUBDIR= PGP
 
  MAINTAINER= croyle@gelemna.ft-wayne.in.us
 
 -RUN_DEPENDS= ${PREFIX}/bin/pgp:${PORTSDIR}/security/pgp
 +RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp
 
  USE_PERL5= yes
 
  MAN3=  PGP::Sign.3
  MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
 +
 +# Allow PATH_TO_PGP to be set elsewhere.  This module only works with
 +# version 2, so you need to do this if you have version 5 installed as
 +# pgp.
 +PATH_TO_PGP?= `which pgp`
 +MAKE_ENV= PATH_TO_PGP=${PATH_TO_PGP}
 
  do-configure:
   @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
 diff -ruN p5-PGP-Sign.old/files/md5 p5-PGP-Sign/files/md5
 --- p5-PGP-Sign.old/files/md5 Sun Aug 23 19:43:56 1998
 +++ p5-PGP-Sign/files/md5 Wed Dec  2 17:56:53 1998
 @@ -1 +1 @@
 -MD5 (PGP-Sign-0.09.tar.gz) = cde30e2a7092992a252e224394c8ce5e
 +MD5 (PGP-Sign-0.12.tar.gz) = 006c2d17534b03756131c2dcb96ac292
 diff -ruN p5-PGP-Sign.old/files/md5.orig p5-PGP-Sign/files/md5.orig
 --- p5-PGP-Sign.old/files/md5.orig Wed Dec 31 19:00:00 1969
 +++ p5-PGP-Sign/files/md5.orig Sun Aug 23 19:43:56 1998
 @@ -0,0 +1 @@
 +MD5 (PGP-Sign-0.09.tar.gz) = cde30e2a7092992a252e224394c8ce5e
 diff -ruN p5-PGP-Sign.old/patches/patch-aa p5-PGP-Sign/patches/patch-aa
 --- p5-PGP-Sign.old/patches/patch-aa Wed Dec 31 19:00:00 1969
 +++ p5-PGP-Sign/patches/patch-aa Wed Dec  2 18:08:15 1998
 @@ -0,0 +1,27 @@
 +--- makepm.PL.orig Wed Dec  2 17:59:02 1998
 ++++ makepm.PL Wed Dec  2 18:05:49 1998
 +@@ -41,18 +41,14 @@
 + my $pgp = find_pgp;
 + print unquote (<<"EOM");
 + :
 +-:       PGP::Sign needs to know the path to PGP; this path will be
 encoded
 +-:       in the installed module as the default path to PGP (it can be
 +-:       overridden at runtime).  Please enter the full path to the PGP
 
 +-:       binary (version 2, preferrably 2.6.2 or 2.6.3, not version 5)
 below
 +-:       or just press Enter if the guess is correct.
 ++:       PGP::Sign needs to know the path to PGP (version 2,
 preferrably
 ++:       2.6.2 or 2.6.3, not version 5); this path will be encoded in
 ++:       the installed module as the default path to PGP (it can be
 ++:       overridden at runtime).
 + :
 + EOM
 +-print 'Path to PGP [' . ($pgp || '/usr/local/bin/pgp') . ']: ';
 +-my $input = <STDIN>;
 +-chomp $input;
 +-$pgp = $input || $pgp || '/usr/local/bin/pgp';
 +-print "\n";
 ++$pgp = $ENV{PATH_TO_PGP} || $pgp || '/usr/local/bin/pgp';
 ++print 'Path to PGP: ' . "$pgp\n\n";
 +
 + # Now, open our input file and create our output file, and then do the
 
 + # necessary substitutions.
 
 

From: Don Croyle <croyle@gelemna.ft-wayne.in.us>
To: freebsd-gnats-submit@freebsd.org
Cc:  Subject: Re: ports/8933: Update security/p5-PGP-Sign port to 0.11
Date: 05 Dec 1998 15:54:26 -0500

 Please use these diffs in place of the ones in the PR and previous
 followup.
 
 Third try should be the charm.  Author updated the build process to
 allow us to avoid the interactive behavior I was patching around, so
 this doesn't need to add the new file that my earlier efforts did.
 
 diff -ruN p5-PGP-Sign.old/Makefile p5-PGP-Sign/Makefile
 --- p5-PGP-Sign.old/Makefile	Tue Sep 15 16:31:53 1998
 +++ p5-PGP-Sign/Makefile	Sat Dec  5 15:42:28 1998
 @@ -1,27 +1,34 @@
  # New ports collection makefile for: p5-PGP-Sign
 -# Version required:	0.09
 +# Version required:	0.13
  # Date created:		January 2, 1998
  # Whom:			Don Croyle <croyle@gelemna.ft-wayne.in.us>
  #
  # $Id: Makefile,v 1.4 1998/09/15 21:31:53 asami Exp $
  #
  
 -DISTNAME=	PGP-Sign-0.09
 -PKGNAME=	p5-PGP-Sign-0.09
 +DISTNAME=	PGP-Sign-0.13
 +PKGNAME=	p5-PGP-Sign-0.13
  CATEGORIES=	security perl5
  MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
  MASTER_SITE_SUBDIR=	PGP
  
  MAINTAINER=	croyle@gelemna.ft-wayne.in.us
  
 -RUN_DEPENDS=	${PREFIX}/bin/pgp:${PORTSDIR}/security/pgp
 +RUN_DEPENDS=	pgp:${PORTSDIR}/security/pgp
  
  USE_PERL5=	yes
  
  MAN3=		PGP::Sign.3
  MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
  
 +# This module only works with version 2, so you need to set this
 +# variable on the command line if you have something else installed as
 +# pgp.
 +.ifndef PGP
 +PGP!=	which pgp || echo ${PREFIX}/bin/pgp
 +.endif
 +
  do-configure:
 -	@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
 +	@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PGP=${PGP}
  
  .include <bsd.port.mk>
 diff -ruN p5-PGP-Sign.old/files/md5 p5-PGP-Sign/files/md5
 --- p5-PGP-Sign.old/files/md5	Sun Aug 23 19:43:56 1998
 +++ p5-PGP-Sign/files/md5	Sat Dec  5 13:51:40 1998
 @@ -1 +1 @@
 -MD5 (PGP-Sign-0.09.tar.gz) = cde30e2a7092992a252e224394c8ce5e
 +MD5 (PGP-Sign-0.13.tar.gz) = 645536e716a3ebe316bea24d13dd0400
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Mon Dec 7 09:32:55 PST 1998 
State-Changed-Why:  
Updated in rev1.5, thanks 
>Unformatted:
