54fd5f74f1
Changes: - New command line options to ssdp-scan - Update copyright years (affects LICENSE file hash) Fixes: - Workaround for OpenVPN /32 default server setup - Time-of-check vs time-of-use issue with caching of UUID, found by Coverity Scan, fixed by Raul Porancea Signed-off-by: Joachim Wiberg <troglobit@gmail.com> Acked-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# ssdp-responder
|
|
#
|
|
################################################################################
|
|
|
|
SSDP_RESPONDER_VERSION = 1.9
|
|
SSDP_RESPONDER_SITE = https://github.com/troglobit/ssdp-responder/releases/download/v$(SSDP_RESPONDER_VERSION)
|
|
SSDP_RESPONDER_LICENSE = ISC
|
|
SSDP_RESPONDER_LICENSE_FILES = LICENSE
|
|
SSDP_RESPONDER_CPE_ID_VENDOR = \
|
|
simple_service_discovery_protocol_responder_project
|
|
SSDP_RESPONDER_CPE_ID_PRODUCT = simple_service_discovery_protocol_responder
|
|
SSDP_RESPONDER_DEPENDENCIES = host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
SSDP_RESPONDER_DEPENDENCIES += systemd
|
|
SSDP_RESPONDER_CONF_OPTS += --with-systemd
|
|
else
|
|
SSDP_RESPONDER_CONF_OPTS += --without-systemd
|
|
endif
|
|
|
|
define SSDP_RESPONDER_INSTALL_INIT_SYSV
|
|
$(INSTALL) -D -m 0755 package/ssdp-responder/S50ssdpd \
|
|
$(TARGET_DIR)/etc/init.d/S50ssdpd
|
|
endef
|
|
|
|
define SSDP-RESPONDER_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 644 $(@D)/ssdp-responder.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/ssdp-responder.service
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|