mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
23
package/easy-rsa/easy-rsa.mk
Normal file
23
package/easy-rsa/easy-rsa.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# easy-rsa
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EASY_RSA_VERSION = 3.0.1
|
||||
EASY_RSA_SOURCE = EasyRSA-$(EASY_RSA_VERSION).tgz
|
||||
EASY_RSA_SITE = https://github.com/OpenVPN/easy-rsa/releases/download/$(EASY_RSA_VERSION)
|
||||
EASY_RSA_LICENSE = GPL-2.0
|
||||
EASY_RSA_LICENSE_FILES = COPYING 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-1.0.cnf $(TARGET_DIR)/etc/easy-rsa/openssl-1.0.cnf
|
||||
$(INSTALL) -D -m 0644 $(@D)/vars.example $(TARGET_DIR)/etc/easy-rsa/vars
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user