pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases Override INSTALL script to make sure owner/g...
details: https://anonhg.NetBSD.org/pkgsrc/rev/831aa548e9af
branches: trunk
changeset: 348507:831aa548e9af
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Wed Jun 15 09:25:18 2016 +0000
description:
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:
databases/postgresql93-client/Makefile | 7 ++++++-
databases/postgresql94-client/Makefile | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r ad9ec90d3995 -r 831aa548e9af databases/postgresql93-client/Makefile
--- a/databases/postgresql93-client/Makefile Wed Jun 15 08:40:04 2016 +0000
+++ b/databases/postgresql93-client/Makefile Wed Jun 15 09:25:18 2016 +0000
@@ -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-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 -r ad9ec90d3995 -r 831aa548e9af databases/postgresql94-client/Makefile
--- a/databases/postgresql94-client/Makefile Wed Jun 15 08:40:04 2016 +0000
+++ b/databases/postgresql94-client/Makefile Wed Jun 15 09:25:18 2016 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index