Move all to deprecated folder.
This commit is contained in:
7
deprecated/firmware/buildroot/package/mtr/Config.in
Normal file
7
deprecated/firmware/buildroot/package/mtr/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_MTR
|
||||
bool "mtr"
|
||||
help
|
||||
mtr combines the functionality of the 'traceroute' and 'ping'
|
||||
programs in a single network diagnostic tool.
|
||||
|
||||
http://www.bitwizard.nl/mtr/
|
||||
25
deprecated/firmware/buildroot/package/mtr/mtr.mk
Normal file
25
deprecated/firmware/buildroot/package/mtr/mtr.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# mtr
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MTR_VERSION = v0.86
|
||||
MTR_SITE = $(call github,traviscross,mtr,$(MTR_VERSION))
|
||||
MTR_AUTORECONF = YES
|
||||
MTR_CONF_OPTS = --without-gtk
|
||||
MTR_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_NCURSES),ncurses)
|
||||
MTR_LICENSE = GPLv2
|
||||
MTR_LICENSE_FILES = COPYING
|
||||
|
||||
# uClibc has res_ninit but not res_nmkquery
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||
define MTR_DISABLE_RES_NINIT
|
||||
$(SED) 's/#ifdef res_ninit/#if 0/' \
|
||||
$(@D)/dns.c
|
||||
endef
|
||||
endif
|
||||
|
||||
MTR_POST_PATCH_HOOKS += MTR_DISABLE_RES_NINIT
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user