# 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: ntp,v 1.6.2.3 2005/02/05 15:38:15 gespinasse Exp $
-# #
###############################################################################
###############################################################################
THISAPP = ntp-$(VER)
DL_FILE = $(THISAPP).tar.gz
-DL_FROM = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
cd $(DIR_APP) && make install
-mkdir /etc/ntp
chown -R ntp:ntp /etc/ntp
- echo "restrict default nomodify noquery" > /etc/ntp.conf
- echo "server 127.127.1.0" >> /etc/ntp.conf
+ echo "restrict default nomodify noquery" > /etc/ntp.conf
+ echo "server 127.127.1.0" >> /etc/ntp.conf
echo "fudge 127.127.1.0 stratum 10" >> /etc/ntp.conf
echo "driftfile /etc/ntp/drift" >> /etc/ntp.conf
@rm -rf $(DIR_APP)