Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Drop the need for dpkg-architecture, we only build for linux.
|
||||
Thanks to Károly Kasza for catching this one.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura ifupdown.orig/defn2c.pl ifupdown/defn2c.pl
|
||||
--- ifupdown.orig/defn2c.pl 2014-11-18 16:39:28.878772655 -0300
|
||||
+++ ifupdown/defn2c.pl 2014-11-18 16:43:41.120456676 -0300
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
use strict;
|
||||
|
||||
-my $DEB_HOST_ARCH_OS = `dpkg-architecture -qDEB_HOST_ARCH_OS`;
|
||||
+my $DEB_HOST_ARCH_OS = "linux";
|
||||
|
||||
$DEB_HOST_ARCH_OS =~ s/\n//;
|
||||
|
||||
19
deprecated/firmware/buildroot/package/ifupdown/Config.in
Normal file
19
deprecated/firmware/buildroot/package/ifupdown/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_IFUPDOWN
|
||||
bool "ifupdown"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
|
||||
# Default/our uclibc lacks wordexp()
|
||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC
|
||||
# runtime for ip binary
|
||||
select BR2_PACKAGE_IPROUTE2 if !BR2_PACKAGE_BUSYBOX
|
||||
# runtime for run-parts
|
||||
select BR2_PACKAGE_DEBIANUTILS if !BR2_PACKAGE_BUSYBOX
|
||||
help
|
||||
High level tools to configure network interfaces.
|
||||
|
||||
https://tracker.debian.org/pkg/ifupdown
|
||||
|
||||
comment "ifupdown needs an (e)glibc or musl toolchain w/ headers >= 3.0"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_USES_UCLIBC || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
||||
@@ -0,0 +1,2 @@
|
||||
# From http://ftp.de.debian.org/debian/pool/main/i/ifupdown/ifupdown_0.8.2.dsc
|
||||
sha256 edb08f935fea9bc376c3faa0140c04c7a4d4ef5f22fd280ec4060386a75df10b ifupdown_0.8.2.tar.xz
|
||||
26
deprecated/firmware/buildroot/package/ifupdown/ifupdown.mk
Normal file
26
deprecated/firmware/buildroot/package/ifupdown/ifupdown.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# ifupdown
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IFUPDOWN_VERSION = 0.8.2
|
||||
IFUPDOWN_SOURCE = ifupdown_$(IFUPDOWN_VERSION).tar.xz
|
||||
IFUPDOWN_SITE = http://snapshot.debian.org/archive/debian/20151205T042642Z/pool/main/i/ifupdown
|
||||
IFUPDOWN_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
||||
IFUPDOWN_LICENSE = GPLv2+
|
||||
IFUPDOWN_LICENSE_FILES = COPYING
|
||||
|
||||
define IFUPDOWN_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -std=gnu99 -D'IFUPDOWN_VERSION=\"$(IFUPDOWN_VERSION)\"'" \
|
||||
-C $(@D)
|
||||
endef
|
||||
|
||||
# install doesn't overwrite
|
||||
define IFUPDOWN_INSTALL_TARGET_CMDS
|
||||
$(RM) $(TARGET_DIR)/sbin/{ifdown,ifquery}
|
||||
$(TARGET_MAKE_ENV) $(MAKE) BASEDIR=$(TARGET_DIR) -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user