# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: inetutils,v 1.3.2.3 2005/02/05 15:38:15 gespinasse Exp $
-# #
###############################################################################
###############################################################################
THISAPP = inetutils-$(VER)
DL_FILE = $(THISAPP).tar.gz
-DL_FROM = $(URL_GNU)/inetutils
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-ping-1.patch
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls --disable-syslogd \
- --libexecdir=/usr/sbin --disable-logger \
- --sysconfdir=/etc --localstatedir=/var \
- --disable-whois --disable-servers
- cd $(DIR_APP) && make
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-gcc4_fixes-3.patch
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-daemon_fixes-1.patch
+ cd $(DIR_APP) && ./configure --prefix=/usr --libexecdir=/usr/sbin \
+ --sysconfdir=/etc --localstatedir=/var \
+ --mandir=/usr/share/man --infodir=/usr/share/info \
+ --disable-logger --disable-syslogd
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
- mv -f /usr/bin/ping /bin
+ mv -v /usr/bin/ping /bin
@rm -rf $(DIR_APP)
@$(POSTBUILD)