2 # Copyright (C) 2014-2023 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE_URL
=$(PROJECT_GIT
)/project
/mdnsd.git
15 PKG_SOURCE_DATE
:=2025-10-04
16 PKG_SOURCE_VERSION
:=2f75344fd0cc848558bf2ea3a94c0bf8b903ff89
17 PKG_MIRROR_HASH
:=ca03392a39e3e38b276514d4627bab25093cf873abf361352c82dfec0c4bdc93
19 PKG_MAINTAINER
:=John Crispin
<john@phrozen.org
>
22 include $(INCLUDE_DIR
)/package-seccomp.mk
23 include $(INCLUDE_DIR
)/package.mk
24 include $(INCLUDE_DIR
)/cmake.mk
29 TITLE
:=OpenWrt Multicast DNS Daemon
30 DEPENDS
:=+libubox
+libubus
+libblobmsg-json
+libudebug
33 TARGET_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include
35 define Package
/umdns
/conffiles
39 define Package
/umdns
/install
44 $(1)/usr
/share
/ucode
/cli
/modules
45 $(INSTALL_DATA
) .
/files
/mdns.uc
$(1)/usr
/share
/ucode
/cli
/modules
46 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/umdns
$(1)/usr
/sbin
/
47 $(INSTALL_BIN
) .
/files
/umdns.init
$(1)/etc
/init.d
/umdns
48 $(INSTALL_CONF
) .
/files
/umdns.config
$(1)/etc
/config
/umdns
49 $(call InstallSeccomp
,$(1),.
/files
/umdns.json
)
52 $(eval
$(call BuildPackage
,umdns
))