Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 1998 23:49:55 -0500 (EST)
From:      Don Croyle <croyle@gelemna.ft-wayne.in.us>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8933: Update security/p5-PGP-Sign port to 0.11
Message-ID:  <199812020449.XAA41535@emerson.gelemna.ft-wayne.in.us>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec  1 22:30:00 PST 1998
>Last-Modified:
>Originator:     Don Croyle
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>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.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812020449.XAA41535>