604573a625
Fix CVE-2023-46316: In buc Traceroute 2.0.12 through 2.1.2 before 2.1.3, the wrapper scripts do not properly parse command lines. https://sourceforge.net/projects/traceroute/files/traceroute/traceroute-2.1.1 https://sourceforge.net/projects/traceroute/files/traceroute/traceroute-2.1.2 https://sourceforge.net/projects/traceroute/files/traceroute/traceroute-2.1.3 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
26 lines
808 B
Makefile
26 lines
808 B
Makefile
################################################################################
|
|
#
|
|
# traceroute
|
|
#
|
|
################################################################################
|
|
|
|
TRACEROUTE_VERSION = 2.1.3
|
|
TRACEROUTE_SITE = http://downloads.sourceforge.net/traceroute/traceroute/traceroute-$(TRACEROUTE_VERSION)
|
|
|
|
TRACEROUTE_LICENSE = GPL-2.0+, LGPL-2.1+
|
|
TRACEROUTE_LICENSE_FILES = COPYING COPYING.LIB
|
|
TRACEROUTE_CPE_ID_VENDOR = buc
|
|
|
|
define TRACEROUTE_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) VPATH=$(STAGING_DIR)/usr/lib $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
|
|
endef
|
|
|
|
define TRACEROUTE_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
DESTDIR=$(TARGET_DIR) prefix=/usr install \
|
|
INSTALL=$(INSTALL) -C $(@D)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|