2017-05-29 23:03:39 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# easy-rsa
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-10-07 12:49:02 +02:00
|
|
|
EASY_RSA_VERSION = 3.0.8
|
2020-07-25 19:54:58 +02:00
|
|
|
EASY_RSA_SOURCE = EasyRSA-$(EASY_RSA_VERSION).tgz
|
2019-09-28 08:57:58 +02:00
|
|
|
EASY_RSA_SITE = https://github.com/OpenVPN/easy-rsa/releases/download/v$(EASY_RSA_VERSION)
|
2017-05-29 23:03:39 +02:00
|
|
|
EASY_RSA_LICENSE = GPL-2.0
|
2019-09-28 08:57:58 +02:00
|
|
|
EASY_RSA_LICENSE_FILES = COPYING.md gpl-2.0.txt
|
2017-05-29 23:03:39 +02:00
|
|
|
|
|
|
|
# shell script, so no build step
|
|
|
|
|
|
|
|
define EASY_RSA_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/easyrsa $(TARGET_DIR)/usr/bin/easyrsa
|
|
|
|
$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/easy-rsa/x509-types
|
|
|
|
$(INSTALL) -m 0644 -t $(TARGET_DIR)/etc/easy-rsa/x509-types $(@D)/x509-types/*
|
2019-09-28 08:57:58 +02:00
|
|
|
$(INSTALL) -D -m 0644 $(@D)/openssl-easyrsa.cnf $(TARGET_DIR)/etc/easy-rsa/openssl-easyrsa.cnf
|
2017-05-29 23:03:39 +02:00
|
|
|
$(INSTALL) -D -m 0644 $(@D)/vars.example $(TARGET_DIR)/etc/easy-rsa/vars
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|