git: ef795db9e807 - 2025Q3 - security/openfortivpn: Update 1.21.0 => 1.23.1, take maintainership
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Jul 2025 16:03:14 UTC
The branch 2025Q3 has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ef795db9e807f8a4416e8eabe9bc7e32744bac8b
commit ef795db9e807f8a4416e8eabe9bc7e32744bac8b
Author: Atanu Biswas <atanubiswas484@gmail.com>
AuthorDate: 2025-07-06 15:53:36 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-07-06 16:02:13 +0000
security/openfortivpn: Update 1.21.0 => 1.23.1, take maintainership
Changelogs:
https://github.com/adrienverge/openfortivpn/blob/v1.23.1/CHANGELOG.md
Improve port:
- repalace PORTVERSION with DISTVERSION
- fix warnings from portclippy
- install config.sample: prevent rewrites user's config during every update
- remove useless config.template
PR: 287912
Co-authored-by: Ben Hutton <ben@benhutton.com.au>
MFH: 2025Q3
(cherry picked from commit aa5e20e99b606bae9b6c67d907b90f8d085699ad)
---
security/openfortivpn/Makefile | 17 +++++++++++------
security/openfortivpn/distinfo | 6 +++---
security/openfortivpn/pkg-plist | 3 +--
3 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/security/openfortivpn/Makefile b/security/openfortivpn/Makefile
index 73ec222feb24..e9f4da01f83b 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
@@ -21,6 +20,12 @@ GH_ACCOUNT= adrienverge
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed \
OPENSSL_CFLAGS=${OPENSSLINC} \
- OPENSSL_LIBS="-lssl -lcrypto"
+ 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