summaryrefslogtreecommitdiff
path: root/security/openfortivpn
diff options
context:
space:
mode:
Diffstat (limited to 'security/openfortivpn')
-rw-r--r--security/openfortivpn/Makefile19
-rw-r--r--security/openfortivpn/distinfo6
-rw-r--r--security/openfortivpn/pkg-plist3
3 files changed, 16 insertions, 12 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>
diff --git a/security/openfortivpn/distinfo b/security/openfortivpn/distinfo
index 002311d7015f..49ff9064b57f 100644
--- a/security/openfortivpn/distinfo
+++ b/security/openfortivpn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702130704
-SHA256 (adrienverge-openfortivpn-v1.21.0_GH0.tar.gz) = e03242e1bc39de9d916674a4641830a004309c2fd52f0f23aae2f431924ec4ae
-SIZE (adrienverge-openfortivpn-v1.21.0_GH0.tar.gz) = 170733
+TIMESTAMP = 1751220886
+SHA256 (adrienverge-openfortivpn-v1.23.1_GH0.tar.gz) = ecacfc7f18d87f4ff503198177e51a83316b59b4646f31caa8140fdbfaa40389
+SIZE (adrienverge-openfortivpn-v1.23.1_GH0.tar.gz) = 175670
diff --git a/security/openfortivpn/pkg-plist b/security/openfortivpn/pkg-plist
index ba065b9ef49e..6b191da868ba 100644
--- a/security/openfortivpn/pkg-plist
+++ b/security/openfortivpn/pkg-plist
@@ -1,4 +1,3 @@
bin/openfortivpn
+@sample %%ETCDIR%%/config.sample
share/man/man1/openfortivpn.1.gz
-@dir %%ETCDIR%%
-@sample %%DATADIR%%/config.template %%ETCDIR%%/config