From owner-freebsd-ports@FreeBSD.ORG Sun Aug 14 16:27:25 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0FF7106564A for ; Sun, 14 Aug 2011 16:27:25 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 89CC28FC0A for ; Sun, 14 Aug 2011 16:27:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 229A2170E5; Sun, 14 Aug 2011 12:27:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received; s=aegis; t= 1313339273; bh=TjIGyUpxaI4jeRKzbRQ7u1F0vwFo1w75FVZGiiE/XW0=; b=b II4c1Q/+UEA571f5ur+3EPe8eCcBJc3IUAcnuy4UMA0JlkzivROWDguZDasFFMyR P2Bp2xWYtWWkWRu6lPlamrgbEftlk3uUDLnK8HyAhrJ9cXJdp6FP7lD05w0ag8rB HlBvTxffXRsXZSU8oauK8VfbczU31wkJ909STcv5Ac= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id pBZFRITf5AwR; Sun, 14 Aug 2011 12:27:53 -0400 (EDT) Date: Sun, 14 Aug 2011 12:27:21 -0400 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20110814162721.GA2609@magic.hamla.org> References: <4E47C7F7.9030001@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E47C7F7.9030001@mail.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: girgen@FreeBSD.org Subject: Re: PostgreSQL 9.0.4 %%PG_USER%% not changed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2011 16:27:25 -0000 [ mantainer added to Cc: ] On Sun, 2011-08-14 at 18:04:55 +0500, rihad wrote: > Hi, I have installed the latest > postgresql-server-9.0.4_2 > postgresql-client-9.0.4_1 > > In several places, namely in /usr/local/etc/rc.d/postgresql: > postgresql_user=${postgresql_user:-"%%PG_USER%%"} > > and throughout all of /usr/local/etc/periodic/daily/502.pgsql > > %%PG_USER%% is left as is, which should have presumably been changed > to pgsql by the installation script. > What gives? Based on a quick glance, it seems that the expansion does occur because PG_USER is not set in SUB_LIST. -- Sahil Tandon