Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2000 22:00:22 -0700 (PDT)
From:      Cy Schubert <cschuber@uumail.gov.bc.ca>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21656: New PGP6 Port
Message-ID:  <200009300500.e8U50MA70961@passer.osg.gov.bc.ca>

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

>Number:         21656
>Category:       ports
>Synopsis:       PGP6 port based on pgp-6.5.8
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 29 22:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Cy Schubert
>Release:        FreeBSD 4.1.1-RELEASE i386
>Organization:
OSG, ITSD, Province of BC
>Environment:

FreeBSD passer 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #0: Thu Sep 28 13:27:39 PDT 2000     root@passer:/export2/obj/opt/cvs-411r/src/sys/PASSER  i386

>Description:

New PGP6 port.  PGP 6.5.8 fixes the PGP ADK bug, see
http://www.pgp.com/other/advisories/adk.asp.

>How-To-Repeat:

N/A

>Fix:

diff -urPN --exclude=CVS --exclude=00_TRANS.TBL /opt/CVSup/usr/ports/security/pgp6/Makefile /usr/local/ports-local/pgp6/Makefile
--- /opt/CVSup/usr/ports/security/pgp6/Makefile	Wed Jun  7 04:17:11 2000
+++ /usr/local/ports-local/pgp6/Makefile	Fri Sep 29 21:31:09 2000
@@ -6,31 +6,49 @@
 #
 
 PORTNAME=	pgp
-PORTVERSION=	6.5.1i
+PORTVERSION=	6.5.8
 CATEGORIES=	security
-MASTER_SITES=   ftp://ftp.no.pgpi.org/pub/pgp/6.5/6.5.1i/unix/ \
-		ftp://ftp.fi.pgpi.org/pub/pgp/6.5/6.5.1i/unix/ \
-		ftp://ftp.se.pgpi.org/pub/pgp/6.5/6.5.1i/unix/ \
-		ftp://ftp.de.pgpi.org/pub/pgp/6.5/6.5.1i/unix/ \
-		ftp://ftp.dk.pgpi.org/pub/pgp/6.5/6.5.1i/unix/ \
-		ftp://ftp.nl.pgpi.org/pub/pgp/6.5/6.5.1i/unix/ \
-		ftp://ftp.ch.pgpi.org/pub/pgp/6.5/6.5.1i/unix/ \
-		ftp://ftp.ru.pgpi.org/pub/pgp/6.5/6.5.1i/unix/
-EXTRACT_SUFX=   -beta2.tar.gz
+MASTER_SITES=   ftp://ftp.no.pgpi.org/pub/pgp/6.5/6.5.8/ \
+		ftp://ftp.fi.pgpi.org/pub/pgp/6.5/6.5.8/ \
+		ftp://ftp.se.pgpi.org/pub/pgp/6.5/6.5.8/ \
+		ftp://ftp.de.pgpi.org/pub/pgp/6.5/6.5.8/ \
+		ftp://ftp.dk.pgpi.org/pub/pgp/6.5/6.5.8/ \
+		ftp://ftp.nl.pgpi.org/pub/pgp/6.5/6.5.8/ \
+		ftp://ftp.ch.pgpi.org/pub/pgp/6.5/6.5.8/ \
+		ftp://ftp.ru.pgpi.org/pub/pgp/6.5/6.5.8/
+DISTNAME=	pgpsrc658unix
+EXTRACT_SUFX=   .tar.gz
 
 MAINTAINER=	mike@fate.com
 
-WRKSRC=		${WRKDIR}/${DISTNAME}
+WRKSRC=		${WRKDIR}/pgpsrc
 USE_GMAKE=      YES
 
 RESTRICTED=     "Crypto"
 
 MAN1=		pgp.1
 
+# the distfile is actually a tar of three compressed tars and their
+# signatures
+do-extract:
+	@${RM} -rf ${WRKDIR}
+	@${MKDIR} ${WRKDIR}
+	@(cd ${WRKDIR} && ${TAR} -xzf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+	@cd ${WRKDIR} &&						\
+	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTNAME}.tar.gz        \
+		${EXTRACT_AFTER_ARGS} &&				\
+	${RM} ${DISTNAME}.tar.gz ${DISTNAME}.tar.gz.sig;
+.if !defined(EXTRACT_PRESERVE_OWNERSHIP)
+	@if [ `id -u` = 0 ]; then \
+		${CHMOD} -R ug-s ${WRKDIR}; \
+		${CHOWN} -R 0:0 ${WRKDIR}; \
+	fi
+.endif
+
 do-install:
-	cd ${WRKSRC}/clients/pgp/cmdline ; ${GMAKE} install
+	cd ${WRKSRC}/clients/pgp/cmdline ; ${GMAKE} install; cp packaging/pgp-6.0/man/man1/pgp.1 ${PREFIX}/man/man1
 
 post-extract:
-	${CP} ${FILESDIR}/build.Makefile ${WRKDIR}/${PKGNAME}/Makefile
+	${CP} ${FILESDIR}/build.Makefile ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL /opt/CVSup/usr/ports/security/pgp6/files/md5 /usr/local/ports-local/pgp6/files/md5
--- /opt/CVSup/usr/ports/security/pgp6/files/md5	Sun May 28 23:17:53 2000
+++ /usr/local/ports-local/pgp6/files/md5	Fri Sep 29 20:01:56 2000
@@ -1 +1 @@
-MD5 (pgp-6.5.1i-beta2.tar.gz) = ccfbd70fd0e08a8c13e9c15ea1db085a
+MD5 (pgpsrc658unix.tar.gz) = f8fca2bd514f291d9a6e0ce2cddd3e34
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL /opt/CVSup/usr/ports/security/pgp6/patches/patch-ap /usr/local/ports-local/pgp6/patches/patch-ap
--- /opt/CVSup/usr/ports/security/pgp6/patches/patch-ap	Sun May 28 23:17:54 2000
+++ /usr/local/ports-local/pgp6/patches/patch-ap	Fri Sep 29 21:08:17 2000
@@ -1,19 +1,20 @@
-*** clients/pgp/cmdline/Makefile.in	2000/01/26 03:55:17	1.1
---- clients/pgp/cmdline/Makefile.in	2000/01/26 03:55:41	1.2
-***************
-*** 51,57 ****
-  CFLAGS=@CFLAGS@
-  LDFLAGS=@LDFLAGS@
-  
-! CFLAGS+= -g
-  
-  TARGET=pgp
-  
---- 51,57 ----
-  CFLAGS=@CFLAGS@
-  LDFLAGS=@LDFLAGS@
-  
-! CFLAGS+= -g -pthread
-  
-  TARGET=pgp
-  
+--- clients/pgp/cmdline/Makefile.in.orig	Fri Sep  1 14:11:16 2000
++++ clients/pgp/cmdline/Makefile.in	Fri Sep 29 21:06:48 2000
+@@ -48,7 +48,7 @@
+         -I$(SDKDIR)/priv/include/opaque \
+         -I$(RSAINC)
+ 
+-LIBDIRS+=-L$(PFLDIR) -L$(SDKDIR)/unix -L$(RSALIBRARY)$(RSA_OS)
++LIBDIRS+=-L$(PFLDIR) -L$(SDKDIR)/unix
+ 
+ LIBS=-lPGPui -lPGPsdkNetwork -lPGPsdk -lpfl @THREADLIB@ $(RSALIBS) @LIBS@
+ 
+@@ -73,7 +73,7 @@
+ CFLAGS=@CFLAGS@
+ LDFLAGS=@LDFLAGS@
+ 
+-CFLAGS+= -g
++CFLAGS+= -g -pthread
+ 
+ TARGET=pgp
+ 
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL /opt/CVSup/usr/ports/security/pgp6/patches/patch-ca /usr/local/ports-local/pgp6/patches/patch-ca
--- /opt/CVSup/usr/ports/security/pgp6/patches/patch-ca	Wed Dec 31 16:00:00 1969
+++ /usr/local/ports-local/pgp6/patches/patch-ca	Fri Sep 29 20:42:18 2000
@@ -0,0 +1,11 @@
+--- libs/pgpcdk/priv/crypto/random/pgpRandomPool.c.orig	Fri Aug  6 13:56:49 1999
++++ libs/pgpcdk/priv/crypto/random/pgpRandomPool.c	Fri Sep 29 20:41:26 2000
+@@ -424,7 +424,7 @@
+  * #define UMULH_32(r,a,b) (r) = 0
+  */
+ #ifndef UMULH_32
+-#if defined(__GNUC__) && defined(__i386__)
++#if 0
+ /* Inline asm goodies */
+ #define UMULH_32(r,a,b) __asm__("mull %2" : "=d"(r) : "%a"(a), "mr"(b) : "ax")
+ #elif HAVE64
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL /opt/CVSup/usr/ports/security/pgp6/patches/patch-cb /usr/local/ports-local/pgp6/patches/patch-cb
--- /opt/CVSup/usr/ports/security/pgp6/patches/patch-cb	Wed Dec 31 16:00:00 1969
+++ /usr/local/ports-local/pgp6/patches/patch-cb	Fri Sep 29 20:51:49 2000
@@ -0,0 +1,10 @@
+--- libs/pgpcdk/unix/ui/PGPKeyServerDialogs.cpp.orig	Tue Mar  9 18:52:17 1999
++++ libs/pgpcdk/unix/ui/PGPKeyServerDialogs.cpp	Fri Sep 29 20:51:02 2000
+@@ -5,6 +5,7 @@
+ 	$Id: PGPKeyServerDialogs.cpp,v 1.2 1999/03/10 02:52:17 heller Exp $
+ ____________________________________________________________________________*/
+ #include <string.h>
++#include <stdlib.h>
+ 
+ #include "pgpDialogs.h"
+ #include "pgpKeyServerDialogCommon.h"

>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?200009300500.e8U50MA70961>