aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ifupdown
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ifupdown')
-rw-r--r--testing/ifupdown/APKBUILD42
-rw-r--r--testing/ifupdown/ifupdown-alpine-ifstate.patch13
-rw-r--r--testing/ifupdown/ifupdown-busybox-compat.patch38
-rw-r--r--testing/ifupdown/ifupdown.post-deinstall3
-rw-r--r--testing/ifupdown/ifupdown.post-upgrade3
5 files changed, 0 insertions, 99 deletions
diff --git a/testing/ifupdown/APKBUILD b/testing/ifupdown/APKBUILD
deleted file mode 100644
index 503d92720e..0000000000
--- a/testing/ifupdown/APKBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Contributor: William Pitcock <nenolod@dereferenced.org>
-# Maintainer: William Pitcock <nenolod@dereferenced.org>
-pkgname=ifupdown
-pkgver=0.6.10
-pkgrel=3
-pkgdesc="high level tools to configure network interfaces"
-url="http://packages.debian.org/ifupdown"
-arch="all"
-license="GPL"
-depends=
-depends_dev=
-makedepends="perl"
-install="$pkgname.post-deinstall $pkgname.post-upgrade"
-subpackages=
-source="http://ftp.debian.org/pool/main/i/$pkgname/${pkgname}_$pkgver.tar.gz
- ifupdown-busybox-compat.patch
- ifupdown-alpine-ifstate.patch"
-
-_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
-b0f42f7ce1a4f416eddaa304db2d270e ifupdown-busybox-compat.patch
-486600edad1d9bf5b1a05bde421345e9 ifupdown-alpine-ifstate.patch"
diff --git a/testing/ifupdown/ifupdown-alpine-ifstate.patch b/testing/ifupdown/ifupdown-alpine-ifstate.patch
deleted file mode 100644
index ae00950819..0000000000
--- a/testing/ifupdown/ifupdown-alpine-ifstate.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- ifupdown-0.6.10.orig/main.c
-+++ ifupdown-0.6.10/main.c
-@@ -17,8 +17,8 @@
- #line 3166 "ifupdown.nw"
- int no_act = 0;
- int verbose = 0;
--char *statefile = "/etc/network/run/ifstate";
--char *tmpstatefile = "/etc/network/run/.ifstate.tmp";
-+char *statefile = "/var/run/ifstate";
-+char *tmpstatefile = "/var/run/.ifstate.tmp";
- #line 3185 "ifupdown.nw"
- static void usage(char *execname);
- static void help(char *execname);
diff --git a/testing/ifupdown/ifupdown-busybox-compat.patch b/testing/ifupdown/ifupdown-busybox-compat.patch
deleted file mode 100644
index 10d4ceeaab..0000000000
--- a/testing/ifupdown/ifupdown-busybox-compat.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- ifupdown-0.6.10.orig/main.c
-+++ ifupdown-0.6.10/main.c
-@@ -61,7 +61,7 @@
- printf("\t\t\t\t(note that this option doesn't disable mappings)\n");
- printf("\t-v, --verbose\t\tprint out what would happen before doing it\n");
- printf("\t--no-mappings\t\tdon't run any mappings\n");
-- printf("\t--force\t\t\tforce de/configuration\n");
-+ printf("\t-f, --force\t\t\tforce de/configuration\n");
- exit(0);
- }
- #line 3573 "ifupdown.nw"
-@@ -345,7 +345,7 @@
- {"exclude", required_argument, NULL, 'e'},
- {"no-act", no_argument, NULL, 'n'},
- {"no-mappings", no_argument, NULL, 1 },
-- {"force", no_argument, NULL, 2 },
-+ {"force", no_argument, NULL, 'f'},
- {0,0,0,0}
- };
- #line 3173 "ifupdown.nw"
-@@ -415,7 +415,7 @@
- #line 3235 "ifupdown.nw"
- for(;;) {
- int c;
-- c = getopt_long(argc, argv, "e:s:i:hVvna", long_opts, NULL);
-+ c = getopt_long(argc, argv, "e:s:i:hVvnaf", long_opts, NULL);
- if (c == EOF) break;
-
- switch(c) {
-@@ -445,7 +445,7 @@
- run_mappings = 0;
- break;
- #line 3283 "ifupdown.nw"
--case 2:
-+case 'f':
- force = 1;
- break;
- #line 3288 "ifupdown.nw"
diff --git a/testing/ifupdown/ifupdown.post-deinstall b/testing/ifupdown/ifupdown.post-deinstall
deleted file mode 100644
index 99b57c4635..0000000000
--- a/testing/ifupdown/ifupdown.post-deinstall
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-busybox --install -s
diff --git a/testing/ifupdown/ifupdown.post-upgrade b/testing/ifupdown/ifupdown.post-upgrade
deleted file mode 100644
index 99b57c4635..0000000000
--- a/testing/ifupdown/ifupdown.post-upgrade
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-busybox --install -s