Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2000 14:37:09 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22620: fix security/gnupg-rsa (by maintainer)
Message-ID:  <200011051337.eA5Db9p57012@home.dinoex.sub.org>

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

>Number:         22620
>Category:       ports
>Synopsis:       fix security/gnupg-rsa (by maintainer)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 05 05:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
privat
>Environment:

	USA_RESIDENT to YES

>Description:

	- extra spaces and newlines removed
	- RESTRICTED now more specifc
	- PLIST generated on the fly
	- PKGMESSAGE to inform the users

>How-To-Repeat:

remove of package give a warning.

>Fix:

	apply the patch

diff gnupg-rsa/Makefile gnupg-rsa/Makefile
--- gnupg-rsa/Makefile	Wed Oct  4 20:39:51 2000
+++ gnupg-rsa/Makefile	Sun Nov  5 14:35:05 2000
@@ -1,5 +1,5 @@
 # New ports collection makefile for:	gnupg-rsa
-# Date created:		10 May, 2000 
+# Date created:		10 May, 2000
 # Whom:			dirk.meyer@dinoex.sub.org
 #
 # $FreeBSD: ports/security/gnupg-rsa/Makefile,v 1.5 2000/10/02 14:23:03 kevlo Exp $
@@ -7,18 +7,21 @@
 
 PORTNAME=	gnupg-rsa
 PORTVERSION=	1.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=   ftp://ftp.gnupg.org/pub/gcrypt/contrib/
 
 MAINTAINER=	dirk.meyer@dinoex.sub.org
 
-RESTRICTED=	"Crypto; export-controlled"
 RUN_DEPENDS=	${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg
+
+RESTRICTED=	"IDEA is Patented in the USA and many european countries"
+
 NO_WRKSUBDIR=	yes
 DIST_SUBDIR=    ${PORTNAME}
 CFLAGS+=	-O2 -shared -fPIC -DIS_MODULE
 CFLAGS+=	-Wall -Wcast-align -Wshadow -Wstrict-prototypes
+PLIST=		${WRKDIR}/.PLIST.more
 
 .if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
 pre-fetch:
@@ -41,6 +44,9 @@
 
 .include <bsd.port.pre.mk>
 
+pre-extract:
+	@${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}
+
 do-extract:
 	@${RM} -rf ${WRKDIR}
 	@${MKDIR} ${WRKDIR}
@@ -57,6 +63,7 @@
 do-build:
 .for i in ${CONTRIB}
 	${CC} ${CFLAGS} -o ${WRKSRC}/${i} ${WRKSRC}/${i}.c
+	${ECHO} "lib/gnupg/${i}" >>${PLIST}
 .endfor
 
 do-install:
diff gnupg-rsa/pkg-message gnupg-rsa/pkg-message
--- gnupg-rsa/pkg-message	Thu Jan  1 01:00:00 1970
+++ gnupg-rsa/pkg-message	Sun Nov  5 14:26:48 2000
@@ -0,0 +1,12 @@
+
+---------------------------------------------------
+
+RSA:	rsa is now included in gnupg >= 1.0.3
+	still included for demonstration.
+
+IDEA:
+	Patented in the USA and many european countries
+	thought to be OK to use for any non-commercial use.
+
+---------------------------------------------------
+
diff gnupg-rsa/pkg-plist gnupg-rsa/pkg-plist
--- gnupg-rsa/pkg-plist	Fri May 12 10:19:03 2000
+++ gnupg-rsa/pkg-plist	Thu Jan  1 01:00:00 1970
@@ -1,2 +0,0 @@
-lib/gnupg/rsa
-lib/gnupg/idea

>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?200011051337.eA5Db9p57012>