pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Extend last year fix to PostgreSQL 9.5 and 9.6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/479f7aab94bb
branches:  trunk
changeset: 363245:479f7aab94bb
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Jun 05 12:30:56 2017 +0000

description:
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:

 databases/postgresql95-client/Makefile |  7 ++++++-
 databases/postgresql96-client/Makefile |  7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r c832b1926fb0 -r 479f7aab94bb databases/postgresql95-client/Makefile
--- a/databases/postgresql95-client/Makefile    Mon Jun 05 11:40:41 2017 +0000
+++ b/databases/postgresql95-client/Makefile    Mon Jun 05 12:30:56 2017 +0000
@@ -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 @@
 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 -r c832b1926fb0 -r 479f7aab94bb databases/postgresql96-client/Makefile
--- a/databases/postgresql96-client/Makefile    Mon Jun 05 11:40:41 2017 +0000
+++ b/databases/postgresql96-client/Makefile    Mon Jun 05 12:30:56 2017 +0000
@@ -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 @@
 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