aboutsummaryrefslogtreecommitdiffstats
path: root/main/vde2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/vde2/APKBUILD')
-rw-r--r--main/vde2/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/vde2/APKBUILD b/main/vde2/APKBUILD
index b4bf5bd0d8..3fadb284bd 100644
--- a/main/vde2/APKBUILD
+++ b/main/vde2/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Michael Zhou <zhoumichaely@gmail.com>
pkgname=vde2
pkgver=2.3.1
-pkgrel=3
+pkgrel=4
pkgdesc="VDE: Virtual Distributed Ethernet. User mode networking for QEMU, UML, etc."
url="http://vde.sf.net"
arch="all"
@@ -12,6 +12,8 @@ subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
source="http://downloads.sourceforge.net/project/vde/vde2/2.3.1/vde2-2.3.1.tar.gz
vde.initd
vde.confd
+ vde2.pre-up
+ vde2.post-down
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -34,6 +36,10 @@ package() {
install -Dm755 "$srcdir"/vde.initd "$pkgdir"/etc/init.d/vde || return 1
install -Dm644 "$srcdir"/vde.confd "$pkgdir"/etc/conf.d/vde || return 1
+ install -Dm755 "$srcdir"/vde2.pre-up \
+ "$pkgdir"/etc/network/if-pre-up.d/vde2 || return 1
+ install -Dm755 "$srcdir"/vde2.post-down \
+ "$pkgdir"/etc/network/if-post-down.d/vde2 || return 1
}
libs() {
@@ -44,4 +50,6 @@ libs() {
md5sums="c8c2acb92a72f779e0b484b1543a1cc3 vde2-2.3.1.tar.gz
21c1b8e841978461aa5c87b3f8abf01d vde.initd
-318c787df292690c4da5b6ed83dc1893 vde.confd"
+318c787df292690c4da5b6ed83dc1893 vde.confd
+e484324d93baf668d7ec756f36ebf389 vde2.pre-up
+d9a32a3e77e64a265e00df5ab1081672 vde2.post-down"