Subject: pgsql's home
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 04/14/2007 18:08:44
Hi,

Currently the Postgresql-server packages keep are setting the user
pgsql's home under ${PREFIX}.

Since "files that may be modified after installation" should go in
$VARBASE, shouldn't we do this?

--- Makefile.orig       2007-04-14 18:00:42.000000000 -0400
+++ Makefile    2007-04-14 18:01:04.000000000 -0400
@@ -55,7 +55,7 @@
 #
 PGUSER?=               pgsql
 PGGROUP?=              pgsql
-PGHOME?=               ${PREFIX}/${PGUSER}
+PGHOME?=               ${VARBASE}/${PGUSER}
 FILES_SUBST+=          PGUSER=${PGUSER}
 FILES_SUBST+=          PGGROUP=${PGGROUP}
 FILES_SUBST+=          PGHOME=${PGHOME}






Louis