From owner-freebsd-ports Sun Nov 5 5:40: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DED2437B4E5 for ; Sun, 5 Nov 2000 05:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA82993; Sun, 5 Nov 2000 05:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by hub.freebsd.org (Postfix) with ESMTP id ABE6437B4CF for ; Sun, 5 Nov 2000 05:38:07 -0800 (PST) Received: from home.dinoex.sub.org (home.dinoex.sub.de [62.157.91.196]) by net2.dinoex.sub.org (8.11.1/8.11.1) with ESMTP id eA5DbGw09530 for ; Sun, 5 Nov 2000 14:37:16 +0100 (CET) (envelope-from dm@home.dinoex.sub.org) Received: (from dm@localhost) by home.dinoex.sub.org (8.11.1/8.11.1) id eA5Db9p57012; Sun, 5 Nov 2000 14:37:09 +0100 (CET) (envelope-from dm) Message-Id: <200011051337.eA5Db9p57012@home.dinoex.sub.org> Date: Sun, 5 Nov 2000 14:37:09 +0100 (CET) From: dirk.meyer@dinoex.sub.org Reply-To: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/22620: fix security/gnupg-rsa (by maintainer) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 +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