aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/libreswan/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/libreswan/APKBUILD b/testing/libreswan/APKBUILD
new file mode 100644
index 0000000000..fb5883ee19
--- /dev/null
+++ b/testing/libreswan/APKBUILD
@@ -0,0 +1,27 @@
+pkgname=libreswan
+pkgver=3.2
+pkgrel=0
+pkgdesc='IPsec implementation for Linux'
+url='https://libreswan.org/'
+arch='all'
+license='GPL'
+depends='coreutils'
+depends_dev='gmp-dev linux-pam-dev nss-dev pam-dev unbound-dev libcap-ng-dev curl-dev'
+makedepends='bison flex pkgconf coreutils'
+source="http://download.libreswan.org/libreswan-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make programs || return 1
+ #make module || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir/usr" install
+}
+
+md5sums="9917acaa9b389adf75588cbeba7279fd libreswan-3.2.tar.gz"
+sha256sums="a000684f69161b2459c041aab669cbb8f2337789243ff3a4b0bf9c4201c97176 libreswan-3.2.tar.gz"
+sha512sums="9b988302fda1fe82c16eb9c824975ea6ac0f27e863394f950dd681f46521981cce32336182fe7496d341bc993
+3a308412a8d96b05a9dba66b1a91181e21effee libreswan-3.2.tar.gz"