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/.
Maintainer CC'd
Created attachment 149525 [details] poudriere testport output
Poudriere logs : http://pdr.s.ubze.ro/bulk/latest-per-pkg/postgresql-repmgr/2.0_2/
Committed, thanks!
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