From 7582902e141cd88b4854e8b5fd215c2af77a754f Mon Sep 17 00:00:00 2001 From: pavlov Date: Tue, 8 Jan 2008 17:07:25 +0000 Subject: [PATCH] update to dhcpd 3.1.0 and change bootup option to be quiet (not display the copyright on every start) git-svn-id: svn://svn.openwrt.org/openwrt/packages@10143 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/dhcp/Makefile | 9 ++++----- net/dhcp/files/dhcpd.init | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/net/dhcp/Makefile b/net/dhcp/Makefile index c9699932b..f63c7ae13 100644 --- a/net/dhcp/Makefile +++ b/net/dhcp/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dhcp -PKG_VERSION:=3.0.6 +PKG_VERSION:=3.1.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://ftp.isc.org/isc/dhcp/ -PKG_MD5SUM:=724bad21ad8b638abadd5fcc07df1a0f +PKG_MD5SUM:=27d179a3c3fbef576566b456a1168246 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install @@ -44,17 +44,16 @@ define Build/Configure (cd $(PKG_BUILD_DIR) ; \ UNAME_S=Linux \ UNAME_M=$(ARCH) \ - UNAME_R=2.4.34 \ + UNAME_R=2.6.23 \ ./configure \ --copts "$(TARGET_CFLAGS)" \ - linux-2.2 \ ); endef define Build/Compile UNAME_S=Linux \ UNAME_M=$(ARCH) \ - UNAME_R=2.4.34 \ + UNAME_R=2.6.23 \ $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ DESTDIR="$(PKG_INSTALL_DIR)" \ diff --git a/net/dhcp/files/dhcpd.init b/net/dhcp/files/dhcpd.init index 25f846645..15159bb8e 100644 --- a/net/dhcp/files/dhcpd.init +++ b/net/dhcp/files/dhcpd.init @@ -13,7 +13,7 @@ start() { touch $lease_file fi - /usr/sbin/dhcpd -cf $config_file -lf $lease_file + /usr/sbin/dhcpd -q -cf $config_file -lf $lease_file if [ $$ -eq 0 ]; then echo " isc-dhcpd failed to start" -- 2.11.0