From owner-freebsd-ports Tue Dec 1 22:29:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15335 for freebsd-ports-outgoing; Tue, 1 Dec 1998 22:29:27 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15330 for ; Tue, 1 Dec 1998 22:29:26 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA27907; Tue, 1 Dec 1998 22:30:00 -0800 (PST) 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 ; 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 ; 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 Reply-To: croyle@gelemna.ft-wayne.in.us To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/8933: Update security/p5-PGP-Sign port to 0.11 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 # # $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 = ; +-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