[Buildroot] [PATCH v3 1/1] easy-rsa: new package

Romain Naour romain.naour at gmail.com
Sun Jul 2 21:57:54 UTC 2017


>> +++ b/package/easy-rsa/easy-rsa.mk
>> @@ -0,0 +1,19 @@
>> +################################################################################
>> +#
>> +# 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)
> 
> Missing package license infos:
> EASY_RSA_LICENSE = GPL-2.0
> EASY_RSA_LICENSE_FILES = COPYING.md

Sorry, the license file bundled with 3.0.1 is COPYING:

EASY_RSA_LICENSE_FILES = COPYING

Best regards,
Romain
> 
> With that fixed:
> Reviewed-by: Romain Naour <romain.naour at gmail.com>
> 
> Best regards,
> Romain
> 
>> +
>> +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) -D -m 0644 $(@D)/x509-types/* $(TARGET_DIR)/etc/easy-rsa/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))
>>
> 



More information about the buildroot mailing list