Bug 259474 - databases/pgbouncer: Fix config file
Summary: databases/pgbouncer: Fix config file
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-27 04:37 UTC by Muhammad Moinur Rahman
Modified: 2021-11-05 18:06 UTC (History)
3 users (show)

See Also:
m.tsatsenko: maintainer-feedback+


Attachments
Fix for config files (1.48 KB, patch)
2021-10-27 04:37 UTC, Muhammad Moinur Rahman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Moinur Rahman freebsd_committer freebsd_triage 2021-10-27 04:37:30 UTC
Created attachment 229058 [details]
Fix for config files

- No need to replace pgbouncer.log as the config mentions the absolute path /var/log/pgbouncer/pgbouncer.log now
- No need to replace pgbouncer.pid as the config mentions the absolute path /var/run/pgbouncer/pgbouncer.log now
- References to other files in /etc/ is changed with ${PREFIX}/etc specially pgbouncer.users which had a reference to /etc directory
- No longer requires gsed so removed the BUILD_DEPENDS
- There was a pkg-message.in file which was not called using SUB_FILES; added accordingly
Comment 1 m.tsatsenko 2021-11-05 15:57:49 UTC
Comment on attachment 229058 [details]
Fix for config files

Approved. Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-11-05 18:04:45 UTC
A commit in branch main references this bug:

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

commit 3b29bf80e1405bd318e0bc2f402de428e53d9ee3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2021-11-05 18:00:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2021-11-05 18:04:18 +0000

    databases/pgbouncer: Fix config file

    - No need to replace pgbouncer.log as the config mentions the absolute path
      /var/log/pgbouncer/pgbouncer.log now
    - No need to replace pgbouncer.pid as the config mentions the absolute path
      /var/run/pgbouncer/pgbouncer.log now
    - References to other files in /etc/ is changed with ${PREFIX}/etc specially
      pgbouncer.users which had a reference to /etc directory
    - No longer requires gsed so removed the BUILD_DEPENDS
    - There was a pkg-message.in file which was not called using SUB_FILES; added
      accordingly

    PR: 259474
    Approved by: m.tsatsenko@gmail.com (maintainer)
    Sponsored by: Bounce Experts

 databases/pgbouncer/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)