Update to libnettle-3.4.

This commit is contained in:
ajacoutot 2017-11-20 09:09:45 +00:00
parent ea52c5417c
commit c4a1d30272
5 changed files with 22 additions and 17 deletions

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.19 2016/12/29 15:51:29 jca Exp $
# $OpenBSD: Makefile,v 1.20 2017/11/20 09:09:45 ajacoutot Exp $
COMMENT= cryptographic library
DISTNAME= nettle-3.3
REVISION= 0
DISTNAME= nettle-3.4
PKGNAME= lib${DISTNAME}
SHARED_LIBS += hogweed 2.0 # 6.2
SHARED_LIBS += nettle 2.2 # 4.2
SHARED_LIBS += nettle 3.0 # 4.2
CATEGORIES= security devel

View File

@ -1,2 +1,2 @@
SHA256 (nettle-3.3.tar.gz) = RpQmJ9XQyhFyD+wY2B/Dj374N+pBl8H2MOcc4NRwsR4=
SIZE (nettle-3.3.tar.gz) = 1887927
SHA256 (nettle-3.4.tar.gz) = rnpC3wJlULhdrKg4m2pgumMTsFZ/N0OS5UkYWIpBHpQ=
SIZE (nettle-3.4.tar.gz) = 1935069

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-Makefile_in,v 1.7 2016/01/30 09:16:41 ajacoutot Exp $
--- Makefile.in.orig Thu Jan 28 21:02:21 2016
+++ Makefile.in Sat Jan 30 10:11:42 2016
@@ -453,11 +453,6 @@ install-dll-nettle:
$OpenBSD: patch-Makefile_in,v 1.8 2017/11/20 09:09:45 ajacoutot Exp $
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -457,11 +457,6 @@ install-dll-nettle:
install-shared-nettle: $(LIBNETTLE_FORLINK) @IF_DLL@ install-dll-nettle
$(MKDIR_P) $(DESTDIR)$(libdir)
$(INSTALL_DATA) $(LIBNETTLE_FILE_SRC) $(DESTDIR)$(libdir)/$(LIBNETTLE_FILE)
@ -13,7 +14,7 @@ $OpenBSD: patch-Makefile_in,v 1.7 2016/01/30 09:16:41 ajacoutot Exp $
install-dll-hogweed:
$(MKDIR_P) $(DESTDIR)$(bindir)
@@ -466,11 +461,6 @@ install-dll-hogweed:
@@ -470,11 +465,6 @@ install-dll-hogweed:
install-shared-hogweed: $(LIBHOGWEED_FORLINK) @IF_DLL@ install-dll-hogweed
$(MKDIR_P) $(DESTDIR)$(libdir)
$(INSTALL_DATA) $(LIBHOGWEED_FILE_SRC) $(DESTDIR)$(libdir)/$(LIBHOGWEED_FILE)

View File

@ -1,12 +1,13 @@
$OpenBSD: patch-configure,v 1.6 2016/01/30 09:16:41 ajacoutot Exp $
$OpenBSD: patch-configure,v 1.7 2017/11/20 09:09:45 ajacoutot Exp $
Fix relocation errors on (at least) sparc64.
We don't want extra debug flags in regular builds.
--- configure.orig Thu Jan 28 21:02:21 2016
+++ configure Sat Jan 30 10:11:42 2016
@@ -7068,6 +7068,7 @@ else
Index: configure
--- configure.orig
+++ configure
@@ -7090,6 +7090,7 @@ else
bsdi4.*) CCPIC="-fPIC" ;;
bsdi*) CCPIC="" ;;
darwin*) CCPIC="-fPIC" ;;
@ -14,7 +15,7 @@ We don't want extra debug flags in regular builds.
# Could also use -fpic, depending on the number of symbol references
solaris*) CCPIC="-fPIC" ;;
cygwin*) CCPIC="" ;;
@@ -7754,7 +7755,7 @@ if test x$GCC = xyes ; then
@@ -7776,7 +7777,7 @@ if test x$GCC = xyes ; then
if $CC --version | grep '^2\.96$' 1>/dev/null 2>&1; then
true
else

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.9 2016/10/03 08:00:46 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.10 2017/11/20 09:09:45 ajacoutot Exp $
@bin bin/nettle-hash
@bin bin/nettle-lfib-stream
@bin bin/nettle-pbkdf2
@ -18,6 +18,7 @@ include/nettle/camellia.h
include/nettle/cast128.h
include/nettle/cbc.h
include/nettle/ccm.h
include/nettle/cfb.h
include/nettle/chacha-poly1305.h
include/nettle/chacha.h
include/nettle/ctr.h
@ -33,6 +34,7 @@ include/nettle/ecdsa.h
include/nettle/eddsa.h
include/nettle/gcm.h
include/nettle/gosthash94.h
include/nettle/hkdf.h
include/nettle/hmac.h
include/nettle/knuth-lfib.h
include/nettle/macros.h
@ -49,6 +51,8 @@ include/nettle/pbkdf2.h
include/nettle/pgp.h
include/nettle/pkcs1.h
include/nettle/poly1305.h
include/nettle/pss-mgf1.h
include/nettle/pss.h
include/nettle/realloc.h
include/nettle/ripemd160.h
include/nettle/rsa.h