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:   schmonz
Date:           Wed Feb  6 18:45:56 UTC 2019

Modified Files:
        pkgsrc/databases/postgresql10-server: Makefile
        pkgsrc/databases/postgresql10-server/files: pgsql.sh
        pkgsrc/databases/postgresql11-server: Makefile
        pkgsrc/databases/postgresql11-server/files: pgsql.sh
        pkgsrc/databases/postgresql93-server: Makefile
        pkgsrc/databases/postgresql93-server/files: pgsql.sh
        pkgsrc/databases/postgresql94-server: Makefile
        pkgsrc/databases/postgresql94-server/files: pgsql.sh
        pkgsrc/databases/postgresql95-server: Makefile
        pkgsrc/databases/postgresql95-server/files: pgsql.sh
        pkgsrc/databases/postgresql96-server: Makefile
        pkgsrc/databases/postgresql96-server/files: pgsql.sh

Log Message:
${PGUSER} doesn't have read permission in every conceivable working
directory, which causes errors for several actions. But the caller's
working directory isn't needed for anything. cd into ${pgsql_home}
early, just after reading rc.conf. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/postgresql10-server/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql10-server/files/pgsql.sh
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql11-server/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql11-server/files/pgsql.sh
cvs rdiff -u -r1.14 -r1.15 pkgsrc/databases/postgresql93-server/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql93-server/files/pgsql.sh
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/postgresql94-server/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql94-server/files/pgsql.sh
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/postgresql95-server/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql95-server/files/pgsql.sh
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/postgresql96-server/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql96-server/files/pgsql.sh

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

Modified files:

Index: pkgsrc/databases/postgresql10-server/Makefile
diff -u pkgsrc/databases/postgresql10-server/Makefile:1.4 pkgsrc/databases/postgresql10-server/Makefile:1.5
--- pkgsrc/databases/postgresql10-server/Makefile:1.4   Fri Nov  9 18:12:24 2018
+++ pkgsrc/databases/postgresql10-server/Makefile       Wed Feb  6 18:45:55 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2018/11/09 18:12:24 adam Exp $
+# $NetBSD: Makefile,v 1.5 2019/02/06 18:45:55 schmonz Exp $
 
 PKGNAME=       ${DISTNAME:C/-/10-server-/}
+PKGREVISION=   1
 COMMENT=       PostgreSQL database server programs
 
 # mips has no TAS implementation

Index: pkgsrc/databases/postgresql10-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql10-server/files/pgsql.sh:1.1 pkgsrc/databases/postgresql10-server/files/pgsql.sh:1.2
--- pkgsrc/databases/postgresql10-server/files/pgsql.sh:1.1     Mon Oct 23 20:33:50 2017
+++ pkgsrc/databases/postgresql10-server/files/pgsql.sh Wed Feb  6 18:45:55 2019
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: pgsql.sh,v 1.1 2017/10/23 20:33:50 adam Exp $
+# $NetBSD: pgsql.sh,v 1.2 2019/02/06 18:45:55 schmonz Exp $
 #
 # PostgreSQL database rc.d control script
 #
@@ -45,6 +45,8 @@ elif [ -f /etc/rc.conf ]; then
        . /etc/rc.conf
 fi
 
+cd "${pgsql_home}"
+
 command_args="-w -s -D ${pgsql_home}/data -m fast -l ${pgsql_home}/errlog"
 if [ -n "${pgsql_flags}" ]; then
        command_args="${command_args} -o \\\"${pgsql_flags}\\\""

Index: pkgsrc/databases/postgresql11-server/Makefile
diff -u pkgsrc/databases/postgresql11-server/Makefile:1.1 pkgsrc/databases/postgresql11-server/Makefile:1.2
--- pkgsrc/databases/postgresql11-server/Makefile:1.1   Tue Oct 23 16:02:52 2018
+++ pkgsrc/databases/postgresql11-server/Makefile       Wed Feb  6 18:45:55 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2018/10/23 16:02:52 adam Exp $
+# $NetBSD: Makefile,v 1.2 2019/02/06 18:45:55 schmonz Exp $
 
 PKGNAME=       ${DISTNAME:C/-/11-server-/}
+PKGREVISION=   1
 COMMENT=       PostgreSQL database server programs
 
 # mips has no TAS implementation

Index: pkgsrc/databases/postgresql11-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql11-server/files/pgsql.sh:1.1 pkgsrc/databases/postgresql11-server/files/pgsql.sh:1.2
--- pkgsrc/databases/postgresql11-server/files/pgsql.sh:1.1     Tue Oct 23 16:02:52 2018
+++ pkgsrc/databases/postgresql11-server/files/pgsql.sh Wed Feb  6 18:45:55 2019
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: pgsql.sh,v 1.1 2018/10/23 16:02:52 adam Exp $
+# $NetBSD: pgsql.sh,v 1.2 2019/02/06 18:45:55 schmonz Exp $
 #
 # PostgreSQL database rc.d control script
 #
@@ -45,6 +45,8 @@ elif [ -f /etc/rc.conf ]; then
        . /etc/rc.conf
 fi
 
+cd "${pgsql_home}"
+
 command_args="-w -s -D ${pgsql_home}/data -m fast -l ${pgsql_home}/errlog"
 if [ -n "${pgsql_flags}" ]; then
        command_args="${command_args} -o \\\"${pgsql_flags}\\\""

Index: pkgsrc/databases/postgresql93-server/Makefile
diff -u pkgsrc/databases/postgresql93-server/Makefile:1.14 pkgsrc/databases/postgresql93-server/Makefile:1.15
--- pkgsrc/databases/postgresql93-server/Makefile:1.14  Fri Nov  9 18:12:25 2018
+++ pkgsrc/databases/postgresql93-server/Makefile       Wed Feb  6 18:45:55 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2018/11/09 18:12:25 adam Exp $
+# $NetBSD: Makefile,v 1.15 2019/02/06 18:45:55 schmonz Exp $
 
 PKGNAME=       ${DISTNAME:C/-/93-server-/}
+PKGREVISION=   1
 COMMENT=       PostgreSQL database server programs
 
 # mips has no TAS implementation

Index: pkgsrc/databases/postgresql93-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql93-server/files/pgsql.sh:1.1 pkgsrc/databases/postgresql93-server/files/pgsql.sh:1.2
--- pkgsrc/databases/postgresql93-server/files/pgsql.sh:1.1     Tue Sep 10 15:32:33 2013
+++ pkgsrc/databases/postgresql93-server/files/pgsql.sh Wed Feb  6 18:45:55 2019
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: pgsql.sh,v 1.1 2013/09/10 15:32:33 adam Exp $
+# $NetBSD: pgsql.sh,v 1.2 2019/02/06 18:45:55 schmonz Exp $
 #
 # PostgreSQL database rc.d control script
 #
@@ -45,6 +45,8 @@ elif [ -f /etc/rc.conf ]; then
        . /etc/rc.conf
 fi
 
+cd "${pgsql_home}"
+
 command_args="-w -s -D ${pgsql_home}/data -m fast -l ${pgsql_home}/errlog"
 if [ -n "${pgsql_flags}" ]; then
        command_args="${command_args} -o \\\"${pgsql_flags}\\\""

Index: pkgsrc/databases/postgresql94-server/Makefile
diff -u pkgsrc/databases/postgresql94-server/Makefile:1.6 pkgsrc/databases/postgresql94-server/Makefile:1.7
--- pkgsrc/databases/postgresql94-server/Makefile:1.6   Fri Nov  9 18:12:26 2018
+++ pkgsrc/databases/postgresql94-server/Makefile       Wed Feb  6 18:45:55 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2018/11/09 18:12:26 adam Exp $
+# $NetBSD: Makefile,v 1.7 2019/02/06 18:45:55 schmonz Exp $
 
 PKGNAME=       ${DISTNAME:C/-/94-server-/}
+PKGREVISION=   1
 COMMENT=       PostgreSQL database server programs
 
 # mips has no TAS implementation

Index: pkgsrc/databases/postgresql94-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql94-server/files/pgsql.sh:1.1 pkgsrc/databases/postgresql94-server/files/pgsql.sh:1.2
--- pkgsrc/databases/postgresql94-server/files/pgsql.sh:1.1     Wed Jan 14 21:01:19 2015
+++ pkgsrc/databases/postgresql94-server/files/pgsql.sh Wed Feb  6 18:45:55 2019
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: pgsql.sh,v 1.1 2015/01/14 21:01:19 adam Exp $
+# $NetBSD: pgsql.sh,v 1.2 2019/02/06 18:45:55 schmonz Exp $
 #
 # PostgreSQL database rc.d control script
 #
@@ -45,6 +45,8 @@ elif [ -f /etc/rc.conf ]; then
        . /etc/rc.conf
 fi
 
+cd "${pgsql_home}"
+
 command_args="-w -s -D ${pgsql_home}/data -m fast -l ${pgsql_home}/errlog"
 if [ -n "${pgsql_flags}" ]; then
        command_args="${command_args} -o \\\"${pgsql_flags}\\\""

Index: pkgsrc/databases/postgresql95-server/Makefile
diff -u pkgsrc/databases/postgresql95-server/Makefile:1.6 pkgsrc/databases/postgresql95-server/Makefile:1.7
--- pkgsrc/databases/postgresql95-server/Makefile:1.6   Fri Nov  9 18:12:27 2018
+++ pkgsrc/databases/postgresql95-server/Makefile       Wed Feb  6 18:45:55 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2018/11/09 18:12:27 adam Exp $
+# $NetBSD: Makefile,v 1.7 2019/02/06 18:45:55 schmonz Exp $
 
 PKGNAME=       ${DISTNAME:C/-/95-server-/}
+PKGREVISION=   1
 COMMENT=       PostgreSQL database server programs
 
 # mips has no TAS implementation

Index: pkgsrc/databases/postgresql95-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql95-server/files/pgsql.sh:1.1 pkgsrc/databases/postgresql95-server/files/pgsql.sh:1.2
--- pkgsrc/databases/postgresql95-server/files/pgsql.sh:1.1     Thu Feb 25 21:37:37 2016
+++ pkgsrc/databases/postgresql95-server/files/pgsql.sh Wed Feb  6 18:45:55 2019
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: pgsql.sh,v 1.1 2016/02/25 21:37:37 tnn Exp $
+# $NetBSD: pgsql.sh,v 1.2 2019/02/06 18:45:55 schmonz Exp $
 #
 # PostgreSQL database rc.d control script
 #
@@ -45,6 +45,8 @@ elif [ -f /etc/rc.conf ]; then
        . /etc/rc.conf
 fi
 
+cd "${pgsql_home}"
+
 command_args="-w -s -D ${pgsql_home}/data -m fast -l ${pgsql_home}/errlog"
 if [ -n "${pgsql_flags}" ]; then
        command_args="${command_args} -o \\\"${pgsql_flags}\\\""

Index: pkgsrc/databases/postgresql96-server/Makefile
diff -u pkgsrc/databases/postgresql96-server/Makefile:1.3 pkgsrc/databases/postgresql96-server/Makefile:1.4
--- pkgsrc/databases/postgresql96-server/Makefile:1.3   Fri Nov  9 18:12:28 2018
+++ pkgsrc/databases/postgresql96-server/Makefile       Wed Feb  6 18:45:56 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2018/11/09 18:12:28 adam Exp $
+# $NetBSD: Makefile,v 1.4 2019/02/06 18:45:56 schmonz Exp $
 
 PKGNAME=       ${DISTNAME:C/-/96-server-/}
+PKGREVISION=   1
 COMMENT=       PostgreSQL database server programs
 
 # mips has no TAS implementation

Index: pkgsrc/databases/postgresql96-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql96-server/files/pgsql.sh:1.1 pkgsrc/databases/postgresql96-server/files/pgsql.sh:1.2
--- pkgsrc/databases/postgresql96-server/files/pgsql.sh:1.1     Sat Oct 29 19:41:55 2016
+++ pkgsrc/databases/postgresql96-server/files/pgsql.sh Wed Feb  6 18:45:56 2019
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: pgsql.sh,v 1.1 2016/10/29 19:41:55 adam Exp $
+# $NetBSD: pgsql.sh,v 1.2 2019/02/06 18:45:56 schmonz Exp $
 #
 # PostgreSQL database rc.d control script
 #
@@ -45,6 +45,8 @@ elif [ -f /etc/rc.conf ]; then
        . /etc/rc.conf
 fi
 
+cd "${pgsql_home}"
+
 command_args="-w -s -D ${pgsql_home}/data -m fast -l ${pgsql_home}/errlog"
 if [ -n "${pgsql_flags}" ]; then
        command_args="${command_args} -o \\\"${pgsql_flags}\\\""



Home | Main Index | Thread Index | Old Index