aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2019-07-10 01:13:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2019-07-10 01:13:07 +0800
commit9dd49df9f42979bc0848511b3b09f09688443a98 (patch)
tree6e760d9120821bb8040d55098c41e0c6b78eb1cb /devel
parent3559c15f35ce11da6fa5d02c9641e89c9d11e006 (diff)
downloadfreebsd-ports-gnome-9dd49df9f42979bc0848511b3b09f09688443a98.tar.gz
freebsd-ports-gnome-9dd49df9f42979bc0848511b3b09f09688443a98.tar.zst
freebsd-ports-gnome-9dd49df9f42979bc0848511b3b09f09688443a98.zip
Update security/nettle to 3.5.1
- Bump PORTREVISION of dependent ports for shlib change - Fix build of devel/pijul [1] Changes: https://git.lysator.liu.se/nettle/nettle/blob/master/NEWS PR: 238991 Exp-run by: antoine Thanks to: tobik [1]
Diffstat (limited to 'devel')
-rw-r--r--devel/opendht/Makefile1
-rw-r--r--devel/pijul/Makefile2
-rw-r--r--devel/pijul/files/patch-cargo-crates_nettle-sys-1.0.1_bindgen-wrapper.h51
3 files changed, 53 insertions, 1 deletions
diff --git a/devel/opendht/Makefile b/devel/opendht/Makefile
index d17cd5f73d5a..f635c6126eae 100644
--- a/devel/opendht/Makefile
+++ b/devel/opendht/Makefile
@@ -3,6 +3,7 @@
PORTNAME= opendht
DISTVERSION= 1.9.5
+PORTREVISION= 1
CATEGORIES= devel net
MAINTAINER= yuri@FreeBSD.org
diff --git a/devel/pijul/Makefile b/devel/pijul/Makefile
index 7f8fa47ebf36..33a564068bae 100644
--- a/devel/pijul/Makefile
+++ b/devel/pijul/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pijul
PORTVERSION= 0.12.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= https://pijul.org/releases/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/devel/pijul/files/patch-cargo-crates_nettle-sys-1.0.1_bindgen-wrapper.h b/devel/pijul/files/patch-cargo-crates_nettle-sys-1.0.1_bindgen-wrapper.h
new file mode 100644
index 000000000000..bbde35c4fc51
--- /dev/null
+++ b/devel/pijul/files/patch-cargo-crates_nettle-sys-1.0.1_bindgen-wrapper.h
@@ -0,0 +1,51 @@
+From af76e728b3f309b6962847f06876e6c4c6a8c065 Mon Sep 17 00:00:00 2001
+From: Justus Winter <justus@sequoia-pgp.org>
+Date: Mon, 1 Jul 2019 12:05:09 +0200
+Subject: [PATCH] Do not bind the openssl-compat interface.
+
+ * In Nettle 3.5, the libdes/openssl compatibility interface is
+ removed, breaking the build of nettle-sys.
+
+ * Fix this by not binding any of the compatibility interfaces
+ present in Nettle.
+
+ * Fixes #4.
+
+From 7ec219212af8c1331a645b5a153bc2271bef19e6 Mon Sep 17 00:00:00 2001
+From: Justus Winter <justus@sequoia-pgp.org>
+Date: Mon, 8 Jul 2019 11:55:37 +0200
+Subject: [PATCH] Fix building against latest Nettle.
+
+ - `nettle/nettle-stdint.h` is no longer distributed with Nettle.
+ Dropping it from `bindgen-wrapper.h` does not change the generated
+ bindings, hence we do not need to bump the major version.
+
+ - Tested against Nettle revision
+ eead7cfa32c341b5193a697273de9fc7336e694a.
+
+ - Fixes #5.
+--- cargo-crates/nettle-sys-1.0.1/bindgen-wrapper.h.orig 2017-11-30 11:38:42 UTC
++++ cargo-crates/nettle-sys-1.0.1/bindgen-wrapper.h
+@@ -16,9 +16,7 @@
+ #include <nettle/chacha.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>
+ #include <nettle/eax.h>
+ #include <nettle/ecc-curve.h>
+@@ -33,12 +31,10 @@
+ #include <nettle/macros.h>
+ #include <nettle/md2.h>
+ #include <nettle/md4.h>
+-#include <nettle/md5-compat.h>
+ #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>