diff options
author | Matthew Seaman <matthew@FreeBSD.org> | 2014-11-18 15:47:34 +0000 |
---|---|---|
committer | Matthew Seaman <matthew@FreeBSD.org> | 2014-11-18 15:47:34 +0000 |
commit | c74922e73fdd8f739827698443815598cc583cc5 (patch) | |
tree | 076c3ad7b1f4d210a3f13e3140552577bd255429 /databases/postgresql-repmgr/files/patch-config.c | |
parent | Update 3.6.1 --> 3.6.2 (diff) |
* 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)
Notes
Notes:
svn path=/head/; revision=372725
Diffstat (limited to 'databases/postgresql-repmgr/files/patch-config.c')
-rw-r--r-- | databases/postgresql-repmgr/files/patch-config.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/databases/postgresql-repmgr/files/patch-config.c b/databases/postgresql-repmgr/files/patch-config.c deleted file mode 100644 index e13f48a80521..000000000000 --- a/databases/postgresql-repmgr/files/patch-config.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./config.c.orig 2012-12-04 19:40:15.395225527 +1100 -+++ ./config.c 2012-12-04 19:40:38.975104852 +1100 -@@ -77,7 +77,7 @@ - fclose (fp); - - /* Check config settings */ -- if (strnlen(options->cluster_name, MAXLEN)==0) -+ if (strlen(options->cluster_name)==0) - { - fprintf(stderr, "Cluster name is missing. " - "Check the configuration file.\n"); |