strongswan: drop unneeded sleep patch
authorPhilip Prindeville <philipp@redfish-solutions.com>
Wed, 27 Mar 2024 23:57:52 +0000 (17:57 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Thu, 28 Mar 2024 02:17:40 +0000 (20:17 -0600)
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
net/strongswan/patches/0902-ipsec-Patch-ipsec-script-to-work-with-musl-sleep-.-P.patch [deleted file]

diff --git a/net/strongswan/patches/0902-ipsec-Patch-ipsec-script-to-work-with-musl-sleep-.-P.patch b/net/strongswan/patches/0902-ipsec-Patch-ipsec-script-to-work-with-musl-sleep-.-P.patch
deleted file mode 100644 (file)
index 830ff93..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-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