diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2014-09-19 14:44:42 -0700 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-24 14:53:32 +0000 |
commit | 2e844011a12c1fdbc75789288c842c2dba8ed20b (patch) | |
tree | b76c7432f33545ffff5ebfb57571d33d509828ec /testing/ifupdown/ifupdown-busybox-compat.patch | |
parent | c53bd124b269d71b290459ba629f9eb6454a5521 (diff) | |
download | aports-2e844011a12c1fdbc75789288c842c2dba8ed20b.tar.bz2 aports-2e844011a12c1fdbc75789288c842c2dba8ed20b.tar.xz |
testing/ifupdown: update to 0.7.48.1
* fix url
* update patches
* move from unmaintained to testing
Diffstat (limited to 'testing/ifupdown/ifupdown-busybox-compat.patch')
-rw-r--r-- | testing/ifupdown/ifupdown-busybox-compat.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/ifupdown/ifupdown-busybox-compat.patch b/testing/ifupdown/ifupdown-busybox-compat.patch new file mode 100644 index 000000000..36c3d7ceb --- /dev/null +++ b/testing/ifupdown/ifupdown-busybox-compat.patch @@ -0,0 +1,40 @@ +diff --git a/main.c b/main.c +index eea2492..008ed8f 100644 +--- a/main.c ++++ b/main.c +@@ -89,7 +89,7 @@ static void help(char *execname, int (*cmds) (interface_defn *)) + printf("\t--no-loopback\t\tdon't act specially on the loopback device\n"); + if (!(cmds == iface_list) + && !(cmds == iface_query)) { +- printf("\t--force\t\t\tforce de/configuration\n"); ++ printf("\t-f,--force\t\t\tforce de/configuration\n"); + printf("\t--ignore-errors\t\t\tignore errors\n"); + } + if ((cmds == iface_list) +@@ -410,7 +410,7 @@ int main(int argc, char **argv) + {"no-mappings", no_argument, NULL, 1}, + {"no-scripts", no_argument, NULL, 4}, + {"no-loopback", no_argument, NULL, 5}, +- {"force", no_argument, NULL, 2}, ++ {"force", no_argument, NULL, 'f'}, + {"ignore-errors", no_argument, NULL, 7}, + {"option", required_argument, NULL, 'o'}, + {"list", no_argument, NULL, 'l'}, +@@ -473,7 +473,7 @@ int main(int argc, char **argv) + } + for (;;) { + int c; +- c = getopt_long(argc, argv, "X:s:i:o:hVvnal", long_opts, NULL); ++ c = getopt_long(argc, argv, "X:s:i:o:hVvnalf", long_opts, NULL); + if (c == EOF) + break; + +@@ -504,7 +504,7 @@ int main(int argc, char **argv) + case 5: + no_loopback = true; + break; +- case 2: ++ case 'f': + if ((cmds == iface_list) || (cmds == iface_query)) + usage(argv[0]); + force = 1; |