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>
This commit is contained in:
David Bachelart 2017-01-02 16:45:22 +01:00 committed by Peter Korsgaard
parent c614db3550
commit 5d637db158
4 changed files with 31 additions and 0 deletions

View File

@ -1499,6 +1499,7 @@ menu "Networking applications"
source "package/httping/Config.in"
source "package/ibrdtn-tools/Config.in"
source "package/ibrdtnd/Config.in"
source "package/ifenslave/Config.in"
source "package/ifplugd/Config.in"
source "package/iftop/Config.in"
source "package/ifupdown/Config.in"

View File

@ -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

View File

@ -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

View File

@ -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))