Bug 273138 - security/strongswan: Explicitly set sysconfdir
Summary: security/strongswan: Explicitly set sysconfdir
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-14 18:07 UTC by Jose Luis Duran
Modified: 2023-08-30 08:00 UTC (History)
2 users (show)

See Also:
fernape: maintainer-feedback-


Attachments
Explicitly set sysconfdir (569 bytes, patch)
2023-08-14 18:07 UTC, Jose Luis Duran
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Luis Duran 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(-)