View | Details | Raw Unified | Return to bug 51650
Collapse All | Expand All

(-)Makefile (-3 / +3 lines)
Lines 7-24 Link Here
7
#
7
#
8
8
9
PORTNAME=	nettle
9
PORTNAME=	nettle
10
PORTVERSION=	1.5
10
PORTVERSION=	1.7
11
PORTREVISION=	2
12
CATEGORIES=	security
11
CATEGORIES=	security
13
MASTER_SITES=	http://www.lysator.liu.se/~nisse/archive/ \
12
MASTER_SITES=	http://www.lysator.liu.se/~nisse/archive/ \
14
		ftp://ftp.lysator.liu.se/pub/security/lsh/
13
		ftp://ftp.lysator.liu.se/pub/security/lsh/
15
14
16
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	jim@corebsd.or.id
17
COMMENT=	A low-level cryptographic library
16
COMMENT=	A low-level cryptographic library
18
17
19
LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4
18
LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4
20
19
21
USE_GMAKE=	yes
20
USE_GMAKE=	yes
21
USE_OPENSSL=	yes
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
23
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
24
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
24
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (nettle-1.5.tar.gz) = d66173646336e9e7b08deb3f9352248d
1
MD5 (nettle-1.7.tar.gz) = 1212a2451530af024ce9253f01284ddd
(-)pkg-plist (+23 lines)
Lines 1-6 Link Here
1
bin/sexp-conv
1
include/nettle/aes.h
2
include/nettle/aes.h
2
include/nettle/arcfour.h
3
include/nettle/arcfour.h
4
include/nettle/base16.h
5
include/nettle/base64.h
3
include/nettle/blowfish.h
6
include/nettle/blowfish.h
7
include/nettle/buffer.h
8
include/nettle/cast128.h
9
include/nettle/cbc.h
10
include/nettle/des-compat.h
11
include/nettle/des.h
12
include/nettle/dsa.h
13
include/nettle/hmac.h
14
include/nettle/knuth-lfib.h
15
include/nettle/macros.h
16
include/nettle/md5-compat.h
17
include/nettle/md5.h
18
include/nettle/nettle-meta.h
19
include/nettle/pgp.h
20
include/nettle/realloc.h
21
include/nettle/rsa.h
22
include/nettle/serpent.h
23
include/nettle/sexp.h
24
include/nettle/sha.h
25
include/nettle/twofish.h
26
include/nettle/yarrow.h
4
@unexec install-info --delete %D/info/nettle.info %D/info/dir
27
@unexec install-info --delete %D/info/nettle.info %D/info/dir
5
info/nettle.info
28
info/nettle.info
6
@exec install-info %D/info/nettle.info %D/info/dir
29
@exec install-info %D/info/nettle.info %D/info/dir
(-)files/patch-examples_nettle-openssl.c (+29 lines)
Added Link Here
1
--- examples/nettle-openssl.c.orig	Fri Nov  8 16:05:20 2002
2
+++ examples/nettle-openssl.c	Thu May  1 12:52:10 2003
3
@@ -93,7 +93,7 @@
4
 openssl_des_set_key(void *ctx, unsigned length, const uint8_t *key)
5
 {
6
   assert(length == 8);
7
-  des_key_sched((char *) key, ctx);
8
+  des_key_sched((const_DES_cblock *)key, ctx);
9
 }
10
 
11
 #define DES_BLOCK_SIZE 8
12
@@ -105,7 +105,7 @@
13
   assert (!(length % DES_BLOCK_SIZE));
14
   while (length)
15
     {
16
-      des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_ENCRYPT);
17
+      des_ecb_encrypt((const_DES_cblock *)src, (DES_cblock *)dst, ctx, DES_ENCRYPT);
18
       length -= DES_BLOCK_SIZE;
19
       dst += DES_BLOCK_SIZE;
20
       src += DES_BLOCK_SIZE;
21
@@ -119,7 +119,7 @@
22
   assert (!(length % DES_BLOCK_SIZE));
23
   while (length)
24
     {
25
-      des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_DECRYPT);
26
+      des_ecb_encrypt((const_DES_cblock *) src, (DES_cblock *) dst, ctx, DES_DECRYPT);
27
       length -= DES_BLOCK_SIZE;
28
       dst += DES_BLOCK_SIZE;
29
       src += DES_BLOCK_SIZE;

Return to bug 51650