summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2021-09-12 13:00:42 +0300
committerRosen Penev <rosenp@gmail.com>2021-09-12 10:59:07 -0700
commitb2efa063d2c244fcf4f1defb635ece6e6460a8b3 (patch)
tree19fb32be280256117406045047a5deb0fd3c13f6
parent05d9d7ae21d5f8b4c99a7ff827ccab6ef429be99 (diff)
libreswan: update to 4.5
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
-rw-r--r--net/libreswan/Makefile6
-rw-r--r--net/libreswan/patches/010-nanosleep.patch2
-rw-r--r--net/libreswan/patches/030-fix_musl_build.patch10
3 files changed, 4 insertions, 14 deletions
diff --git a/net/libreswan/Makefile b/net/libreswan/Makefile
index b55ff44f9..df48a1857 100644
--- a/net/libreswan/Makefile
+++ b/net/libreswan/Makefile
@@ -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\
diff --git a/net/libreswan/patches/010-nanosleep.patch b/net/libreswan/patches/010-nanosleep.patch
index c38b4dade..b65cb91a8 100644
--- a/net/libreswan/patches/010-nanosleep.patch
+++ b/net/libreswan/patches/010-nanosleep.patch
@@ -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
index 1f0baad9e..000000000
--- a/net/libreswan/patches/030-fix_musl_build.patch
+++ /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"
-