From b2efa063d2c244fcf4f1defb635ece6e6460a8b3 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Sun, 12 Sep 2021 13:00:42 +0300 Subject: [PATCH] libreswan: update to 4.5 Signed-off-by: Lucian Cristian --- net/libreswan/Makefile | 6 +++--- net/libreswan/patches/010-nanosleep.patch | 2 +- net/libreswan/patches/030-fix_musl_build.patch | 10 ---------- 3 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 net/libreswan/patches/030-fix_musl_build.patch diff --git a/net/libreswan/Makefile b/net/libreswan/Makefile index b55ff44f93..df48a18574 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 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 c38b4dade8..b65cb91a80 100644 --- a/net/libreswan/patches/010-nanosleep.patch +++ b/net/libreswan/patches/010-nanosleep.patch @@ -9,7 +9,7 @@ #include #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 1f0baad9e2..0000000000 --- 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 - #include /* for ssize_t */ -+#include - - #include "where.h" -