Update to libnettle-3.5.1.
This commit is contained in:
parent
b408f5df4e
commit
0d63d42531
@ -1,13 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2018/12/11 10:46:06 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.24 2019/06/29 22:26:25 ajacoutot Exp $
|
||||
|
||||
COMMENT= cryptographic library
|
||||
|
||||
DISTNAME= nettle-3.4.1
|
||||
DISTNAME= nettle-3.5.1
|
||||
PKGNAME= lib${DISTNAME}
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS += hogweed 2.0 # 6.5
|
||||
SHARED_LIBS += nettle 4.0 # 4.5
|
||||
SHARED_LIBS += hogweed 3.0 # 6.5
|
||||
SHARED_LIBS += nettle 5.0 # 4.5
|
||||
|
||||
CATEGORIES= security devel
|
||||
|
||||
@ -16,7 +15,7 @@ HOMEPAGE= http://www.lysator.liu.se/~nisse/nettle/
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# LGPLv2.1+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += c gmp
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (nettle-3.4.1.tar.gz) = +UHPFTXNXRgZvlzK5bq+8B9tthH5tad3uunHYEuKkq0=
|
||||
SIZE (nettle-3.4.1.tar.gz) = 1947053
|
||||
SHA256 (nettle-3.5.1.tar.gz) = dcyhmYdhsC4W8ttW2lKZKu9iK/VaO0XsU4vC7trclBk=
|
||||
SIZE (nettle-3.5.1.tar.gz) = 1989593
|
||||
|
@ -1,9 +1,9 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.9 2018/12/06 14:03:41 ajacoutot Exp $
|
||||
$OpenBSD: patch-Makefile_in,v 1.10 2019/06/29 22:26:25 ajacoutot Exp $
|
||||
|
||||
Index: Makefile.in
|
||||
--- Makefile.in.orig
|
||||
+++ Makefile.in
|
||||
@@ -462,11 +462,6 @@ install-dll-nettle:
|
||||
@@ -476,11 +476,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)
|
||||
@ -15,7 +15,7 @@ Index: Makefile.in
|
||||
|
||||
install-dll-hogweed:
|
||||
$(MKDIR_P) $(DESTDIR)$(bindir)
|
||||
@@ -475,11 +470,6 @@ install-dll-hogweed:
|
||||
@@ -489,11 +484,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)
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-configure,v 1.7 2017/11/20 09:09:45 ajacoutot Exp $
|
||||
$OpenBSD: patch-configure,v 1.8 2019/06/29 22:26:25 ajacoutot Exp $
|
||||
|
||||
Fix relocation errors on (at least) sparc64.
|
||||
|
||||
@ -7,7 +7,7 @@ We don't want extra debug flags in regular builds.
|
||||
Index: configure
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -7090,6 +7090,7 @@ else
|
||||
@@ -6720,6 +6720,7 @@ else
|
||||
bsdi4.*) CCPIC="-fPIC" ;;
|
||||
bsdi*) CCPIC="" ;;
|
||||
darwin*) CCPIC="-fPIC" ;;
|
||||
@ -15,7 +15,7 @@ Index: configure
|
||||
# Could also use -fpic, depending on the number of symbol references
|
||||
solaris*) CCPIC="-fPIC" ;;
|
||||
cygwin*) CCPIC="" ;;
|
||||
@@ -7776,7 +7777,7 @@ if test x$GCC = xyes ; then
|
||||
@@ -7407,7 +7408,7 @@ if test x$GCC = xyes ; then
|
||||
if $CC --version | grep '^2\.96$' 1>/dev/null 2>&1; then
|
||||
true
|
||||
else
|
||||
|
@ -1,19 +0,0 @@
|
||||
$OpenBSD: patch-rsa-sign-tr_c,v 1.1 2018/12/11 10:46:06 jca Exp $
|
||||
|
||||
Don't use C99 construct:
|
||||
rsa-sign-tr.c:243: error: 'for' loop initial declaration used outside C99 mode
|
||||
|
||||
Index: rsa-sign-tr.c
|
||||
--- rsa-sign-tr.c.orig
|
||||
+++ rsa-sign-tr.c
|
||||
@@ -239,8 +239,9 @@ static int
|
||||
sec_equal(const mp_limb_t *a, const mp_limb_t *b, size_t limbs)
|
||||
{
|
||||
volatile mp_limb_t z = 0;
|
||||
+ size_t i;
|
||||
|
||||
- for (size_t i = 0; i < limbs; i++)
|
||||
+ for (i = 0; i < limbs; i++)
|
||||
{
|
||||
z |= (a[i] ^ b[i]);
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.10 2017/11/20 09:09:45 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.11 2019/06/29 22:26:25 ajacoutot Exp $
|
||||
@bin bin/nettle-hash
|
||||
@bin bin/nettle-lfib-stream
|
||||
@bin bin/nettle-pbkdf2
|
||||
@ -21,9 +21,9 @@ include/nettle/ccm.h
|
||||
include/nettle/cfb.h
|
||||
include/nettle/chacha-poly1305.h
|
||||
include/nettle/chacha.h
|
||||
include/nettle/cmac.h
|
||||
include/nettle/ctr.h
|
||||
include/nettle/curve25519.h
|
||||
include/nettle/des-compat.h
|
||||
include/nettle/des.h
|
||||
include/nettle/dsa-compat.h
|
||||
include/nettle/dsa.h
|
||||
@ -45,7 +45,6 @@ include/nettle/md5.h
|
||||
include/nettle/memops.h
|
||||
include/nettle/memxor.h
|
||||
include/nettle/nettle-meta.h
|
||||
include/nettle/nettle-stdint.h
|
||||
include/nettle/nettle-types.h
|
||||
include/nettle/pbkdf2.h
|
||||
include/nettle/pgp.h
|
||||
@ -66,6 +65,7 @@ include/nettle/sha3.h
|
||||
include/nettle/twofish.h
|
||||
include/nettle/umac.h
|
||||
include/nettle/version.h
|
||||
include/nettle/xts.h
|
||||
include/nettle/yarrow.h
|
||||
@info info/nettle.info
|
||||
lib/libhogweed.a
|
||||
|
Loading…
Reference in New Issue
Block a user