libreswan: update to 4.5
authorLucian Cristian <lucian.cristian@gmail.com>
Sun, 12 Sep 2021 10:00:42 +0000 (13:00 +0300)
committerRosen Penev <rosenp@gmail.com>
Sun, 12 Sep 2021 17:59:07 +0000 (10:59 -0700)
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
net/libreswan/Makefile
net/libreswan/patches/010-nanosleep.patch
net/libreswan/patches/030-fix_musl_build.patch [deleted file]

index b55ff44f933f0aef4087af636984576ace7118fd..df48a185744dbfa104063e47b5d18454133368e8 100644 (file)
@@ -7,12 +7,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libreswan
-PKG_VERSION:=4.4
+PKG_VERSION:=4.5
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://download.libreswan.org/
-PKG_HASH:=5f3f0a20d7097f20108bc93ba1255a778d8ffb8692d05f86383978c03c394976
+PKG_HASH:=0703f51bdc6674d4ba66adb50854df9e0731bfa78a8983ebc2aa3adc55dd90a3
 
 PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
 PKG_LICENSE:=GPL-2.0-or-later
@@ -76,7 +76,7 @@ MAKE_FLAGS+= \
     USE_NSS_KDF=true \
     USE_LIBCURL=false \
     USE_GLIBC_KERN_FLIP_HEADERS=true \
-    USE_XAUTHPAM=false \
+    USE_AUTHPAM=false \
     USE_LIBCAP_NG=true \
     USE_SYSTEMD_WATCHDOG=false \
     USE_SECCOMP=false\
index c38b4dade87223f22ab6de6f27c81951fd32a49c..b65cb91a800bae5850ed97c35ed0b037ba3f1efa 100644 (file)
@@ -9,7 +9,7 @@
  #include <errno.h>
  
  #include "defs.h"
-@@ -192,7 +192,8 @@ static bool send_chunks(const char *wher
+@@ -192,7 +192,8 @@ static bool send_shunks(const char *wher
         */
        if (impair.jacob_two_two) {
                /* sleep for half a second, and second another packet */
diff --git a/net/libreswan/patches/030-fix_musl_build.patch b/net/libreswan/patches/030-fix_musl_build.patch
deleted file mode 100644 (file)
index 1f0baad..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/include/fd.h
-+++ b/include/fd.h
-@@ -26,6 +26,7 @@
- #include <stdbool.h>
- #include <stdlib.h>           /* for ssize_t */
-+#include <sys/types.h>
- #include "where.h"