From owner-svn-ports-head@freebsd.org Wed Sep 21 09:03:00 2016 Return-Path: Delivered-To: svn-ports-head@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 4F9DCBE224F; Wed, 21 Sep 2016 09:03:00 +0000 (UTC) (envelope-from girgen@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 20715219; Wed, 21 Sep 2016 09:03:00 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8L92xQ0066870; Wed, 21 Sep 2016 09:02:59 GMT (envelope-from girgen@FreeBSD.org) Received: (from girgen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8L92xp8066868; Wed, 21 Sep 2016 09:02:59 GMT (envelope-from girgen@FreeBSD.org) Message-Id: <201609210902.u8L92xp8066868@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: girgen set sender to girgen@FreeBSD.org using -f From: Palle Girgensohn Date: Wed, 21 Sep 2016 09:02:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422551 - in head/databases/postgresql96-server: . 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 09:03:00 -0000 Author: girgen Date: Wed Sep 21 09:02:59 2016 New Revision: 422551 URL: https://svnweb.freebsd.org/changeset/ports/422551 Log: We should tell initdb which user we want as DBA Modified: head/databases/postgresql96-server/Makefile head/databases/postgresql96-server/files/postgresql.in Modified: head/databases/postgresql96-server/Makefile ============================================================================== --- head/databases/postgresql96-server/Makefile Wed Sep 21 08:42:26 2016 (r422550) +++ head/databases/postgresql96-server/Makefile Wed Sep 21 09:02:59 2016 (r422551) @@ -2,7 +2,7 @@ # $FreeBSD$ DISTVERSION?= 9.6rc1 -PORTREVISION?= 2 +PORTREVISION?= 3 MAINTAINER?= pgsql@FreeBSD.org Modified: head/databases/postgresql96-server/files/postgresql.in ============================================================================== --- head/databases/postgresql96-server/files/postgresql.in Wed Sep 21 08:42:26 2016 (r422550) +++ head/databases/postgresql96-server/files/postgresql.in Wed Sep 21 09:02:59 2016 (r422551) @@ -108,7 +108,7 @@ postgresql_command() postgresql_initdb() { - su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}" + su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data} -U ${postgresql_user}" } run_rc_command "$1"