diff options
author | foxfair <foxfair@FreeBSD.org> | 2003-05-08 05:00:10 +0000 |
---|---|---|
committer | foxfair <foxfair@FreeBSD.org> | 2003-05-08 05:00:10 +0000 |
commit | 2556b3467a6e2f4342458586b51d561de810738e (patch) | |
tree | 06d02c3e21f5b661620fc9c7a07b988255328584 /security/nettle2 | |
parent | 67a5eec806c2edf4e77319a044f0b2219227acab (diff) | |
download | FreeBSD-ports-2556b3467a6e2f4342458586b51d561de810738e.zip FreeBSD-ports-2556b3467a6e2f4342458586b51d561de810738e.tar.gz |
PR: 51650
Submitted by: Jim Geovedi <jim@corebsd.or.id>
Update to 1.7
Diffstat (limited to 'security/nettle2')
-rw-r--r-- | security/nettle2/Makefile | 6 | ||||
-rw-r--r-- | security/nettle2/distinfo | 2 | ||||
-rw-r--r-- | security/nettle2/files/patch-examples_nettle-openssl.c | 29 | ||||
-rw-r--r-- | security/nettle2/pkg-plist | 23 |
4 files changed, 56 insertions, 4 deletions
diff --git a/security/nettle2/Makefile b/security/nettle2/Makefile index d0d923e..876cc2a 100644 --- a/security/nettle2/Makefile +++ b/security/nettle2/Makefile @@ -7,18 +7,18 @@ # PORTNAME= nettle -PORTVERSION= 1.5 -PORTREVISION= 2 +PORTVERSION= 1.7 CATEGORIES= security MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \ ftp://ftp.lysator.liu.se/pub/security/lsh/ -MAINTAINER= ports@FreeBSD.org +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_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ diff --git a/security/nettle2/distinfo b/security/nettle2/distinfo index 0b0dff1..51bfa96 100644 --- a/security/nettle2/distinfo +++ b/security/nettle2/distinfo @@ -1 +1 @@ -MD5 (nettle-1.5.tar.gz) = d66173646336e9e7b08deb3f9352248d +MD5 (nettle-1.7.tar.gz) = 1212a2451530af024ce9253f01284ddd diff --git a/security/nettle2/files/patch-examples_nettle-openssl.c b/security/nettle2/files/patch-examples_nettle-openssl.c new file mode 100644 index 0000000..dbd0345 --- /dev/null +++ b/security/nettle2/files/patch-examples_nettle-openssl.c @@ -0,0 +1,29 @@ +--- 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-plist b/security/nettle2/pkg-plist index 3c9561c..eca8615 100644 --- a/security/nettle2/pkg-plist +++ b/security/nettle2/pkg-plist @@ -1,6 +1,29 @@ +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 @unexec install-info --delete %D/info/nettle.info %D/info/dir info/nettle.info @exec install-info %D/info/nettle.info %D/info/dir |