Browse Source

strongswan: update to version 5.9.3

Signed-off-by: Noel Kuntze <noel.kuntze@thermi.consulting>
lilik-openwrt-22.03
Noel Kuntze 3 years ago
parent
commit
6c3d30c0cb
No known key found for this signature in database GPG Key ID: F54EE40B0739AD6C
7 changed files with 114 additions and 51 deletions
  1. +3
    -3
      net/strongswan/Makefile
  2. +48
    -32
      net/strongswan/patches/0900-src-Patch-for-building-with-musl-on-openwrt-taken-ve.patch
  3. +9
    -0
      net/strongswan/patches/0901-uci-verbatim-patch-from-openwrt-package-sources.patch
  4. +21
    -0
      net/strongswan/patches/0902-ipsec-Patch-ipsec-script-to-work-with-musl-sleep-.-P.patch
  5. +10
    -0
      net/strongswan/patches/0903-updown-Call-sbin-hotplug-call-ipsec-1-in-updown-scri.patch
  6. +23
    -5
      net/strongswan/patches/0904-gmpdh-Plugin-that-implements-gmp-DH-functions-in-an-.patch
  7. +0
    -11
      net/strongswan/patches/210-sleep.patch

+ 3
- 3
net/strongswan/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=strongswan
PKG_VERSION:=5.9.2
PKG_RELEASE:=12
PKG_VERSION:=5.9.3
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/
PKG_HASH:=61c72f741edb2c1295a7b7ccce0317a104b3f9d39efd04c52cd05b01b55ab063
PKG_HASH:=9325ab56a0a4e97e379401e1d942ce3e0d8b6372291350ab2caae0755862c6f7
PKG_LICENSE:=GPL-2.0-or-later
PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>, Noel Kuntze <noel.kuntze@thermi.consulting>
PKG_CPE_ID:=cpe:/a:strongswan:strongswan


net/strongswan/patches/101-musl-fixes.patch → net/strongswan/patches/0900-src-Patch-for-building-with-musl-on-openwrt-taken-ve.patch View File


net/strongswan/patches/203-uci.patch → net/strongswan/patches/0901-uci-verbatim-patch-from-openwrt-package-sources.patch View File


+ 21
- 0
net/strongswan/patches/0902-ipsec-Patch-ipsec-script-to-work-with-musl-sleep-.-P.patch View File

@ -0,0 +1,21 @@
From d71ec4f26a1334e78a38fa44a1271c52a029e3b4 Mon Sep 17 00:00:00 2001
From: Noel Kuntze <noel.kuntze@thermi.consulting>
Date: Mon, 12 Jul 2021 01:31:36 +0200
Subject: [PATCH 902/904] ipsec: Patch `ipsec` script to work with musl
`sleep`. Patch taken verbatim from openwrt package sources.
---
src/ipsec/_ipsec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src/ipsec/_ipsec.in
+++ b/src/ipsec/_ipsec.in
@@ -257,7 +257,7 @@ stop)
loop=110
while [ $loop -gt 0 ] ; do
kill -0 $spid 2>/dev/null || break
- sleep 0.1 2>/dev/null
+ sleep 1 2>/dev/null
if [ $? -ne 0 ]
then
sleep 1

net/strongswan/patches/300-include-ipsec-hotplug.patch → net/strongswan/patches/0903-updown-Call-sbin-hotplug-call-ipsec-1-in-updown-scri.patch View File


net/strongswan/patches/305-minimal_dh_plugin.patch → net/strongswan/patches/0904-gmpdh-Plugin-that-implements-gmp-DH-functions-in-an-.patch View File


+ 0
- 11
net/strongswan/patches/210-sleep.patch View File

@ -1,11 +0,0 @@
--- a/src/ipsec/_ipsec.in
+++ b/src/ipsec/_ipsec.in
@@ -257,7 +257,7 @@ stop)
loop=110
while [ $loop -gt 0 ] ; do
kill -0 $spid 2>/dev/null || break
- sleep 0.1 2>/dev/null
+ sleep 1 2>/dev/null
if [ $? -ne 0 ]
then
sleep 1

Loading…
Cancel
Save