aboutsummaryrefslogtreecommitdiff
path: root/security/nettle2
diff options
context:
space:
mode:
Diffstat (limited to 'security/nettle2')
-rw-r--r--security/nettle2/Makefile45
-rw-r--r--security/nettle2/distinfo2
-rw-r--r--security/nettle2/files/patch-Makefile.in10
-rw-r--r--security/nettle2/files/patch-configure11
-rw-r--r--security/nettle2/files/patch-examples_nettle-openssl.c29
-rw-r--r--security/nettle2/pkg-descr6
-rw-r--r--security/nettle2/pkg-plist44
7 files changed, 0 insertions, 147 deletions
diff --git a/security/nettle2/Makefile b/security/nettle2/Makefile
deleted file mode 100644
index 715c289a8aa5..000000000000
--- a/security/nettle2/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# ex:ts=8
-# New ports collection makefile for: nettle
-# Date created: Dec 6, 2001
-# Whom: ijliao
-#
-# $FreeBSD$
-#
-
-PORTNAME= nettle
-PORTVERSION= 1.7
-PORTREVISION= 2
-CATEGORIES= security
-MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \
- ftp://ftp.lysator.liu.se/pub/security/lsh/
-
-MAINTAINER= jim@corebsd.or.id
-COMMENT= A low-level cryptographic library
-
-LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
-
-USE_GMAKE= yes
-USE_OPENSSL= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --enable-shared
-LDFLAGS+= -L${LOCALBASE}/lib
-INSTALLS_SHLIB= yes
-
-DOCS= NEWS README TODO nettle.html
-EXAMPLES= examples/README examples/*.c examples/*.h
-INFO= nettle
-
-post-extract:
- @${RM} -f ${WRKSRC}/nettle.info*
-
-post-install:
- @${MKDIR} ${EXAMPLESDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
-
-.include <bsd.port.mk>
diff --git a/security/nettle2/distinfo b/security/nettle2/distinfo
deleted file mode 100644
index f477fc593dbe..000000000000
--- a/security/nettle2/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (nettle-1.7.tar.gz) = 1212a2451530af024ce9253f01284ddd
-SIZE (nettle-1.7.tar.gz) = 497991
diff --git a/security/nettle2/files/patch-Makefile.in b/security/nettle2/files/patch-Makefile.in
deleted file mode 100644
index 5e9e5bd2c686..000000000000
--- a/security/nettle2/files/patch-Makefile.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.in.orig Fri Oct 24 14:28:03 2003
-+++ Makefile.in Fri Oct 24 14:29:11 2003
-@@ -1067,7 +1067,6 @@ $(SHLIBFORLINK): $(SHLIBOBJECTS)
- install-shared: $(SHLIBFORLINK)
- $(INSTALL_DATA) $(SHLIBFORLINK) $(DESTDIR)$(libdir)/$(SHLIBFILE)
- (cd $(DESTDIR)$(libdir) \
-- && ln -sf $(SHLIBFILE) $(SHLIBSONAME) \
- && ln -sf $(SHLIBFILE) $(SHLIBFORLINK) )
-
- %.html : %.texinfo
diff --git a/security/nettle2/files/patch-configure b/security/nettle2/files/patch-configure
deleted file mode 100644
index 96c78f36792e..000000000000
--- a/security/nettle2/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri Oct 24 14:27:53 2003
-+++ configure Fri Oct 24 14:28:43 2003
-@@ -3160,7 +3160,7 @@ fi
- SHLIBCFLAGS="-fpic"
- SHLIBFORLINK=libnettle.so
- SHLIBSONAME='$(SHLIBFORLINK).$(SHLIBMAJOR)'
--SHLIBFILE='$(SHLIBSONAME).$(SHLIBMINOR)'
-+SHLIBFILE='$(SHLIBSONAME)'
- SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME)'
-
- echo "enable_shared: $enable_shared"
diff --git a/security/nettle2/files/patch-examples_nettle-openssl.c b/security/nettle2/files/patch-examples_nettle-openssl.c
deleted file mode 100644
index dbd034518587..000000000000
--- a/security/nettle2/files/patch-examples_nettle-openssl.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- examples/nettle-openssl.c.orig Fri Nov 8 16:05:20 2002
-+++ examples/nettle-openssl.c Thu May 1 12:52:10 2003
-@@ -93,7 +93,7 @@
- openssl_des_set_key(void *ctx, unsigned length, const uint8_t *key)
- {
- assert(length == 8);
-- des_key_sched((char *) key, ctx);
-+ des_key_sched((const_DES_cblock *)key, ctx);
- }
-
- #define DES_BLOCK_SIZE 8
-@@ -105,7 +105,7 @@
- assert (!(length % DES_BLOCK_SIZE));
- while (length)
- {
-- des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_ENCRYPT);
-+ des_ecb_encrypt((const_DES_cblock *)src, (DES_cblock *)dst, ctx, DES_ENCRYPT);
- length -= DES_BLOCK_SIZE;
- dst += DES_BLOCK_SIZE;
- src += DES_BLOCK_SIZE;
-@@ -119,7 +119,7 @@
- assert (!(length % DES_BLOCK_SIZE));
- while (length)
- {
-- des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_DECRYPT);
-+ des_ecb_encrypt((const_DES_cblock *) src, (DES_cblock *) dst, ctx, DES_DECRYPT);
- length -= DES_BLOCK_SIZE;
- dst += DES_BLOCK_SIZE;
- src += DES_BLOCK_SIZE;
diff --git a/security/nettle2/pkg-descr b/security/nettle2/pkg-descr
deleted file mode 100644
index e9e262fcac2d..000000000000
--- a/security/nettle2/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Nettle is a cryptographic library that is designed to fit easily in more or
-less any context: In crypto toolkits for object-oriented languages (C++,
-Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel
-space.
-
-WWW: http://www.lysator.liu.se/~nisse/nettle/
diff --git a/security/nettle2/pkg-plist b/security/nettle2/pkg-plist
deleted file mode 100644
index efb4a6b17d3e..000000000000
--- a/security/nettle2/pkg-plist
+++ /dev/null
@@ -1,44 +0,0 @@
-bin/sexp-conv
-include/nettle/aes.h
-include/nettle/arcfour.h
-include/nettle/base16.h
-include/nettle/base64.h
-include/nettle/blowfish.h
-include/nettle/buffer.h
-include/nettle/cast128.h
-include/nettle/cbc.h
-include/nettle/des-compat.h
-include/nettle/des.h
-include/nettle/dsa.h
-include/nettle/hmac.h
-include/nettle/knuth-lfib.h
-include/nettle/macros.h
-include/nettle/md5-compat.h
-include/nettle/md5.h
-include/nettle/nettle-meta.h
-include/nettle/pgp.h
-include/nettle/realloc.h
-include/nettle/rsa.h
-include/nettle/serpent.h
-include/nettle/sexp.h
-include/nettle/sha.h
-include/nettle/twofish.h
-include/nettle/yarrow.h
-@dirrm include/nettle
-lib/libnettle.a
-lib/libnettle.so.1
-lib/libnettle.so
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/nettle.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%EXAMPLESDIR%%/README
-%%EXAMPLESDIR%%/io.c
-%%EXAMPLESDIR%%/nettle-benchmark.c
-%%EXAMPLESDIR%%/nettle-openssl.c
-%%EXAMPLESDIR%%/rsa-keygen.c
-%%EXAMPLESDIR%%/rsa-sign.c
-%%EXAMPLESDIR%%/rsa-verify.c
-%%EXAMPLESDIR%%/io.h
-@dirrm %%EXAMPLESDIR%%