summaryrefslogtreecommitdiff
path: root/security/openfortivpn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/openfortivpn/Makefile')
-rw-r--r--security/openfortivpn/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/security/openfortivpn/Makefile b/security/openfortivpn/Makefile
index 73ec222feb24..0e94e48435c8 100644
--- a/security/openfortivpn/Makefile
+++ b/security/openfortivpn/Makefile
@@ -1,18 +1,17 @@
PORTNAME= openfortivpn
-PORTVERSION= 1.21.0
-PORTREVISION= 1
DISTVERSIONPREFIX= v
+DISTVERSION= 1.23.1
CATEGORIES= security net-vpn
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= atanubiswas484@gmail.com
COMMENT= Client for PPP+SSL VPN tunnel services
WWW= https://github.com/adrienverge/openfortivpn
-BUILD_DEPENDS= gsed:textproc/gsed
-
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= gsed:textproc/gsed
+
USES= autoreconf cpe pkgconfig ssl
CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
@@ -20,7 +19,13 @@ GH_ACCOUNT= adrienverge
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed \
- OPENSSL_CFLAGS=${OPENSSLINC} \
- OPENSSL_LIBS="-lssl -lcrypto"
+ OPENSSL_CFLAGS=-I${OPENSSLINC} \
+ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
+ ac_cv_header_net_route_h=yes
+
+post-install:
+ ${MV} ${STAGEDIR}${ETCDIR}/config ${STAGEDIR}${ETCDIR}/config.sample
+ ${RM} ${STAGEDIR}${DATADIR}/config.template
+ ${RMDIR} ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>