pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Wed Jun 15 09:25:18 UTC 2016

Modified Files:
        pkgsrc/databases/postgresql93-client: Makefile
        pkgsrc/databases/postgresql94-client: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/postgresql93-client/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/postgresql94-client/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/postgresql93-client/Makefile
diff -u pkgsrc/databases/postgresql93-client/Makefile:1.8 pkgsrc/databases/postgresql93-client/Makefile:1.9
--- pkgsrc/databases/postgresql93-client/Makefile:1.8   Sat Apr  9 12:51:47 2016
+++ pkgsrc/databases/postgresql93-client/Makefile       Wed Jun 15 09:25:18 2016
@@ -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"

Index: pkgsrc/databases/postgresql94-client/Makefile
diff -u pkgsrc/databases/postgresql94-client/Makefile:1.3 pkgsrc/databases/postgresql94-client/Makefile:1.4
--- pkgsrc/databases/postgresql94-client/Makefile:1.3   Sat Apr  9 12:51:48 2016
+++ pkgsrc/databases/postgresql94-client/Makefile       Wed Jun 15 09:25:18 2016
@@ -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"



Home | Main Index | Thread Index | Old Index