From 9af3c5d869857e84f4c7e0f5e527c17951077d4c Mon Sep 17 00:00:00 2001 From: Joacim Zetterling Date: Wed, 6 Mar 2024 21:45:58 +0100 Subject: [PATCH] Removed package/mdnsd, use buildroot mdnsd package instead Signed-off-by: Joacim Zetterling --- package/Config.in | 1 - package/mdnsd/.gitignore | 1 - package/mdnsd/Config.in | 35 -------------------- package/mdnsd/ftp.service | 2 -- package/mdnsd/http.service | 2 -- package/mdnsd/ipp.service | 2 -- package/mdnsd/mdnsd.hash | 6 ---- package/mdnsd/mdnsd.mk | 61 ----------------------------------- package/mdnsd/mdnsd.svc | 2 -- package/mdnsd/printer.service | 2 -- package/mdnsd/ssh.service | 2 -- 11 files changed, 116 deletions(-) delete mode 100644 package/mdnsd/.gitignore delete mode 100644 package/mdnsd/Config.in delete mode 100644 package/mdnsd/ftp.service delete mode 100644 package/mdnsd/http.service delete mode 100644 package/mdnsd/ipp.service delete mode 100644 package/mdnsd/mdnsd.hash delete mode 100644 package/mdnsd/mdnsd.mk delete mode 100644 package/mdnsd/mdnsd.svc delete mode 100644 package/mdnsd/printer.service delete mode 100644 package/mdnsd/ssh.service diff --git a/package/Config.in b/package/Config.in index 03107f3..6d78e38 100644 --- a/package/Config.in +++ b/package/Config.in @@ -3,7 +3,6 @@ source "$BR2_EXTERNAL_NETBOX_PATH/package/factory/Config.in" source "$BR2_EXTERNAL_NETBOX_PATH/package/finit/Config.in" source "$BR2_EXTERNAL_NETBOX_PATH/package/libnsh/Config.in" source "$BR2_EXTERNAL_NETBOX_PATH/package/mcjoin/Config.in" -source "$BR2_EXTERNAL_NETBOX_PATH/package/mdnsd/Config.in" source "$BR2_EXTERNAL_NETBOX_PATH/package/nemesis/Config.in" source "$BR2_EXTERNAL_NETBOX_PATH/package/querierd/Config.in" source "$BR2_EXTERNAL_NETBOX_PATH/package/skeleton-init-finit/Config.in" diff --git a/package/mdnsd/.gitignore b/package/mdnsd/.gitignore deleted file mode 100644 index 6d12c77..0000000 --- a/package/mdnsd/.gitignore +++ /dev/null @@ -1 +0,0 @@ -mdnsd-*/ diff --git a/package/mdnsd/Config.in b/package/mdnsd/Config.in deleted file mode 100644 index 1304aa1..0000000 --- a/package/mdnsd/Config.in +++ /dev/null @@ -1,35 +0,0 @@ -config BR2_PACKAGE_MDNSD - bool "mdnsd - Embeddable mDNS-SD daemon" - help - Small mDNS-SD daemon for advertising services of an embedded - systems. No NSS integration with GLIBC. - - Includes the mquery tool, similar to mdns-scan. - - https://github.com/troglobit/mdnsd/ - -if BR2_PACKAGE_MDNSD - -comment "Services to advertise" - -config BR2_PACKAGE_MDNSD_FTP_SERVICE - bool "FTP service" - default n - -config BR2_PACKAGE_MDNSD_HTTP_SERVICE - bool "HTTP service" - default n - -config BR2_PACKAGE_MDNSD_IPP_SERVICE - bool "IPP service" - default n - -config BR2_PACKAGE_MDNSD_PRINTER_SERVICE - bool "Printer service" - default n - -config BR2_PACKAGE_MDNSD_SSH_SERVICE - bool "SSH service" - default y - -endif diff --git a/package/mdnsd/ftp.service b/package/mdnsd/ftp.service deleted file mode 100644 index 200a379..0000000 --- a/package/mdnsd/ftp.service +++ /dev/null @@ -1,2 +0,0 @@ -type _ftp._tcp -port 21 diff --git a/package/mdnsd/http.service b/package/mdnsd/http.service deleted file mode 100644 index 7a40d24..0000000 --- a/package/mdnsd/http.service +++ /dev/null @@ -1,2 +0,0 @@ -type _http._tcp -port 80 diff --git a/package/mdnsd/ipp.service b/package/mdnsd/ipp.service deleted file mode 100644 index 0d43e78..0000000 --- a/package/mdnsd/ipp.service +++ /dev/null @@ -1,2 +0,0 @@ -type _ipp._tcp -port 631 diff --git a/package/mdnsd/mdnsd.hash b/package/mdnsd/mdnsd.hash deleted file mode 100644 index fda6c27..0000000 --- a/package/mdnsd/mdnsd.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Upstream sha256 from GitHub -sha256 d13c955dff27d7940e2821ee2b935081f5928685e2388511343132c7a38ee8cd mdnsd-0.11.tar.gz - -# Locally computed -sha256 2969546227b58ce1b431cc4c36c9a9b45d604e6b94fb8b787ea5d3696f3eee3b LICENSE - diff --git a/package/mdnsd/mdnsd.mk b/package/mdnsd/mdnsd.mk deleted file mode 100644 index 2ef1f3c..0000000 --- a/package/mdnsd/mdnsd.mk +++ /dev/null @@ -1,61 +0,0 @@ -################################################################################ -# -# mdnsd -# -################################################################################ -MDNSD_VERSION = 0.11 -MDNSD_SITE = https://github.com/troglobit/mdnsd/releases/download/v$(MDNSD_VERSION) -MDNSD_LICENSE = BSD-3-Clause -MDNSD_LICENSE_FILES = LICENSE -MDNSD_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_MDNSD_FTP_SERVICE),y) -define MDNSD_INSTALL_FTP_SERVICE - $(INSTALL) -D -m 0644 $(BR2_EXTERNAL_NETBOX_PATH)/package/mdnsd/ftp.service \ - $(TARGET_DIR)/etc/mdns.d/ -endef -MDNSD_POST_INSTALL_TARGET_HOOKS += MDNSD_INSTALL_FTP_SERVICE -endif - -ifeq ($(BR2_PACKAGE_MDNSD_HTTP_SERVICE),y) -define MDNSD_INSTALL_HTTP_SERVICE - $(INSTALL) -D -m 0644 $(BR2_EXTERNAL_NETBOX_PATH)/package/mdnsd/http.service \ - $(TARGET_DIR)/etc/mdns.d/ -endef -MDNSD_POST_INSTALL_TARGET_HOOKS += MDNSD_INSTALL_HTTP_SERVICE -endif - -ifeq ($(BR2_PACKAGE_MDNSD_IPP_SERVICE),y) -define MDNSD_INSTALL_IPP_SERVICE - $(INSTALL) -D -m 0644 $(BR2_EXTERNAL_NETBOX_PATH)/package/mdnsd/ipp.service \ - $(TARGET_DIR)/etc/mdns.d/ -endef -MDNSD_POST_INSTALL_TARGET_HOOKS += MDNSD_INSTALL_IPP_SERVICE -endif - -ifeq ($(BR2_PACKAGE_MDNSD_PRINTER_SERVICE),y) -define MDNSD_INSTALL_PRINTER_SERVICE - $(INSTALL) -D -m 0644 $(BR2_EXTERNAL_NETBOX_PATH)/package/mdnsd/printer.service \ - $(TARGET_DIR)/etc/mdns.d/ -endef -MDNSD_POST_INSTALL_TARGET_HOOKS += MDNSD_INSTALL_PRINTER_SERVICE -endif - -ifeq ($(BR2_PACKAGE_MDNSD_SSH_SERVICE),y) -define MDNSD_INSTALL_SSH_SERVICE - $(INSTALL) -D -m 0644 $(BR2_EXTERNAL_NETBOX_PATH)/package/mdnsd/ssh.service \ - $(TARGET_DIR)/etc/mdns.d/ -endef -MDNSD_POST_INSTALL_TARGET_HOOKS += MDNSD_INSTALL_SSH_SERVICE -endif - -define MDNSD_INSTALL_FINIT_SVC - $(INSTALL) -D -m 0644 $(BR2_EXTERNAL_NETBOX_PATH)/package/mdnsd/mdnsd.svc \ - $(FINIT_D)/available/mdnsd.conf - $(INSTALL) -d -m 0755 $(FINIT_D)/enabled - ln -sf ../available/mdnsd.conf $(FINIT_D)/enabled/mdnsd.conf -endef - -MDNSD_POST_INSTALL_TARGET_HOOKS += MDNSD_INSTALL_FINIT_SVC - -$(eval $(autotools-package)) diff --git a/package/mdnsd/mdnsd.svc b/package/mdnsd/mdnsd.svc deleted file mode 100644 index 454d890..0000000 --- a/package/mdnsd/mdnsd.svc +++ /dev/null @@ -1,2 +0,0 @@ -# Launch mDNS-SD daemon -service [2345789] /usr/sbin/mdnsd -sn -- mDNS-SD daemon diff --git a/package/mdnsd/printer.service b/package/mdnsd/printer.service deleted file mode 100644 index cd32295..0000000 --- a/package/mdnsd/printer.service +++ /dev/null @@ -1,2 +0,0 @@ -type _printer._tcp -port 515 diff --git a/package/mdnsd/ssh.service b/package/mdnsd/ssh.service deleted file mode 100644 index 596d20b..0000000 --- a/package/mdnsd/ssh.service +++ /dev/null @@ -1,2 +0,0 @@ -type _ssh._tcp -port 22