From negative@develbox.bhc.or.id  Thu May  1 01:47:36 2003
Return-Path: <negative@develbox.bhc.or.id>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C7E1E37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 May 2003 01:47:36 -0700 (PDT)
Received: from develbox.bhc.or.id (develbox.bhc.or.id [202.77.97.36])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6365243F75
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 May 2003 01:47:19 -0700 (PDT)
	(envelope-from negative@develbox.bhc.or.id)
Received: by develbox.bhc.or.id (Postfix, from userid 1027)
	id 6C97089F; Thu,  1 May 2003 15:40:00 +0700 (WIT)
Message-Id: <20030501084000.6C97089F@develbox.bhc.or.id>
Date: Thu,  1 May 2003 15:40:00 +0700 (WIT)
From: Jim Geovedi <jim@corebsd.or.id>
Reply-To: Jim Geovedi <jim@corebsd.or.id>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: security/nettle update
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         51650
>Category:       ports
>Synopsis:       security/nettle update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 01 01:50:04 PDT 2003
>Closed-Date:    Wed May 07 22:00:25 PDT 2003
>Last-Modified:  Wed May 07 22:00:25 PDT 2003
>Originator:     Jim Geovedi
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD develbox.bhc.or.id 4.8-STABLE FreeBSD 4.8-STABLE #1: Thu May 1 09:18:05 WIT 2003 root@develbox.bhc.or.id:/usr/obj/usr/src/sys/BHC i386


	
>Description:
	
update to nettle-1.7 and take maintainership.
>How-To-Repeat:
	
>Fix:

	

--- ports_security_nettle.diff begins here ---
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;
--- ports_security_nettle.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: foxfair 
State-Changed-When: Wed May 7 21:57:59 PDT 2003 
State-Changed-Why:  
patch committed, thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=51650 
>Unformatted:
