Package: libreswan
Version: 3.21-1 

libunbound2 is fixed. They enabled libevent properly.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871675 

The new version 1.6.5-1 is already in Debian testing/Buster.
https://tracker.debian.org/news/865749

Here is a patch to enable USE_DNSSEC. The Second patch will update 
libunbound dependency to 1.6.5. I think it is a good idea.
However, feel free to discard 1.6.5 dependency.

regards,
-antony
>From 01afb26dbbcdecce0661c0e6271a6eb56ee79d6a Mon Sep 17 00:00:00 2001
From: Antony Antony <ant...@phenome.org>
Date: Sat, 26 Aug 2017 19:50:31 +0000
Subject: [PATCH 1/2] Revert "USE_DNSSEC=false b/c upstream needs libunbound to
 link to libevent"

This reverts commit b460bec76ea610be2bad21a678003a176d6d9be5.

Signed-off-by: Antony Antony <ant...@phenome.org>
---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5e4fc50..1d6624c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,7 +33,7 @@ override_dh_auto_build:
                $(ENABLE_LIBCAP_NG) \
                $(ENABLE_SELINUX) \
                USE_KLIPS=false \
-               USE_DNSSEC=false \
+               USE_DNSSEC=true \
                DEFAULT_DNSSEC_ROOTKEY_FILE=/usr/share/dns/root.key
 
 override_dh_auto_install-arch:
@@ -44,7 +44,6 @@ override_dh_auto_install-arch:
                INC_MANDIR=share/man \
                FINALNSSDIR=/var/lib/ipsec/nss \
                PUBDIR=$(CURDIR)/debian/libreswan/usr/sbin \
-               USE_DNSSEC=false \
                USE_KLIPS=false \
                DESTDIR=$(CURDIR)/debian/libreswan
 
-- 
2.9.5

>From fec1886ef60686e18223b33262645071ecad6ba4 Mon Sep 17 00:00:00 2001
From: Antony Antony <ant...@phenome.org>
Date: Sat, 26 Aug 2017 19:52:09 +0000
Subject: [PATCH 2/2] up libunbound2 build dependency to 1.6.5

To be safe to use USE_DNSSEC=true
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871675

Signed-off-by: Antony Antony <ant...@phenome.org>
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 10891f3..1eae168 100644
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,7 @@ Build-Depends:
  libpam0g-dev,
  libselinux1-dev [linux-any],
  libsystemd-dev,
- libunbound-dev (>= 1.6.0~),
+ libunbound-dev (>= 1.6.5~),
  man2html,
  pkg-config,
  po-debconf,
-- 
2.9.5

Reply via email to