libreswan: add libunbound and minor fixes
authorAntony Antony <antony@phenome.org>
Tue, 30 Apr 2019 15:25:35 +0000 (15:25 +0000)
committerAntony Antony <antony@phenome.org>
Sun, 16 Jun 2019 21:39:57 +0000 (23:39 +0200)
commit32e4c4d7ca2dcda8920d1adc77e24c1320be9616
tree3f89d83cf3ea23938681e9d765b726787dc3d4bf
parent45d40b4a8820f18367de6443eab05878609ec424
libreswan: add libunbound and minor fixes

enable libunbound, along with dependency

add kmod-crypto-aead kmod-crypto-gcm dependency to support AES GCM

disable libseccomp
  /git/openwrt/build_dir/target-mips_24kc_musl/libreswan-3.27/include/lswseccomp.h:24:10: fatal error: seccomp.h: No such file or directory
  #include <seccomp.h>
          ^~~~~~~~~~~
add missing dependency nspr

add nss-utils dependency to able to import x509 Certificates  to fix the error
 ipsec import west.p12
 /usr/sbin/ipsec: line 239: pk12util: not found
 /usr/sbin/ipsec: line 84: certutil: not found

remove libnss dependency, nss-utils  util will pull it.
remove unused build option KERNELSRC not necesscay since b4b98e2922.

Signed-off-by: Antony Antony <antony@phenome.org>
net/libreswan/Makefile