The previous version was supposed to have been patched to use openssl (instead of libressl) for ENV:: handling but this patch didn't work correctly, and even with that fixed, there was an issue with easy-rsa that caused generation to fail after the first certificate ("TXT_DB error number 2"), which https://community.openvpn.net/openvpn/ticket/229 marks as WONTFIX for easy-rsa 2.x. OK ajacoutot@ jasper@
34 lines
705 B
Makefile
34 lines
705 B
Makefile
# $OpenBSD: Makefile,v 1.5 2016/02/18 13:50:00 sthen Exp $
|
|
|
|
COMMENT = small RSA key management package
|
|
|
|
V = 3.0.1
|
|
PKGNAME = easy-rsa-$V
|
|
DISTNAME = EasyRSA-$V
|
|
EXTRACT_SUFX = .tgz
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = http://openvpn.net/
|
|
|
|
# GPLv2 only
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = https://github.com/OpenVPN/easy-rsa/releases/download/$V/
|
|
|
|
# relies on passing environment variables to $ENV:: in config files
|
|
RUN_DEPENDS = security/openssl
|
|
|
|
NO_BUILD = Yes
|
|
NO_TEST = Yes
|
|
|
|
I = ${PREFIX}/share/easy-rsa
|
|
|
|
do-install:
|
|
sed -i s,/usr/local,${LOCALBASE},g ${WRKSRC}/easyrsa
|
|
${INSTALL_DATA_DIR} $I
|
|
cd ${WRKSRC}; pax -rw * $I
|
|
rm $I/*.orig
|
|
chown -R ${SHAREOWN}:${SHAREGRP} $I/*
|
|
|
|
.include <bsd.port.mk>
|