summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2013-05-13 10:05:55 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-05-13 10:06:22 +0200
commit6715456fa1808b980ad747f4e4ae9e8968d143d2 (patch)
tree84c8a6a8e3fcf8ebf4cf66fb99e174a0204d53c4
parentbe90815191de2bd764d7585662e9600761186c8f (diff)
downloadaports-6715456fa1808b980ad747f4e4ae9e8968d143d2.tar.bz2
aports-6715456fa1808b980ad747f4e4ae9e8968d143d2.tar.xz
testing/libreswan: new aport
-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 000000000..fb5883ee1
--- /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"