2016-02-18 13:50:00 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2016/02/18 13:50:00 sthen Exp $
|
2013-04-02 11:40:36 +00:00
|
|
|
|
|
|
|
COMMENT = small RSA key management package
|
|
|
|
|
2016-02-18 13:50:00 +00:00
|
|
|
V = 3.0.1
|
|
|
|
PKGNAME = easy-rsa-$V
|
|
|
|
DISTNAME = EasyRSA-$V
|
|
|
|
EXTRACT_SUFX = .tgz
|
2013-04-02 11:40:36 +00:00
|
|
|
CATEGORIES = security
|
|
|
|
|
|
|
|
HOMEPAGE = http://openvpn.net/
|
|
|
|
|
|
|
|
# GPLv2 only
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2016-02-18 13:50:00 +00:00
|
|
|
MASTER_SITES = https://github.com/OpenVPN/easy-rsa/releases/download/$V/
|
2013-04-02 11:40:36 +00:00
|
|
|
|
2015-09-19 12:44:38 +00:00
|
|
|
# relies on passing environment variables to $ENV:: in config files
|
2016-02-18 13:50:00 +00:00
|
|
|
RUN_DEPENDS = security/openssl
|
2015-09-19 12:44:38 +00:00
|
|
|
|
2016-02-18 13:50:00 +00:00
|
|
|
NO_BUILD = Yes
|
|
|
|
NO_TEST = Yes
|
2013-04-02 11:40:36 +00:00
|
|
|
|
2016-02-18 13:50:00 +00:00
|
|
|
I = ${PREFIX}/share/easy-rsa
|
2013-04-02 11:40:36 +00:00
|
|
|
|
2016-02-18 13:50:00 +00:00
|
|
|
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/*
|
2013-04-02 11:40:36 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|