aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Matheis <jomat+alpinebuild@jmt.gr>2014-09-01 09:30:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-01 09:46:39 +0000
commitff95d08f90d5e4fb60360a2a686bb9dc993e841f (patch)
treea4f026ebf67c1b5add2ac2518461aa383ca8dfc4
parentb75ccc1dcdb5d486369c46313b733abcdd364e11 (diff)
downloadaports-ff95d08f90d5e4fb60360a2a686bb9dc993e841f.tar.bz2
aports-ff95d08f90d5e4fb60360a2a686bb9dc993e841f.tar.xz
testing/quicktun: new aport
http://wiki.ucis.nl/QuickTun Simple and secure VPN software using NaCl encryption
-rw-r--r--testing/quicktun/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/quicktun/APKBUILD b/testing/quicktun/APKBUILD
new file mode 100644
index 0000000000..2bbdd6d4c4
--- /dev/null
+++ b/testing/quicktun/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+pkgname=quicktun
+pkgver=2.2.4
+pkgrel=0
+pkgdesc="Simple and secure VPN software using NaCl encryption"
+url="http://wiki.ucis.nl/QuickTun"
+arch="all"
+license="BSD"
+depends=""
+depends_dev="tar libsodium-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-keypair"
+source="http://oss.ucis.nl/${pkgname}/src/${pkgname}-${pkgver}.tgz"
+
+_builddir="$srcdir/${pkgname}-${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./build.sh
+}
+
+package() {
+ cd "$_builddir"
+ install -D out/quicktun.combined "${pkgdir}/usr/bin/quicktun.combined"
+ ln -s quicktun.combined "${pkgdir}/usr/bin/quicktun"
+}
+keypair() {
+ pkgdesc="Tool to create a quicktun public/private keypair"
+ cd "$_builddir"
+ install -D out/quicktun.keypair "${subpkgdir}/usr/bin/quicktun.keypair"
+}
+
+md5sums="5e27c9b1ccae0c6d6e4b30ca476f910d quicktun-2.2.4.tgz"
+sha256sums="652383d30f4a1ac2d42500e676f4c8590efaeea21a1e40a3ad1c332aa2ba3a0c quicktun-2.2.4.tgz"
+sha512sums="da60fc39d8e85d5b2c162633840b887be3fd58d9f2b3a99fe605fa13546e4f53878ce6246d835b7931e42193fb044330c539b29751cdb6f54d025efc52041487 quicktun-2.2.4.tgz"