Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 20:04:35 -0500 (EST)
From:      Don Croyle <croyle@gelemna.ft-wayne.in.us>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11125: update security/p5-PGP-Sign to 0.14
Message-ID:  <199904140104.UAA02936@emerson.gelemna.ft-wayne.in.us>

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

>Number:         11125
>Category:       ports
>Synopsis:       update security/p5-PGP-Sign to 0.14
>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 Apr 13 18:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Don Croyle
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
>Environment:

	

>Description:
The attached diffs update the security/p5-PGP-Sign port to use the new
0.14 distfile.  The new version adds support for PGP 5 and Gnu Privacy
Guard.
	

>How-To-Repeat:

	

>Fix:
Apply this patch:	
	
diff -ruN p5-PGP-Sign.old/Makefile p5-PGP-Sign/Makefile
--- p5-PGP-Sign.old/Makefile	Mon Dec  7 12:33:32 1998
+++ p5-PGP-Sign/Makefile	Tue Apr 13 19:31:42 1999
@@ -1,34 +1,66 @@
 # New ports collection makefile for: p5-PGP-Sign
-# Version required:	0.13
+# Version required:	0.14
 # Date created:		January 2, 1998
 # Whom:			Don Croyle <croyle@gelemna.ft-wayne.in.us>
 #
 # $Id: Makefile,v 1.5 1998/12/07 17:33:32 billf Exp $
 #
 
-DISTNAME=	PGP-Sign-0.13
-PKGNAME=	p5-PGP-Sign-0.13
+DISTNAME=	PGP-Sign-0.14
+PKGNAME=	p5-PGP-Sign-0.14
 CATEGORIES=	security perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	PGP
 
 MAINTAINER=	croyle@gelemna.ft-wayne.in.us
 
-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.
+# You can either define one of these on the command line or accept the
+# default (USE_PGP2).  You can also predefine the values for PGP (or
+# PGPS and PGPV) and PGPSTYLE if you don't like what this makefile
+# would assign.
+# USE_PGP2 - use PGP 2.6.* or a reasonable facsimile thereof
+# USE_PGP5 - use PGP 5 or a work-alike
+# USE_GPG  - use Gnu Privacy Guard
+
+.if !defined(USE_PGP5) && !defined(USE_GPG)
+USE_PGP2?=	yes
+RUN_DEPENDS=	pgp:${PORTSDIR}/security/pgp
 .ifndef PGP
-PGP!=	which pgp || echo ${PREFIX}/bin/pgp
+PGP!=	which pgp || ${ECHO} ${PREFIX}/bin/pgp
+.endif
+PGPSTYLE?=	PGP2
+.else
+.ifdef USE_PGP5
+RUN_DEPENDS=	pgps:${PORTSDIR}/security/pgp5
+.ifndef PGPS
+PGPS!=	which pgps || ${ECHO} ${PREFIX}/bin/pgps
+.endif
+.ifndef PGPV
+PGPV!=	which pgpv || ${ECHO} ${PREFIX}/bin/pgpv
+.endif
+PGPSTYLE?=	PGP5
+.endif
+.ifdef USE_GPG
+RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg
+.ifndef PGP
+PGP!=	which gpg || ${ECHO} ${PREFIX}/bin/gpg
+.endif
+PGPSTYLE?=	GPG
+.endif
+.endif
+
+.ifdef PGP
+PGPS=	${PGP}
+PGPV=	${PGP}
 .endif
+CONFIG_ARGS=	PGPS=${PGPS} PGPV=${PGPV} PGPSTYLE=${PGPSTYLE}
 
 do-configure:
-	@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PGP=${PGP}
+	@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${CONFIG_ARGS}
 
 .include <bsd.port.mk>
diff -ruN p5-PGP-Sign.old/files/md5 p5-PGP-Sign/files/md5
--- p5-PGP-Sign.old/files/md5	Mon Dec  7 12:33:33 1998
+++ p5-PGP-Sign/files/md5	Tue Apr 13 18:07:14 1999
@@ -1 +1 @@
-MD5 (PGP-Sign-0.13.tar.gz) = 7c8c62b2916122989e748020cd566c12
+MD5 (PGP-Sign-0.14.tar.gz) = 68907baf0ff8fde87a4edabb973ba253
diff -ruN p5-PGP-Sign.old/pkg/DESCR p5-PGP-Sign/pkg/DESCR
--- p5-PGP-Sign.old/pkg/DESCR	Sun May  3 22:50:45 1998
+++ p5-PGP-Sign/pkg/DESCR	Tue Apr 13 19:23:05 1999
@@ -1,3 +1,5 @@
 PGP::Sign is a special purpose module designed to create and check
 detached signatures for data.  It's mainly intended to be used for
 things like reimplementing PGPMoose, signcontrol and pgpverify.
+
+It can use PGP 2.6.*, PGP 5 or Gnu Privacy Guard.


>Release-Note:
>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?199904140104.UAA02936>