mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-11 22:33:29 +08:00
2d0327c802
https://github.com/OpenVPN/easy-rsa/blob/v3.1.7/ChangeLog Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
902 B
Makefile
24 lines
902 B
Makefile
################################################################################
|
|
#
|
|
# easy-rsa
|
|
#
|
|
################################################################################
|
|
|
|
EASY_RSA_VERSION = 3.1.7
|
|
EASY_RSA_SOURCE = EasyRSA-$(EASY_RSA_VERSION).tgz
|
|
EASY_RSA_SITE = https://github.com/OpenVPN/easy-rsa/releases/download/v$(EASY_RSA_VERSION)
|
|
EASY_RSA_LICENSE = GPL-2.0
|
|
EASY_RSA_LICENSE_FILES = COPYING.md gpl-2.0.txt
|
|
|
|
# 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/*
|
|
$(INSTALL) -D -m 0644 $(@D)/openssl-easyrsa.cnf $(TARGET_DIR)/etc/easy-rsa/openssl-easyrsa.cnf
|
|
$(INSTALL) -D -m 0644 $(@D)/vars.example $(TARGET_DIR)/etc/easy-rsa/vars
|
|
endef
|
|
|
|
$(eval $(generic-package))
|