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
This commit is contained in:
pavlov
2008-01-08 17:07:25 +00:00
parent cd176a9a15
commit 7582902e14
2 changed files with 5 additions and 6 deletions

View File

@ -9,12 +9,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=dhcp PKG_NAME:=dhcp
PKG_VERSION:=3.0.6 PKG_VERSION:=3.1.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.isc.org/isc/dhcp/ 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_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@ -44,17 +44,16 @@ define Build/Configure
(cd $(PKG_BUILD_DIR) ; \ (cd $(PKG_BUILD_DIR) ; \
UNAME_S=Linux \ UNAME_S=Linux \
UNAME_M=$(ARCH) \ UNAME_M=$(ARCH) \
UNAME_R=2.4.34 \ UNAME_R=2.6.23 \
./configure \ ./configure \
--copts "$(TARGET_CFLAGS)" \ --copts "$(TARGET_CFLAGS)" \
linux-2.2 \
); );
endef endef
define Build/Compile define Build/Compile
UNAME_S=Linux \ UNAME_S=Linux \
UNAME_M=$(ARCH) \ UNAME_M=$(ARCH) \
UNAME_R=2.4.34 \ UNAME_R=2.6.23 \
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -13,7 +13,7 @@ start() {
touch $lease_file touch $lease_file
fi fi
/usr/sbin/dhcpd -cf $config_file -lf $lease_file /usr/sbin/dhcpd -q -cf $config_file -lf $lease_file
if [ $$ -eq 0 ]; then if [ $$ -eq 0 ]; then
echo " isc-dhcpd failed to start" echo " isc-dhcpd failed to start"