From c74922e73fdd8f739827698443815598cc583cc5 Mon Sep 17 00:00:00 2001 From: Matthew Seaman Date: Tue, 18 Nov 2014 15:47:34 +0000 Subject: * 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) --- databases/postgresql-repmgr/files/patch-config.c | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 databases/postgresql-repmgr/files/patch-config.c (limited to 'databases/postgresql-repmgr/files/patch-config.c') 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"); -- cgit v1.2.3