From owner-svn-ports-all@freebsd.org Sun Mar 5 10:40:46 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F177BCFA365; Sun, 5 Mar 2017 10:40:46 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E9331FB2; Sun, 5 Mar 2017 10:40:46 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v25AejWi011093; Sun, 5 Mar 2017 10:40:45 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v25AejV6011090; Sun, 5 Mar 2017 10:40:45 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201703051040.v25AejV6011090@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Sun, 5 Mar 2017 10:40:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435467 - in head/databases/postgresql-repmgr: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2017 10:40:47 -0000 Author: bofh Date: Sun Mar 5 10:40:45 2017 New Revision: 435467 URL: https://svnweb.freebsd.org/changeset/ports/435467 Log: databases/postgresql-repmgr: Update version 3.1.5=>3.3 - Daemon would better run as pgsql user, and for safety by default in monitor only mode [1] PR: 212490 [1] Submitted by: marck [1] Modified: head/databases/postgresql-repmgr/Makefile head/databases/postgresql-repmgr/distinfo head/databases/postgresql-repmgr/files/repmgrd.in Modified: head/databases/postgresql-repmgr/Makefile ============================================================================== --- head/databases/postgresql-repmgr/Makefile Sun Mar 5 10:32:29 2017 (r435466) +++ head/databases/postgresql-repmgr/Makefile Sun Mar 5 10:40:45 2017 (r435467) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= postgresql-repmgr -PORTVERSION= 3.1.5 +PORTVERSION= 3.3 CATEGORIES= databases MASTER_SITES= http://www.repmgr.org/download/ DISTNAME= repmgr-${PORTVERSION} Modified: head/databases/postgresql-repmgr/distinfo ============================================================================== --- head/databases/postgresql-repmgr/distinfo Sun Mar 5 10:32:29 2017 (r435466) +++ head/databases/postgresql-repmgr/distinfo Sun Mar 5 10:40:45 2017 (r435467) @@ -1,3 +1,3 @@ -TIMESTAMP = 1471377483 -SHA256 (repmgr-3.1.5.tar.gz) = d821fdd427d82a89e455553967f1bc205d73b2daf0899c74a5be1f22aab65b4f -SIZE (repmgr-3.1.5.tar.gz) = 129541 +TIMESTAMP = 1488675286 +SHA256 (repmgr-3.3.tar.gz) = d96bf300c84eff3cefcc8f6b97cddd607971b4c6841426cb1cfcbd7f9c45604b +SIZE (repmgr-3.3.tar.gz) = 159039 Modified: head/databases/postgresql-repmgr/files/repmgrd.in ============================================================================== --- head/databases/postgresql-repmgr/files/repmgrd.in Sun Mar 5 10:32:29 2017 (r435466) +++ head/databases/postgresql-repmgr/files/repmgrd.in Sun Mar 5 10:40:45 2017 (r435467) @@ -22,12 +22,13 @@ rcvar=repmgrd_enable load_rc_config $name : ${repmgrd_enable:="NO"} +: ${repmgrd_user:="pgsql"} : ${repmgrd_config="%%PREFIX%%/etc/repmgr.conf"} command=%%PREFIX%%/sbin/${name} pidfile=/var/run/${name}.pid -command_args="-p $pidfile -f $repmgrd_config" +command_args="-m -d -p $pidfile -f $repmgrd_config" run_rc_command "$1"