Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From 8d189e73e660a637ae3f5a604448103ea42e397d Mon Sep 17 00:00:00 2001
|
||||
From: Martin Bark <martin@barkynet.com>
|
||||
Date: Fri, 12 Feb 2016 16:52:19 +0000
|
||||
Subject: [PATCH] ping: link against libm
|
||||
|
||||
This commit links ping against libm because ping.c calls the math library
|
||||
function finite().
|
||||
|
||||
Signed-off-by: Martin Bark <martin@barkynet.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 8b37c42..fb80f6f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -156,7 +156,7 @@ LIB_clockdiff = $(LIB_CAP)
|
||||
DEF_ping_common = $(DEF_CAP) $(DEF_IDN)
|
||||
DEF_ping6_common = $(DEF_CAP) $(DEF_IDN)
|
||||
DEF_ping = $(DEF_CAP) $(DEF_IDN) $(DEF_WITHOUT_IFADDRS)
|
||||
-LIB_ping = $(LIB_CAP) $(LIB_IDN) $(LIB_RESOLV)
|
||||
+LIB_ping = $(LIB_CAP) $(LIB_IDN) $(LIB_RESOLV) -lm
|
||||
|
||||
ping: ping_common.o ping6_common.o
|
||||
ping.o ping_common.o ping6_common.o: ping.h in6_flowlabel.h
|
||||
--
|
||||
2.7.0
|
||||
|
||||
9
deprecated/firmware/buildroot/package/iputils/Config.in
Normal file
9
deprecated/firmware/buildroot/package/iputils/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_IPUTILS
|
||||
bool "iputils"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
This package is set of small useful utilities for Linux networking.
|
||||
It includes complete versions of ping, traceroute, etc.
|
||||
|
||||
https://github.com/iputils/iputils
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 0e98cb527fa175d1e08afb969c124e452b30968f10ec2c3b078f1440c8977a94 iputils-c8ff6feaf0442f8efd96ccb415770c54f9e84d47.tar.gz
|
||||
53
deprecated/firmware/buildroot/package/iputils/iputils.mk
Normal file
53
deprecated/firmware/buildroot/package/iputils/iputils.mk
Normal file
@@ -0,0 +1,53 @@
|
||||
################################################################################
|
||||
#
|
||||
# iputils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# The original upstream was forked to the github repository in 2014 to
|
||||
# pull fixes from other distribution and centralize the changes after
|
||||
# the upstream seemed to have gone dormant. The fork contains the
|
||||
# latest changes including msul support, removing a libsysfs dependency
|
||||
# and IPv6 updates.
|
||||
# http://www.spinics.net/lists/netdev/msg279881.html
|
||||
|
||||
IPUTILS_VERSION = c8ff6feaf0442f8efd96ccb415770c54f9e84d47
|
||||
IPUTILS_SITE = $(call github,iputils,iputils,$(IPUTILS_VERSION))
|
||||
IPUTILS_LICENSE = GPLv2+, BSD-3c, BSD-4c
|
||||
# Only includes a license file for BSD
|
||||
IPUTILS_LICENSE_FILES = ninfod/COPYING
|
||||
IPUTILS_DEPENDENCIES = openssl
|
||||
|
||||
# Build after busybox so target ends up with this package's full
|
||||
# versions of the applications instead of busybox applets.
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
IPUTILS_DEPENDENCIES += busybox
|
||||
endif
|
||||
|
||||
IPUTILS_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) USE_SYSFS=no USE_IDN=no\
|
||||
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
IPUTILS_MAKE_OPTS += USE_CAP=yes
|
||||
IPUTILS_DEPENDENCIES += libcap
|
||||
else
|
||||
IPUTILS_MAKE_OPTS += USE_CAP=no
|
||||
endif
|
||||
|
||||
define IPUTILS_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(IPUTILS_MAKE_OPTS)
|
||||
endef
|
||||
|
||||
define IPUTILS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/arping $(TARGET_DIR)/sbin/arping
|
||||
$(INSTALL) -D -m 755 $(@D)/clockdiff $(TARGET_DIR)/bin/clockdiff
|
||||
$(INSTALL) -D -m 755 $(@D)/ping $(TARGET_DIR)/bin/ping
|
||||
$(INSTALL) -D -m 755 $(@D)/rarpd $(TARGET_DIR)/sbin/rarpd
|
||||
$(INSTALL) -D -m 755 $(@D)/rdisc $(TARGET_DIR)/sbin/rdisc
|
||||
$(INSTALL) -D -m 755 $(@D)/tftpd $(TARGET_DIR)/usr/sbin/in.tftpd
|
||||
$(INSTALL) -D -m 755 $(@D)/tracepath $(TARGET_DIR)/bin/tracepath
|
||||
$(INSTALL) -D -m 755 $(@D)/tracepath6 $(TARGET_DIR)/bin/tracepath6
|
||||
$(INSTALL) -D -m 755 $(@D)/traceroute6 $(TARGET_DIR)/bin/traceroute6
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user