diff options
author | fhajny <fhajny> | 2016-06-15 09:25:18 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2016-06-15 09:25:18 +0000 |
commit | 042503ad61582aea87ef9ce4d0f6a147763b6f73 (patch) | |
tree | 429d617f8e21a3c57b3663aa27c15145284501ee /databases | |
parent | 2a800690aa5c1c2bd6b36dbada44ba45fa96705e (diff) | |
download | pkgsrc-042503ad61582aea87ef9ce4d0f6a147763b6f73.tar.gz |
Override INSTALL script to make sure owner/group args do not leak
into the binary packages. Fixes problems with building software
manually against binary postgresql*-client packages built under an
unprivileged setup. Bump respective PKGREVISION.
See https://github.com/joyent/pkgsrc/issues/377
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql93-client/Makefile | 7 | ||||
-rw-r--r-- | databases/postgresql94-client/Makefile | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/databases/postgresql93-client/Makefile b/databases/postgresql93-client/Makefile index b9fe3d57154..fe8cb906579 100644 --- a/databases/postgresql93-client/Makefile +++ b/databases/postgresql93-client/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2016/04/09 12:51:47 adam Exp $ +# $NetBSD: Makefile,v 1.9 2016/06/15 09:25:18 fhajny Exp $ PKGNAME= ${DISTNAME:C/-/93-client-/} +PKGREVIION= 1 COMMENT= PostgreSQL database client programs .include "../../databases/postgresql93/Makefile.common" @@ -10,6 +11,10 @@ CONFIGURE_ARGS+= --with-openssl CONFIGURE_ARGS+= --with-readline CONFIGURE_ARGS+= --with-zlib +# Override INSTALL script to avoid unprivileged user/group +# leaking into the binary package +CONFIGURE_ARGS+= INSTALL=${INSTALL:Q}\ -c + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Cygwin" diff --git a/databases/postgresql94-client/Makefile b/databases/postgresql94-client/Makefile index c7a2358fdbe..634396c626b 100644 --- a/databases/postgresql94-client/Makefile +++ b/databases/postgresql94-client/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2016/04/09 12:51:48 adam Exp $ +# $NetBSD: Makefile,v 1.4 2016/06/15 09:25:18 fhajny Exp $ PKGNAME= ${DISTNAME:C/-/94-client-/} +PKGREVISION= 1 COMMENT= PostgreSQL database client programs .include "../../databases/postgresql94/Makefile.common" @@ -9,6 +10,10 @@ USE_TOOLS+= gzip tar CONFIGURE_ARGS+= --with-openssl CONFIGURE_ARGS+= --with-zlib +# Override INSTALL script to avoid unprivileged user/group +# leaking into the binary package +CONFIGURE_ARGS+= INSTALL=${INSTALL:Q}\ -c + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Cygwin" |