Updated traceroute to Version 2.0.12

This commit is contained in:
Stefan Schantl
2009-04-02 15:46:53 +02:00
parent 48a0687edd
commit 888fcf79ce
2 changed files with 7 additions and 9 deletions

View File

@@ -1,2 +1,2 @@
#usr/man/man8/traceroute.8
usr/sbin/traceroute
#usr/share/man/man8/traceroute.8

View File

@@ -24,7 +24,7 @@
include Config
VER = 1.4a12
VER = 2.0.12
THISAPP = traceroute-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = traceroute
PAK_VER = 1
PAK_VER = 2
DEPS = ""
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 964d599ef696efccdeebe7721cd4828d
$(DL_FILE)_MD5 = 2262a9d30ae85f12b759a38ef827f8f7
install : $(TARGET)
@@ -77,11 +77,9 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && sed -i 's|@prefix@|/usr|' Makefile.in
cd $(DIR_APP) && ./configure
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
cd $(DIR_APP) && make install-man
cd $(DIR_APP) && sed -i 's|hints.ai_flags = AI_IDN;|/* hints.ai_flags = AI_IDN; */|g' traceroute/traceroute.c
cd $(DIR_APP) && make
cd $(DIR_APP) && make install prefix=/usr bindir=/usr/sbin
chmod u-s /usr/sbin/traceroute
@rm -rf $(DIR_APP)
@$(POSTBUILD)