2016-07-02 10:47:58 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# dante
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-10-15 22:28:02 +02:00
|
|
|
DANTE_VERSION = 1.4.3
|
2016-07-02 10:47:58 +02:00
|
|
|
DANTE_SITE = http://www.inet.no/dante/files
|
2017-03-30 15:43:38 +02:00
|
|
|
DANTE_LICENSE = BSD-3-Clause
|
2016-07-02 10:47:58 +02:00
|
|
|
DANTE_LICENSE_FILES = LICENSE
|
2021-07-26 10:13:24 +02:00
|
|
|
DANTE_SELINUX_MODULES = dante
|
2016-07-02 10:47:58 +02:00
|
|
|
|
2019-12-24 10:47:01 +01:00
|
|
|
# Needed so that our libtool patch applies properly
|
2018-11-25 12:26:12 +01:00
|
|
|
DANTE_AUTORECONF = YES
|
2016-07-02 10:47:58 +02:00
|
|
|
|
2019-12-09 23:27:44 +01:00
|
|
|
DANTE_CONF_OPTS += --disable-client --disable-preload
|
2016-07-02 10:47:58 +02:00
|
|
|
|
2019-12-09 23:27:45 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y)
|
|
|
|
DANTE_DEPENDENCIES += libminiupnpc
|
|
|
|
DANTE_CONF_OPTS += --with-upnp
|
|
|
|
else
|
|
|
|
DANTE_CONF_OPTS += --without-upnp
|
|
|
|
endif
|
|
|
|
|
2018-11-22 18:49:14 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
|
|
|
DANTE_DEPENDENCIES += linux-pam
|
|
|
|
DANTE_CONF_OPTS += --with-pam
|
|
|
|
else
|
|
|
|
DANTE_CONF_OPTS += --without-pam
|
|
|
|
endif
|
2016-07-02 10:47:58 +02:00
|
|
|
|
|
|
|
define DANTE_INSTALL_CONFIG_FILE
|
|
|
|
$(INSTALL) -D -m 644 $(@D)/example/sockd.conf \
|
|
|
|
$(TARGET_DIR)/etc/sockd.conf
|
|
|
|
endef
|
|
|
|
|
|
|
|
DANTE_POST_INSTALL_TARGET_HOOKS += DANTE_INSTALL_CONFIG_FILE
|
|
|
|
|
|
|
|
define DANTE_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 644 package/dante/dante.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/dante.service
|
|
|
|
endef
|
|
|
|
|
|
|
|
define DANTE_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -D -m 755 package/dante/S50dante \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S50dante
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|