aboutsummaryrefslogtreecommitdiffstats
path: root/community/libreswan
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2018-10-20 15:44:32 +0200
committerTimo Teräs <timo.teras@iki.fi>2018-11-12 07:30:01 +0000
commit39fbd1698bce3af6bab5cdf7420b36ca2a76b3f1 (patch)
treea83130392e40b6092a6e739eece3503ee8c2b93d /community/libreswan
parent31d7be985845ca15592e3a88182e7420df7c46ac (diff)
downloadaports-39fbd1698bce3af6bab5cdf7420b36ca2a76b3f1.tar.bz2
aports-39fbd1698bce3af6bab5cdf7420b36ca2a76b3f1.tar.xz
community/libreswan: upgrade to 3.27
Diffstat (limited to 'community/libreswan')
-rw-r--r--community/libreswan/APKBUILD13
-rw-r--r--community/libreswan/Makefile.inc.local2
2 files changed, 8 insertions, 7 deletions
diff --git a/community/libreswan/APKBUILD b/community/libreswan/APKBUILD
index 0b1be31d62..1265b4deea 100644
--- a/community/libreswan/APKBUILD
+++ b/community/libreswan/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libreswan
-pkgver=3.21
-pkgrel=3
+pkgver=3.27
+pkgrel=0
pkgdesc="IPsec implementation for Linux"
url="https://libreswan.org"
arch="all"
@@ -15,12 +15,12 @@ makedepends="bison flex coreutils bash xmlto
"
subpackages="$pkgname-doc"
source="https://download.libreswan.org/libreswan-$pkgver.tar.gz
- 0001-posix-use-HOST_NAME_MAX-consitently-from-limits.h.patch
- "
+ Makefile.inc.local"
builddir="$srcdir"/$pkgname-$pkgver
build() {
+ cp $srcdir/Makefile.inc.local $builddir
cd "$builddir"
make WERROR_CFLAGS="" \
INC_RCDEFAULT=/etc/init.d \
@@ -41,6 +41,5 @@ package() {
FINALLIBEXECDIR=/usr/libexec/ipsec \
install
}
-
-sha512sums="f1ef002b3e0869920edfebfc8efd73d9a9f84f64a77ad4832f46b12dfdd3c31cdf48c1473522b63f155058592c46af05995756af5440ca3e9c0fa5207436e0fc libreswan-3.21.tar.gz
-30f1db63eb4df5d56d81f241ff15dece5b2fe1c3dea93e692e709bab67f95e8afacd534aea0e368d26fda02da7e551c03871bf793e5cf756ee8f75c3e9ef9c44 0001-posix-use-HOST_NAME_MAX-consitently-from-limits.h.patch"
+sha512sums="b92ecfd08b9d19dc801032176eff3dd07f625223d4f0dd07ff10f639644573430a55f7aebfcc8b9d2424e194ca9d06b17ad5a13dad5dc6f659d19bc5d32520f5 libreswan-3.27.tar.gz
+8c80e5dc8b1b9ac2cd9c3441da2a4253d23328a065655d85f7958ec0678bd42fc74b418524a4787075872c0f545e8fb0394ff168cd25d1dc49010248155ddaef Makefile.inc.local"
diff --git a/community/libreswan/Makefile.inc.local b/community/libreswan/Makefile.inc.local
new file mode 100644
index 0000000000..5be1fb6421
--- /dev/null
+++ b/community/libreswan/Makefile.inc.local
@@ -0,0 +1,2 @@
+USE_GLIBC_KERN_FLIP_HEADERS=true
+USE_LABELED_IPSEC=false