[Bug 287912] security/openfortivpn: Update to 1.23.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 06 Jul 2025 01:07:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287912

Vladimir Druzenko <vvd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ports-bugs@FreeBSD.org      |vvd@FreeBSD.org
             Status|New                         |Open

--- Comment #6 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to Atanu Biswas from comment #5)
This patch work!

1. But your changes in pkg-plist are not good: port rewrites user's
"%%ETCDIR%%/config" during every update.
My suggestion is add to Makefile:
post-install:
        ${MV} ${STAGEDIR}${ETCDIR}/config ${STAGEDIR}${ETCDIR}/config.sample

And fix pkg-plist:
bin/openfortivpn
@sample %%ETCDIR%%/config.sample
share/man/man1/openfortivpn.1.gz
%%DATADIR%%/config.template

We can remove "%%DATADIR%%/config.template".

2. Feature request (not for this PR): create rc.d script.

-- 
You are receiving this mail because:
You are the assignee for the bug.