summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorfhajny <fhajny>2017-06-05 12:30:56 +0000
committerfhajny <fhajny>2017-06-05 12:30:56 +0000
commit94fe705d7e9d26fbe6a887ac23ba15bd686d0430 (patch)
tree4b0dcafc617653956425eafd4cb6fbee58785324 /databases
parent41a0c8ef6d06c15884db70bd9334a98f915fb2d7 (diff)
downloadpkgsrc-94fe705d7e9d26fbe6a887ac23ba15bd686d0430.tar.gz
Extend last year fix to PostgreSQL 9.5 and 9.6.
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.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql95-client/Makefile7
-rw-r--r--databases/postgresql96-client/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/databases/postgresql95-client/Makefile b/databases/postgresql95-client/Makefile
index 0d12d5e0034..6d933065f0a 100644
--- a/databases/postgresql95-client/Makefile
+++ b/databases/postgresql95-client/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2016/04/09 12:51:49 adam Exp $
+# $NetBSD: Makefile,v 1.4 2017/06/05 12:30:56 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/95-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql95/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"
diff --git a/databases/postgresql96-client/Makefile b/databases/postgresql96-client/Makefile
index 7bf0b9ebf08..f11e394610d 100644
--- a/databases/postgresql96-client/Makefile
+++ b/databases/postgresql96-client/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+# $NetBSD: Makefile,v 1.2 2017/06/05 12:30:56 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/96-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql96/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"