Bug 261734 - net/openldap24-server: change pid and args file path in example ldif file (incl. patch)
Summary: net/openldap24-server: change pid and args file path in example ldif file (in...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Xin LI
URL:
Keywords:
: 259807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-05 12:25 UTC by Tom Warnke
Modified: 2022-02-07 00:39 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (delphij)


Attachments
git diff (652 bytes, patch)
2022-02-05 12:25 UTC, Tom Warnke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Warnke 2022-02-05 12:25:59 UTC
Created attachment 231565 [details]
git diff

The makefile patches the slapd.conf file with a changed path for the argsfile and pidfile, but the slapd.ldif file remains unchanged. The enclosed patch updates the paths in the slapd.ldif file as well.

Should work similarly for bug 259807.
Comment 1 Xin LI freebsd_committer freebsd_triage 2022-02-07 00:15:23 UTC
*** Bug 259807 has been marked as a duplicate of this bug. ***
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-02-07 00:39:08 UTC
A commit in branch main references this bug:

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

commit f677d84c0fd21d5f278c7a56b7e80ecb3b699a7e
Author:     Tom Warnke <tom@toromtomtom.com>
AuthorDate: 2022-02-07 00:35:16 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2022-02-07 00:38:11 +0000

    net/openldap2[456]-server: Fix paths for argsfile and pidfile.

    The Makefile patches the slapd.conf file with a changed path for
    the argsfile and pidfile, but the slapd.ldif file remains unchanged.
    Fix this by patching the paths in the slapd.ldif file as well.

    PR:             ports/261734

 net/openldap24-server/Makefile | 4 +++-
 net/openldap25-server/Makefile | 4 +++-
 net/openldap26-server/Makefile | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)