aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-04-27 06:08:53 +0800
committerdinoex <dinoex@FreeBSD.org>2013-04-27 06:08:53 +0800
commitfff7183c2f4531725aaf8555e7c9ca49710ab8d7 (patch)
treea744b25ec08cf09cb8694ac68c68a78e6dd56f96 /security
parente7bd6053d653312ed49a782af1562f7c435b4c67 (diff)
downloadfreebsd-ports-gnome-fff7183c2f4531725aaf8555e7c9ca49710ab8d7.tar.gz
freebsd-ports-gnome-fff7183c2f4531725aaf8555e7c9ca49710ab8d7.tar.zst
freebsd-ports-gnome-fff7183c2f4531725aaf8555e7c9ca49710ab8d7.zip
retire security/gnupg-idea
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/gnupg-idea/Makefile72
-rw-r--r--security/gnupg-idea/distinfo4
-rw-r--r--security/gnupg-idea/files/patch-idea.c40
-rw-r--r--security/gnupg-idea/files/patch-rsa.c40
-rw-r--r--security/gnupg-idea/pkg-descr13
-rw-r--r--security/gnupg-idea/pkg-message16
-rw-r--r--security/gnupg-idea/pkg-plist1
8 files changed, 0 insertions, 187 deletions
diff --git a/security/Makefile b/security/Makefile
index 6883399aa082..62d39f5412ca 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -160,7 +160,6 @@
SUBDIR += gnome-ssh-askpass
SUBDIR += gnomint
SUBDIR += gnupg
- SUBDIR += gnupg-idea
SUBDIR += gnupg1
SUBDIR += gnutls
SUBDIR += gnutls-devel
diff --git a/security/gnupg-idea/Makefile b/security/gnupg-idea/Makefile
deleted file mode 100644
index 3b918ff0dbee..000000000000
--- a/security/gnupg-idea/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= gnupg-idea
-PORTVERSION= 1.0.6
-PORTREVISION= 4
-CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GNUPG} \
- ftp://ftp.gnupg.org/gcrypt/%SUBDIR%/ \
- http://www.gnupg.dk/contrib-dk/:idea \
- http://www.gnupg.cz/~rp/GnuPG/extensions/:idea \
- ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/gnupg/&,}
-MASTER_SITE_SUBDIR= contrib
-DISTFILES= # later
-DIST_SUBDIR= ${PORTNAME}
-EXTRACT_ONLY= # none
-
-MAINTAINER= dinoex@FreeBSD.org
-COMMENT= IDEA extension module for gnupg (and RSA for demonstration)
-
-RUN_DEPENDS= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
-
-EXTRACT_AFTER_ARGS= > ${WRKSRC}/idea.c
-
-NO_WRKSUBDIR= yes
-CFLAGS+= -shared -fPIC -DIS_MODULE
-CFLAGS+= -Wall -Wcast-align -Wshadow -Wstrict-prototypes
-PLIST= ${WRKDIR}/.PLIST.more
-
-OPTIONS_DEFINE= IDEA
-OPTIONS_DEFINE= IDEA
-OPTIONS_DEFAULT=IDEA
-IDEA_DESC= IDEA encyrption
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MIDEA}
-CONTRIB= idea rsa
-DISTFILES= idea.c.gz:idea rsa.c
-EXTRACT_ONLY= idea.c.gz
-.else
-CONTRIB= rsa
-DISTFILES= rsa.c
-.endif
-
-pre-extract:
- @${SED} -e s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}
-
-post-extract:
-.for i in rsa.c
- @${TR} -d '\r' <${_DISTDIR}/${i} >${WRKSRC}/${i}
-.endfor
-
-do-patch:
-.for i in ${CONTRIB}
- @${ECHO_MSG} "===> Applying extra patch ${i}.c"
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/patch-${i}.c
-.endfor
-
-do-build:
-.for i in ${CONTRIB}
- ${CC} ${CFLAGS} -o ${WRKSRC}/${i} ${WRKSRC}/${i}.c
- ${ECHO_CMD} "lib/gnupg/${i}" >>${PLIST}
-.endfor
- ${ECHO_CMD} "@dirrm lib/gnupg" >>${PLIST}
-
-do-install:
- ${MKDIR} ${PREFIX}/lib/gnupg
-.for i in ${CONTRIB}
- ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/lib/gnupg/${i}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/security/gnupg-idea/distinfo b/security/gnupg-idea/distinfo
deleted file mode 100644
index 060d12a8e983..000000000000
--- a/security/gnupg-idea/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (gnupg-idea/idea.c.gz) = 309928da34941dff1d6f6687542ff3d58306d85be9e1a9906bc4f9f8e6011844
-SIZE (gnupg-idea/idea.c.gz) = 5216
-SHA256 (gnupg-idea/rsa.c) = c259070684336175bc83e88f66b52cc5114dc268bfd1933f1113bf6d514117e6
-SIZE (gnupg-idea/rsa.c) = 14302
diff --git a/security/gnupg-idea/files/patch-idea.c b/security/gnupg-idea/files/patch-idea.c
deleted file mode 100644
index 1af66c968e40..000000000000
--- a/security/gnupg-idea/files/patch-idea.c
+++ /dev/null
@@ -1,40 +0,0 @@
---- idea.c.orig Wed Oct 9 02:32:12 2002
-+++ idea.c Wed Oct 9 21:39:05 2002
-@@ -420,6 +420,9 @@
-
-
-
-+#ifndef IS_MODULE
-+static
-+#endif
- const char * const gnupgext_version = "IDEA ($Revision: 1.11 $)";
-
- static struct {
-@@ -449,6 +452,9 @@
- * version = interface version of the function/pointer
- * (currently this is 1 for all functions)
- */
-+#ifndef IS_MODULE
-+static
-+#endif
- void *
- gnupgext_enum_func( int what, int *sequence, int *class, int *vers )
- {
-@@ -477,3 +483,17 @@
- *sequence = i;
- return ret;
- }
-+
-+#ifndef IS_MODULE
-+
-+void register_internal_cipher_extension( const char *module_id,
-+ void * (*enumfunc)(int, int*, int*, int*) );
-+
-+void
-+idea_constructor(void)
-+{
-+ register_internal_cipher_extension( gnupgext_version,
-+ gnupgext_enum_func );
-+}
-+#endif
-+
diff --git a/security/gnupg-idea/files/patch-rsa.c b/security/gnupg-idea/files/patch-rsa.c
deleted file mode 100644
index b61d03dbcca5..000000000000
--- a/security/gnupg-idea/files/patch-rsa.c
+++ /dev/null
@@ -1,40 +0,0 @@
---- rsa.c.orig Tue May 9 08:21:33 2000
-+++ rsa.c Tue May 9 08:22:16 2000
-@@ -64,6 +64,9 @@
- /* end configurable stuff */
-
-
-+#ifndef IS_MODULE
-+static
-+#endif
- const char * const gnupgext_version = "RSA ($Revision: 1.10 $)";
-
- #ifndef DIM
-@@ -500,6 +503,9 @@
- * 31 = integer with available pubkey algorithms
- * version = interface version of the function/pointer
- */
-+#ifndef IS_MODULE
-+static
-+#endif
- void *
- gnupgext_enum_func( int what, int *sequence, int *class, int *vers )
- {
-@@ -529,4 +535,17 @@
- return ret;
- }
-
-+
-+#ifndef IS_MODULE
-+
-+void register_internal_cipher_extension( const char *module_id,
-+ void * (*enumfunc)(int, int*, int*, int*) );
-+
-+void
-+rsa_constructor(void)
-+{
-+ register_internal_cipher_extension( gnupgext_version,
-+ gnupgext_enum_func );
-+}
-+#endif
-
diff --git a/security/gnupg-idea/pkg-descr b/security/gnupg-idea/pkg-descr
deleted file mode 100644
index cd3a5f35d92b..000000000000
--- a/security/gnupg-idea/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-GnuPG is a complete and free replacement for PGP.
-
-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.gnupg.org/
-
-Here are modules to use the deprecated (and patented) encodings.
-
- - sign and check PGP2.x signatures
- - decode PGP2.x messages.
- - You can't encrypt to PGP2.x users.
diff --git a/security/gnupg-idea/pkg-message b/security/gnupg-idea/pkg-message
deleted file mode 100644
index 97a11f8f6520..000000000000
--- a/security/gnupg-idea/pkg-message
+++ /dev/null
@@ -1,16 +0,0 @@
----------------------------------------------------
-
-IDEA:
- Patented in the USA and many european countries,
- and a patent for Japan is pending. The patent holder
- Ascom grants a non-commercial 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/engl/Content/patent_info.htm
-
-RSA: rsa is now included in gnupg >= 1.0.3
- still included for demonstration.
-
----------------------------------------------------
diff --git a/security/gnupg-idea/pkg-plist b/security/gnupg-idea/pkg-plist
deleted file mode 100644
index 0115b2112491..000000000000
--- a/security/gnupg-idea/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-@comment this plist is automatically generated