Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2011 14:11:15 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        johans@FreeBSD.org
Subject:   ports/158965: [PATCH] security/nettle: update to 2.2
Message-ID:  <20110716061115.459BF4D69@sunpoet.net>
Resent-Message-ID: <201107160620.p6G6K7bB000349@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         158965
>Category:       ports
>Synopsis:       [PATCH] security/nettle: update to 2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 16 06:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Jul  9 23:23:51 CST
>Description:
- Update to 2.2
- Update LICENSE

Note that shlib version has changed.

Port maintainer (johans@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- nettle-2.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/nettle/Makefile,v
retrieving revision 1.28
diff -u -u -r1.28 Makefile
--- Makefile	27 Apr 2011 19:01:59 -0000	1.28
+++ Makefile	16 Jul 2011 06:09:26 -0000
@@ -8,7 +8,7 @@
 #
 
 PORTNAME=	nettle
-PORTVERSION=	2.1
+PORTVERSION=	2.2
 CATEGORIES=	security
 MASTER_SITES=	http://www.lysator.liu.se/~nisse/archive/ \
 		ftp://ftp.lysator.liu.se/pub/security/lsh/
@@ -16,24 +16,21 @@
 MAINTAINER=	johans@FreeBSD.org
 COMMENT=	A low-level cryptographic library
 
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING.LIB
+
 LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp
 
-LICENSE=	GPLv2 LGPL21
-LICENSE_COMB=	multi
-LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
-LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LIB
-USE_GMAKE=	yes
-USE_OPENSSL=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
 CONFIGURE_ARGS=	--enable-shared
-
+CPPFLAGS+=	-I${LOCALBASE}/include
+GNU_CONFIGURE=	yes
 LDFLAGS+=	-L${LOCALBASE}/lib
+USE_GMAKE=	yes
 USE_LDCONFIG=	yes
+USE_OPENSSL=	yes
 
 DOCS=		NEWS README TODO nettle.html nettle.pdf
 EXAMPLES=	examples/*.c examples/*.h
-
 INFO=		nettle
 
 post-install:
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/nettle/distinfo,v
retrieving revision 1.10
diff -u -u -r1.10 distinfo
--- distinfo	27 Apr 2011 19:01:59 -0000	1.10
+++ distinfo	16 Jul 2011 06:09:26 -0000
@@ -1,2 +1,2 @@
-SHA256 (nettle-2.1.tar.gz) = b7d26b3e38842d83c02f807ea7a2cbaa6e2d8f22e5fb20d97ab7a171d039d74e
-SIZE (nettle-2.1.tar.gz) = 965345
+SHA256 (nettle-2.2.tar.gz) = 82bec1a1bb684de52bcdfb97d5e4ab1a431499686182b8009a9cf4d00541b4cd
+SIZE (nettle-2.2.tar.gz) = 1060360
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/nettle/pkg-plist,v
retrieving revision 1.12
diff -u -u -r1.12 pkg-plist
--- pkg-plist	27 Apr 2011 19:01:59 -0000	1.12
+++ pkg-plist	16 Jul 2011 06:09:26 -0000
@@ -1,3 +1,4 @@
+bin/nettle-hash
 bin/nettle-lfib-stream
 bin/pkcs1-conv
 bin/sexp-conv
@@ -17,6 +18,7 @@
 include/nettle/des-compat.h
 include/nettle/des.h
 include/nettle/dsa.h
+include/nettle/gcm.h
 include/nettle/hmac.h
 include/nettle/knuth-lfib.h
 include/nettle/macros.h
@@ -41,11 +43,11 @@
 lib/libhogweed.a
 lib/libhogweed.so
 lib/libhogweed.so.2
-lib/libhogweed.so.2.0
+lib/libhogweed.so.2.1
 lib/libnettle.a
 lib/libnettle.so
 lib/libnettle.so.4
-lib/libnettle.so.4.0
+lib/libnettle.so.4.1
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
--- nettle-2.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110716061115.459BF4D69>