Bug 273138

Summary: security/strongswan: Explicitly set sysconfdir
Product: Ports & Packages Reporter: Jose Luis Duran <jlduran>
Component: Individual Port(s)Assignee: Fernando Apesteguía <fernape>
Status: Closed FIXED    
Severity: Affects Only Me CC: fernape, strongswan
Priority: --- Flags: fernape: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Explicitly set sysconfdir none

Description Jose Luis Duran freebsd_committer freebsd_triage 2023-08-14 18:07:57 UTC
Created attachment 244102 [details]
Explicitly set sysconfdir

Explicitly set sysconfdir, so documentation files display the proper path.
    
Note that configuration files still display ${sysconfdir}.

---

For example:

    % man ipsec.conf (FILES section)

Before:

    ${prefix}/etc/ipsec.conf
    ${prefix}/etc/ipsec.d/aacerts
    ${prefix}/etc/ipsec.d/acerts
    ${prefix}/etc/ipsec.d/cacerts
    ${prefix}/etc/ipsec.d/certs
    ${prefix}/etc/ipsec.d/crls

After:

    /usr/local/etc/ipsec.conf
    /usr/local/etc/ipsec.d/aacerts
    /usr/local/etc/ipsec.d/acerts
    /usr/local/etc/ipsec.d/cacerts
    /usr/local/etc/ipsec.d/certs
    /usr/local/etc/ipsec.d/crls
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-08-30 08:00:46 UTC
Committed,

Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-08-30 08:00:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f7f38560ce695333898e7e13bbafd3313f4f2abc

commit f7f38560ce695333898e7e13bbafd3313f4f2abc
Author:     Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2023-08-16 07:48:26 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-08-30 08:00:13 +0000

    security/strongswan: Explicitly set sysconfdir

    This allows for proper substitution in manual pages.

    PR:             273138
    Reported by:    jlduran@gmail.com
    Reviewed by:    strongswan@Nanoteq.com (maintainer timeout > 2 weeks)

 security/strongswan/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)