mdnsresponder: bump to 544 (thanks Markus Stenberg)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39603 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9edb6d07b8
commit
060ed2e622
@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mDNSResponder
|
||||
PKG_VERSION:=379.37
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=544
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=mDNSResponder-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://opensource.apple.com/tarballs/mDNSResponder/
|
||||
PKG_MD5SUM:=dd557e1058b51ac2f29cd01d67be0145
|
||||
PKG_MD5SUM:=39142ab70bd82a096801ce346f86cbab
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/mDNSResponder-$(PKG_VERSION)
|
||||
|
||||
@ -145,6 +145,8 @@ endef
|
||||
define Package/mdnsd/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mdnsd $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
|
||||
$(INSTALL_DATA) ./files/mdnsd.hotplug $(1)/etc/hotplug.d/iface
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/mdnsd.init $(1)/etc/init.d/mdnsd
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
|
5
net/mdnsresponder/files/mdnsd.hotplug
Normal file
5
net/mdnsresponder/files/mdnsd.hotplug
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
/etc/init.d/mdnsd enabled || exit 0
|
||||
[ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" ] && exit 0
|
||||
logger -t mdnsd "Restarting mdnsd due to $ACTION of $INTERFACE ($DEVICE)"
|
||||
/etc/init.d/mdnsd restart
|
@ -1,14 +1,14 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2009-2011 OpenWrt.org
|
||||
# Copyright (C) 2009-2014 OpenWrt.org
|
||||
|
||||
START=60
|
||||
STOP=10
|
||||
USE_PROCD=1
|
||||
|
||||
SERVICE_USE_PID=1
|
||||
|
||||
start() {
|
||||
service_start /usr/sbin/mdnsd
|
||||
start_service() {
|
||||
procd_open_instance
|
||||
procd_set_param command /usr/sbin/mdnsd -debug
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /usr/sbin/mdnsd
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user