Fix the port.
- Remove extra spaces and newlines - Describe RESTRICTED more specifically - Generate PLIST on the fly - Prepare PKGMESSAGE to inform the users (Additional fixes by knu follow:) - Add MASTER_SITES. - Respect MAKE_IDEA that could be defined in /etc/make.conf - Make a bit more portlint friendly - Fix pkg-{comment,descr} to reflect the latest situation gnupg-idea was repo-moved from gnupg-rsa, because now GnuPG has a builtin RSA support. (GnuPG >= 1.03, after the RSA patent restriction was lifted) PR: ports/22620 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org> (MAINTAINER)
This commit is contained in:
parent
d78bea8195
commit
0635dc2c21
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34828
@ -27,7 +27,7 @@
|
||||
SUBDIR += fwtk
|
||||
SUBDIR += gag
|
||||
SUBDIR += gnupg
|
||||
SUBDIR += gnupg-rsa
|
||||
SUBDIR += gnupg-idea
|
||||
SUBDIR += gpa
|
||||
SUBDIR += gpasman
|
||||
SUBDIR += gtkportscan
|
||||
|
@ -1,24 +1,30 @@
|
||||
# New ports collection makefile for: gnupg-rsa
|
||||
# Date created: 10 May, 2000
|
||||
# New ports collection makefile for: gnupg-idea
|
||||
# Date created: 10 May, 2000
|
||||
# Whom: dirk.meyer@dinoex.sub.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gnupg-rsa
|
||||
PORTNAME= gnupg-idea
|
||||
PORTVERSION= 1.0.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ftp://ftp.gnupg.org/pub/gcrypt/contrib/
|
||||
MASTER_SITES= ftp://ftp.gnupg.org/pub/gcrypt/%SUBDIR%/ \
|
||||
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/gnupg/&,}
|
||||
MASTER_SITE_SUBDIR= contrib
|
||||
DISTFILES= ${CONTRIB:S|$|.c|}
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
EXTRACT_ONLY= # none
|
||||
|
||||
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:
|
||||
@ -31,19 +37,18 @@ pre-fetch:
|
||||
|
||||
.elif defined(USA_RESIDENT)
|
||||
|
||||
.if ${USA_RESIDENT} == NO
|
||||
DISTFILES= rsa.c idea.c
|
||||
CONTRIB= rsa idea
|
||||
.if ${USA_RESIDENT} == NO || defined(MAKE_IDEA)
|
||||
CONTRIB= idea rsa
|
||||
.else
|
||||
DISTFILES= rsa.c
|
||||
CONTRIB= rsa
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-extract:
|
||||
@${RM} -rf ${WRKDIR}
|
||||
@${MKDIR} ${WRKDIR}
|
||||
pre-extract:
|
||||
@${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}
|
||||
|
||||
post-extract:
|
||||
.for i in ${DISTFILES}
|
||||
@${CP} ${_DISTDIR}/${i} ${WRKSRC}/${i}
|
||||
.endfor
|
||||
@ -57,6 +62,7 @@ do-patch:
|
||||
do-build:
|
||||
.for i in ${CONTRIB}
|
||||
${CC} ${CFLAGS} -o ${WRKSRC}/${i} ${WRKSRC}/${i}.c
|
||||
${ECHO} "lib/gnupg/${i}" >>${PLIST}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (gnupg-rsa/rsa.c) = d8b6f26df0e3e0ccd93c2d0589d8766f
|
||||
MD5 (gnupg-rsa/idea.c) = 7d0557459e0a41da099ddbd837d4bd40
|
||||
MD5 (gnupg-idea/rsa.c) = d8b6f26df0e3e0ccd93c2d0589d8766f
|
||||
MD5 (gnupg-idea/idea.c) = 7d0557459e0a41da099ddbd837d4bd40
|
||||
|
@ -1 +1 @@
|
||||
Extensions gnupg: rsa idea
|
||||
IDEA extension module for gnupg (and RSA extension module for demonstration)
|
||||
|
@ -1,11 +1,12 @@
|
||||
GNUPG is a complete and free replacement for PGP.
|
||||
GnuPG is a complete and free replacement for PGP.
|
||||
|
||||
Because it does not use IDEA or RSA it can be used without any
|
||||
restrictions. GNUPG is nearly in complicance with the OpenPGP draft.
|
||||
Because it does not use the patented IDEA algorithm, it can be used
|
||||
without any restrictions. GnuPG is an RFC2440 (OpenPGP) compliant
|
||||
application.
|
||||
|
||||
WWW: http://www.d.shuttle.de/isil/gnupg/
|
||||
WWW: http://www.gnupg.org/
|
||||
|
||||
Here are modules to use the depricated encodings.
|
||||
Here are modules to use the deprecated (and patented) encodings.
|
||||
|
||||
- sign and check PGP2.x signaturs
|
||||
- decode PGP2.x messages.
|
||||
|
18
security/gnupg-idea/pkg-message
Normal file
18
security/gnupg-idea/pkg-message
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
---------------------------------------------------
|
||||
|
||||
IDEA:
|
||||
Patented in the USA and many european countries,
|
||||
and a patent for Japan is pending. The patent holder
|
||||
Ascom grants a non-commerical license for no charge,
|
||||
but the definition of non-commercial use is rather
|
||||
strict. You need to buy a license if you want to use
|
||||
IDEA commercially.
|
||||
|
||||
See: http://www.media-crypt.com/pages/fidea.html
|
||||
|
||||
RSA: rsa is now included in gnupg >= 1.0.3
|
||||
still included for demonstration.
|
||||
|
||||
---------------------------------------------------
|
||||
|
@ -1,2 +0,0 @@
|
||||
lib/gnupg/rsa
|
||||
lib/gnupg/idea
|
Loading…
Reference in New Issue
Block a user