View | Details | Raw Unified | Return to bug 225119
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 120-125 Link Here
120
BAREOS_UID?=	997
120
BAREOS_UID?=	997
121
BAREOS_GID?=	${BAREOS_UID}
121
BAREOS_GID?=	${BAREOS_UID}
122
BAREOS_DIR?=	/var/db/bareos
122
BAREOS_DIR?=	/var/db/bareos
123
MTX?=		/usr/local/sbin/mtx
123
124
124
PLIST_SUB+=	BAREOS_DIR=${BAREOS_DIR}
125
PLIST_SUB+=	BAREOS_DIR=${BAREOS_DIR}
125
126
(-)files/patch-scripts_mtx-changer.in (+11 lines)
Line 0 Link Here
1
--- scripts/mtx-changer.in.orig	2018-01-12 13:20:04.913159000 -0600
2
+++ scripts/mtx-changer.in	2018-01-12 13:20:15.531373000 -0600
3
@@ -251,7 +251,7 @@ case $cmd in
4
       ${MTX} -f $ctl status >${TMPFILE}
5
       rtn=$?
6
       # can be converted to awk+sed+cut, see below
7
-      perl -ne '
8
+      /usr/local/bin/perl -ne '
9
 /Data Transfer Element (\d+):Empty/ && print "D:$1:E\n";
10
 /Data Transfer Element (\d+):Full \(Storage Element (\d+) Loaded\)(:VolumeTag =\s*(.+))?/ && print "D:$1:F:$2:$4\n";
11
 /Storage Element (\d+):Empty/ && print "S:$1:E\n";

Return to bug 225119