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
:=2023-11-21
16 PKG_SOURCE_VERSION
:=b1e023eda3584da4a5dfbc33016839f977a02040
17 PKG_MIRROR_HASH
:=e0619afc3b8e1b8a627b35bbe0734746303db02e6d62fd8a3ff047d4fbaa0522
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
40 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/etc
/init.d
$(1)/etc
/config
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/umdns
$(1)/usr
/sbin
/
42 $(INSTALL_BIN
) .
/files
/umdns.init
$(1)/etc
/init.d
/umdns
43 $(INSTALL_CONF
) .
/files
/umdns.config
$(1)/etc
/config
/umdns
44 $(call InstallSeccomp
,$(1),.
/files
/umdns.json
)
47 $(eval
$(call BuildPackage
,umdns
))