aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tunnel/APKBUILD
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-12-03 23:27:09 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-12-03 23:27:09 +0200
commit0c32955f2ac048082d6995969f0782a52c459013 (patch)
treefe761784e6cca2d312e0979078dbe933c6a0ffb1 /testing/tunnel/APKBUILD
parentb42b1e228ca680aa74fc0a6a64c79c1b0ac30e51 (diff)
downloadaports-0c32955f2ac048082d6995969f0782a52c459013.tar.gz
aports-0c32955f2ac048082d6995969f0782a52c459013.tar.bz2
aports-0c32955f2ac048082d6995969f0782a52c459013.tar.xz
testing/tunnel: new package
Diffstat (limited to 'testing/tunnel/APKBUILD')
-rw-r--r--testing/tunnel/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/tunnel/APKBUILD b/testing/tunnel/APKBUILD
new file mode 100644
index 0000000000..06f86b65e1
--- /dev/null
+++ b/testing/tunnel/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+pkgname=tunnel
+pkgver=0.1
+pkgrel=0
+pkgdesc="Script for configuring tunnel interfaces"
+url=http://git.alpinelinux.org/cgit/aports/tree/testing/tunnel
+arch=noarch
+license=GPL-2
+depends=
+source=tunnel
+
+build() {
+ :
+}
+
+package() {
+ install -D -m 755 "$srcdir/tunnel" "$pkgdir/etc/network/if-pre-up.d/tunnel"
+ install -d -m 755 "$pkgdir/etc/network/if-post-down.d"
+ ln -s ../if-pre-up.d/tunnel "$pkgdir/etc/network/if-post-down.d"
+}
+
+sha512sums="7d1170dfbc7381f94f45c7866a6e540f167b9e9cffcbdb8478250c2db79e670519d99474e3ad282d46c26cdb86ec9e4b5762c33d9e1e805851207ada6041c67f tunnel"