2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-01-28 22:38:49 +01:00
|
|
|
#
|
|
|
|
# radvd
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-10-15 05:07:16 +02:00
|
|
|
|
2020-11-13 23:07:38 +01:00
|
|
|
RADVD_VERSION = 2.19
|
2012-03-11 22:47:54 +01:00
|
|
|
RADVD_SITE = http://www.litech.org/radvd/dist
|
2020-03-20 11:07:20 +01:00
|
|
|
RADVD_DEPENDENCIES = host-bison host-flex host-pkgconf
|
2017-05-11 09:37:50 +02:00
|
|
|
# We need to ignore <linux/if_arp.h>, because radvd already includes
|
|
|
|
# <net/if_arp.h>, which conflicts with <linux/if_arp.h>.
|
|
|
|
RADVD_CONF_ENV = \
|
|
|
|
ac_cv_prog_cc_c99='-std=gnu99' \
|
|
|
|
ac_cv_header_linux_if_arp_h=no
|
2017-03-30 15:43:40 +02:00
|
|
|
RADVD_LICENSE = BSD-4-Clause-like
|
2015-01-19 14:22:50 +01:00
|
|
|
RADVD_LICENSE_FILES = COPYRIGHT
|
2009-01-28 22:38:49 +01:00
|
|
|
|
2020-11-19 13:03:47 +01:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y)
|
|
|
|
RADVD_CONF_OPTS += --with-stack-protector
|
|
|
|
else
|
|
|
|
RADVD_CONF_OPTS += --without-stack-protector
|
|
|
|
endif
|
|
|
|
|
2020-02-22 15:47:06 +01:00
|
|
|
# We don't provide /etc/radvd.conf, so disable the service by default.
|
|
|
|
define RADVD_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 0644 package/radvd/50-radvd.preset \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system-preset/50-radvd.preset
|
|
|
|
endef
|
|
|
|
|
2014-11-30 15:17:52 +01:00
|
|
|
define RADVD_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -D -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d/S50radvd
|
2010-09-02 00:14:41 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|