Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/nettle/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 20 Feb 2003 18:59:07 -0000 1.8 +++ Makefile 1 May 2003 06:15:09 -0000 @@ -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" \ Index: distinfo =================================================================== RCS file: /home/ncvs/ports/security/nettle/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 1 Feb 2002 11:17:36 -0000 1.2 +++ distinfo 1 May 2003 04:22:01 -0000 @@ -1 +1 @@ -MD5 (nettle-1.5.tar.gz) = d66173646336e9e7b08deb3f9352248d +MD5 (nettle-1.7.tar.gz) = 1212a2451530af024ce9253f01284ddd Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/security/nettle/pkg-plist,v retrieving revision 1.3 diff -u -r1.3 pkg-plist --- pkg-plist 20 Sep 2002 06:42:08 -0000 1.3 +++ pkg-plist 1 May 2003 06:10:31 -0000 @@ -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 Index: files/patch-examples_nettle-openssl.c =================================================================== RCS file: files/patch-examples_nettle-openssl.c diff -N files/patch-examples_nettle-openssl.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-examples_nettle-openssl.c 1 May 2003 05:52:16 -0000 @@ -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;