Subject: Re: pgsql's home
To: Louis Guillaume <lguillaume@berklee.edu>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 04/15/2007 00:14:36
On Sat, 14 Apr 2007 18:08:44 -0400
Louis Guillaume <lguillaume@berklee.edu> wrote:
> 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}
Ewww... databases under PREFIX. Indeed this patch is ok.
--
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish