1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

PR: 51650

Submitted by:	Jim Geovedi <jim@corebsd.or.id>
Update to 1.7
This commit is contained in:
Foxfair Hu 2003-05-08 05:00:10 +00:00
parent 34a4aab514
commit 0882052298
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80416
8 changed files with 112 additions and 8 deletions

View File

@ -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" \

View File

@ -1 +1 @@
MD5 (nettle-1.5.tar.gz) = d66173646336e9e7b08deb3f9352248d
MD5 (nettle-1.7.tar.gz) = 1212a2451530af024ce9253f01284ddd

View File

@ -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;

View File

@ -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

View File

@ -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" \

View File

@ -1 +1 @@
MD5 (nettle-1.5.tar.gz) = d66173646336e9e7b08deb3f9352248d
MD5 (nettle-1.7.tar.gz) = 1212a2451530af024ce9253f01284ddd

View File

@ -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;

View File

@ -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