Bug 195106 - databases/postgresql-repmgr -- add rc.d script, etc.
Summary: databases/postgresql-repmgr -- add rc.d script, etc.
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: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 15:23 UTC by Matthew Seaman
Modified: 2014-11-18 15:48 UTC (History)
1 user (show)

See Also:
bofh: maintainer-feedback+


Attachments
svn diff of databases/postgresql-repmgr (3.56 KB, patch)
2014-11-17 15:23 UTC, Matthew Seaman
no flags Details | Diff
poudriere testport output (31.46 KB, text/plain)
2014-11-17 17:29 UTC, Matthew Seaman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Seaman freebsd_committer freebsd_triage 2014-11-17 15:23:04 UTC
Created attachment 149516 [details]
svn diff of databases/postgresql-repmgr

Dear port maintainer,

I needed to install repmgr but it was missing some useful bits.  Would you consider the attached patch which does the following:

   * Drops the patches replacing strnlen() -- this function is available in
     libc for all currently supported versions of FreeBSD.

   * Installs the default config file into ${PREFIX}/etc/repmgr.conf.sample and 
     uses the standard @sample plist functionality.  This is where hier(7) 
     expects config files to be installed.

   * Adds an rc.d script to start up repmgrd automatically on system boot, which 
     relies on the config file being in ${PREFIX}/etc/.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-17 15:23:04 UTC
Maintainer CC'd
Comment 2 Matthew Seaman freebsd_committer freebsd_triage 2014-11-17 17:29:17 UTC
Created attachment 149525 [details]
poudriere testport output
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2014-11-18 12:10:22 UTC
Poudriere logs :
http://pdr.s.ubze.ro/bulk/latest-per-pkg/postgresql-repmgr/2.0_2/
Comment 4 Matthew Seaman freebsd_committer freebsd_triage 2014-11-18 15:48:18 UTC
Committed, thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-11-18 15:48:30 UTC
A commit references this bug:

Author: matthew
Date: Tue Nov 18 15:47:36 UTC 2014
New revision: 372725
URL: https://svnweb.freebsd.org/changeset/ports/372725

Log:
     * Drop the patches replacing strnlen() -- this function is
       available in libc for all currently supported versions of
       FreeBSD.

     * Install the default config file into
       ${PREFIX}/etc/repmgr.conf.sample and uses the standard @sample
       plist functionality.  This is where hier(7) expects config files
       to be installed.

     * Add an rc.d script to start up repmgrd automatically on system
       boot, which relies on the config file being in ${PREFIX}/etc/.

  PR:		195106
  Submitted by:	matthew
  Approved by:	5u623l20@gmail.com (maintainer)

Changes:
  head/databases/postgresql-repmgr/Makefile
  head/databases/postgresql-repmgr/files/patch-config.c
  head/databases/postgresql-repmgr/files/patch-repmgr.c
  head/databases/postgresql-repmgr/files/repmgrd.in
  head/databases/postgresql-repmgr/pkg-plist