aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Denes <caskd@redxen.eu>2021-06-21 20:30:43 +0000
committerMike Crute <mike@crute.us>2021-06-22 04:25:31 +0000
commit68439f4ab11aff5d9e7fed4dba75eadd226f0f5d (patch)
tree9d4491819e2355776362fa00fc27f23ea4ac75f5
parent162f5a1cb10b4a9a06ad1c8526fb2ffcf16469dd (diff)
downloadaports-68439f4ab11aff5d9e7fed4dba75eadd226f0f5d.tar.gz
aports-68439f4ab11aff5d9e7fed4dba75eadd226f0f5d.tar.bz2
aports-68439f4ab11aff5d9e7fed4dba75eadd226f0f5d.tar.xz
communty/libreswan: upgrade to 4.4
One patch containing includes fix has been added and old includes fixes replaced.
-rw-r--r--community/libreswan/APKBUILD12
-rw-r--r--community/libreswan/fix-includes.patch22
2 files changed, 17 insertions, 17 deletions
diff --git a/community/libreswan/APKBUILD b/community/libreswan/APKBUILD
index 60b7a8ed4e..aff38cf972 100644
--- a/community/libreswan/APKBUILD
+++ b/community/libreswan/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Will Sinatra <wpsinatra@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libreswan
-pkgver=3.32
-pkgrel=1
+pkgver=4.4
+pkgrel=0
pkgdesc="IPsec implementation for Linux"
url="https://libreswan.org"
arch="all"
@@ -47,7 +47,9 @@ package() {
FINALLIBEXECDIR=/usr/libexec/ipsec \
install
}
-sha512sums="bb65512351059e2fac6f1c3ed1e291eabd6835faacf6d9c58649dd71dab1bb4fe6d6074178dea6dea01f24d39f3fbefd84c6060e4d8436b5d057fa55ae4467f3 libreswan-3.32.tar.gz
-3805667f086034b2a66c11b5c43a4aeae2e428c8df6bb07921a8ff585fa4f69396d74a71374b705a57bc8da51429db3bf70f849efd17857b1d87d86e3517ab89 fix-includes.patch
+sha512sums="
+108b2ac7a36454c48ce448a83ddd81e72d7fbb7cf8b042116d9bd31f195cdab4ccd6311d72af7ab4cc6d054df50d30a6bfc50b56fe7cbfd35d54a68804a6678b libreswan-4.4.tar.gz
+60e1560cb6716b2a281b73893582d7d0b5e17c729c22aebd448927c365efca3589a3e6bb926c03e8fba460d98d36203aa544cc3da2df4f8f804a7ba7bd31ea1c fix-includes.patch
4729de7d7c4157104574b2d6a86ae399ca92898269e4a6e0363a8ce464351b0e1011137895f5e17df23a60049bad564644cd94216e10fe426897f3fdea347328 nss_compat.patch
-36415fae9b6674d66b7728fbc1df4bb3c4fcb16f0bbe88ead1f23e553bb51a9deb288a8659a0050a3fb1e14c3dbb8fb8524e9ef48fb6842dc94b11b758349c58 Makefile.inc.local"
+36415fae9b6674d66b7728fbc1df4bb3c4fcb16f0bbe88ead1f23e553bb51a9deb288a8659a0050a3fb1e14c3dbb8fb8524e9ef48fb6842dc94b11b758349c58 Makefile.inc.local
+"
diff --git a/community/libreswan/fix-includes.patch b/community/libreswan/fix-includes.patch
index e47e0761c1..40254e1bd5 100644
--- a/community/libreswan/fix-includes.patch
+++ b/community/libreswan/fix-includes.patch
@@ -1,13 +1,11 @@
-#Description: include limits.h in pluto
-diff -ru libreswan-3.27.orig/programs/pluto/connections.c libreswan-3.27/programs/pluto/connections.c
---- libreswan-3.27.orig/programs/pluto/connections.c 2018-10-08 05:52:09.000000000 +0300
-+++ libreswan-3.27/programs/pluto/connections.c 2018-11-12 09:38:40.643062668 +0200
-@@ -41,6 +41,7 @@
- #include <arpa/inet.h>
- #include <resolv.h>
- #include <errno.h>
-+#include <limits.h>
+--- a/include/fd.h
++++ b/include/fd.h
+@@ -25,7 +25,7 @@
+ #define FD_H
+
+ #include <stdbool.h>
+-#include <stdlib.h> /* for ssize_t */
++#include <sys/types.h> /* for ssize_t */
+
+ #include "where.h"
- #include <libreswan.h>
- #include "libreswan/pfkeyv2.h"
-