Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/bareos extend PATH by $PREFIX/{bin,sbin} in c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b251a8f76bf2
branches: trunk
changeset: 437512:b251a8f76bf2
user: kardel <kardel%pkgsrc.org@localhost>
date: Tue Aug 25 08:32:13 2020 +0000
description:
extend PATH by $PREFIX/{bin,sbin} in config-lib-setup.sh to be able
to run pkgsrc programs out of the box (e. g. database tools).
diffstat:
sysutils/bareos/distinfo | 3 +-
sysutils/bareos/patches/patch-core_scripts_bareos-config-lib.sh.in | 15 ++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r f33b2970171a -r b251a8f76bf2 sysutils/bareos/distinfo
--- a/sysutils/bareos/distinfo Mon Aug 24 22:29:52 2020 +0000
+++ b/sysutils/bareos/distinfo Tue Aug 25 08:32:13 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2020/08/21 06:01:35 kardel Exp $
+$NetBSD: distinfo,v 1.4 2020/08/25 08:32:13 kardel Exp $
SHA1 (bareos-19.2.8.tar.gz) = b26f7db66e108eed1e20b11c36f994456419748e
RMD160 (bareos-19.2.8.tar.gz) = 221777925946ab05ddc00063ba51daf4555f16d1
@@ -14,6 +14,7 @@
SHA1 (patch-core_platforms_netbsd_CMakeLists.txt) = dd6a54bac7e4b51e3f564f83cc7f78a8826a0d8e
SHA1 (patch-core_platforms_netbsd_chio-changer) = 4bc4d7382db8e41bd1a10852e429e8f4e16e9fe4
SHA1 (patch-core_scripts_CMakeLists.txt) = b7869d18651e6e6da4ad5f23c8f4c80d0166aa7c
+SHA1 (patch-core_scripts_bareos-config-lib.sh.in) = f9f657406dea5df23c59bceed286ff5f3ae580d0
SHA1 (patch-core_src_CMakeLists.txt) = 3db708e8ece43b1087773470a19ea3362aec3d79
SHA1 (patch-core_src_cats_make__catalog__backup.pl.in) = a31110c1219058a03a4f44411a848ff997aca3c1
SHA1 (patch-core_src_cats_postgresql__queries.inc) = d255a93a039d671d9dad7b7b096dfff97095aa6e
diff -r f33b2970171a -r b251a8f76bf2 sysutils/bareos/patches/patch-core_scripts_bareos-config-lib.sh.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bareos/patches/patch-core_scripts_bareos-config-lib.sh.in Tue Aug 25 08:32:13 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-core_scripts_bareos-config-lib.sh.in,v 1.1 2020/08/25 08:32:14 kardel Exp $
+
+ add $PREFIX/{bin,sbin} to PATH to avoid tripping over
+ missing commands (like db programs)
+
+--- core/scripts/bareos-config-lib.sh.in.orig 2020-08-25 07:03:03.539870629 +0000
++++ core/scripts/bareos-config-lib.sh.in
+@@ -4,6 +4,7 @@ BAREOS_CONFIG_DIR=${BAREOS_CONFIG_DIR:-@
+ BAREOS_SBIN_DIR=${BAREOS_SBIN_DIR:-@sbindir@}
+ DBCHECK="${BAREOS_SBIN_DIR}/bareos-dbcheck -c ${BAREOS_CONFIG_DIR} -B"
+ AWK="@AWK@"
++PATH=${PATH}:@bindir@:@sbindir@
+
+ SEC_GROUPS="tape disk"
+
Home |
Main Index |
Thread Index |
Old Index