aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ifupdown
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-13 11:00:27 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-13 11:00:27 -0600
commit667583cce4da29fe4320de4805c1bd14c2c337ed (patch)
tree4ee8f211fc7d5abbf5bb221bff898ff9c39f3c77 /testing/ifupdown
parent8668162f8070cec882594892ec873a1364a903d8 (diff)
downloadaports-667583cce4da29fe4320de4805c1bd14c2c337ed.tar.bz2
aports-667583cce4da29fe4320de4805c1bd14c2c337ed.tar.xz
testing/ifupdown: new aport
Diffstat (limited to 'testing/ifupdown')
-rw-r--r--testing/ifupdown/APKBUILD38
-rw-r--r--testing/ifupdown/ifupdown.post-deinstall3
-rw-r--r--testing/ifupdown/ifupdown.post-upgrade3
3 files changed, 44 insertions, 0 deletions
diff --git a/testing/ifupdown/APKBUILD b/testing/ifupdown/APKBUILD
new file mode 100644
index 0000000000..31fb37ce07
--- /dev/null
+++ b/testing/ifupdown/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=ifupdown
+pkgver=0.6.10
+pkgrel=0
+pkgdesc="high level tools to configure network interfaces"
+url="http://packages.debian.org/ifupdown"
+arch="all"
+license="GPL"
+depends=
+depends_dev=
+makedepends=
+install="$pkgname.post-deinstall $pkgname.post-upgrade"
+subpackages=
+source="http://ftp.debian.org/pool/main/i/$pkgname/${pkgname}_$pkgver.tar.gz"
+
+_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"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make BASEDIR="$pkgdir" install || return 1
+}
+
+md5sums="70db0d8caf06a17d65b612fa8919732b ifupdown_0.6.10.tar.gz"
diff --git a/testing/ifupdown/ifupdown.post-deinstall b/testing/ifupdown/ifupdown.post-deinstall
new file mode 100644
index 0000000000..99b57c4635
--- /dev/null
+++ b/testing/ifupdown/ifupdown.post-deinstall
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+busybox --install -s
diff --git a/testing/ifupdown/ifupdown.post-upgrade b/testing/ifupdown/ifupdown.post-upgrade
new file mode 100644
index 0000000000..99b57c4635
--- /dev/null
+++ b/testing/ifupdown/ifupdown.post-upgrade
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+busybox --install -s