aboutsummaryrefslogtreecommitdiff
path: root/package/ifenslave
diff options
context:
space:
mode:
authorGravatar David Bachelart <david.bachelart@bbright.com>2017-01-02 16:45:22 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-01-08 18:23:13 +0100
commit5d637db1586d9d09bb3f3437d1df5d3539af6928 (patch)
tree4efb4e8c219e5aacd3d980e6ca688f8d9e7d1fc1 /package/ifenslave
parentc614db3550d549c0a75d5d425019cd397d913550 (diff)
downloadbuildroot-5d637db1586d9d09bb3f3437d1df5d3539af6928.tar.gz
buildroot-5d637db1586d9d09bb3f3437d1df5d3539af6928.tar.bz2
ifenslave: new package
[Peter: handle busybox applet interaction, add comment explaining no build needed] Signed-off-by: David Bachelart <david.bachelart@bbright.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ifenslave')
-rw-r--r--package/ifenslave/Config.in7
-rw-r--r--package/ifenslave/ifenslave.hash3
-rw-r--r--package/ifenslave/ifenslave.mk20
3 files changed, 30 insertions, 0 deletions
diff --git a/package/ifenslave/Config.in b/package/ifenslave/Config.in
new file mode 100644
index 0000000000..2203284db0
--- /dev/null
+++ b/package/ifenslave/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_IFENSLAVE
+ bool "ifenslave"
+ depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+ help
+ Configure network interfaces for parallel routing (bonding)
+
+ http://anonscm.debian.org/cgit/collab-maint/ifenslave.git
diff --git a/package/ifenslave/ifenslave.hash b/package/ifenslave/ifenslave.hash
new file mode 100644
index 0000000000..dcf31d0904
--- /dev/null
+++ b/package/ifenslave/ifenslave.hash
@@ -0,0 +1,3 @@
+# From http://snapshot.debian.org/archive/debian/20170102T091407Z/pool/main/i/ifenslave/ifenslave_2.9.dsc
+sha1 a17e88fa298ef337e872c8aa5d7a390921239d1a ifenslave_2.9.tar.xz
+sha256 e5666c0b61347bd06f2394c16eca6895fcb5e5cc83d0a1c596a975274de5a3c9 ifenslave_2.9.tar.xz
diff --git a/package/ifenslave/ifenslave.mk b/package/ifenslave/ifenslave.mk
new file mode 100644
index 0000000000..1b823123ab
--- /dev/null
+++ b/package/ifenslave/ifenslave.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# ifenslave
+#
+################################################################################
+
+IFENSLAVE_VERSION = 2.9
+IFENSLAVE_SOURCE = ifenslave_$(IFENSLAVE_VERSION).tar.xz
+IFENSLAVE_SITE = http://snapshot.debian.org/archive/debian/20170102T091407Z/pool/main/i/ifenslave
+IFENSLAVE_LICENSE = GPLv3+
+IFENSLAVE_LICENSE_FILES = debian/copyright
+IFENSLAVE_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
+
+# shell script, so nothing to build
+
+define IFENSLAVE_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/ifenslave $(TARGET_DIR)/sbin/ifenslave
+endef
+
+$(eval $(generic-package))