2013-11-19 13:10:32 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# haveged
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-02-28 14:43:05 +01:00
|
|
|
HAVEGED_VERSION = 1.9.1
|
2013-11-19 13:10:32 +01:00
|
|
|
HAVEGED_SITE = http://www.issihosts.com/haveged
|
|
|
|
HAVEGED_LICENSE = GPLv3+
|
|
|
|
HAVEGED_LICENSE_FILES = COPYING
|
|
|
|
|
2015-08-09 11:25:26 +02:00
|
|
|
ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y)
|
|
|
|
HAVEGED_CONF_OPTS += --enable-clock_gettime=yes
|
|
|
|
endif
|
|
|
|
|
2013-11-19 13:10:32 +01:00
|
|
|
define HAVEGED_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -m 755 -D package/haveged/S21haveged \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S21haveged
|
|
|
|
endef
|
|
|
|
|
2015-03-19 22:02:02 +01:00
|
|
|
define HAVEGED_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 644 package/haveged/haveged.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/haveged.service
|
|
|
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
|
|
ln -fs /usr/lib/systemd/system/haveged.service \
|
|
|
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/haveged.service
|
|
|
|
endef
|
|
|
|
|
2013-11-19 13:10:32 +01:00
|
|
|
$(eval $(autotools-package))
|