openbsd-ports/databases/mysql-zrm/patches/patch-usr_bin_mysql-zrm
sthen 4645949639 import mysql-zrm:
Zmanda recovery manager for MySQL (MySQL ZRM) is a backup and
recovery manager for MySQL database server. It also provides backup
scheduling and reporting features.

It supports backup of MySQL databases/tables using various methods
(both running on same machine as the MySQL server as well as on a
remote machine).

From maintainer Giovanni Bechis, thanks!
2008-10-17 23:05:41 +00:00

13 lines
707 B
Plaintext

$OpenBSD: patch-usr_bin_mysql-zrm,v 1.1.1.1 2008/10/17 23:05:41 sthen Exp $
--- usr/bin/mysql-zrm.orig Fri Oct 3 23:01:21 2008
+++ usr/bin/mysql-zrm Fri Oct 3 23:01:58 2008
@@ -27,7 +27,7 @@ our $oldPATH = $ENV{'PATH'};
$ENV{'PATH'} = "/usr/local/bin:/opt/csw/bin:/usr/bin:/usr/sbin:/sbin:/bin:/usr/ucb";
#path where ZRM utilities are installed
-my $ZRM_BINPATH="/usr/bin";
+my $ZRM_BINPATH="${PREFIX}/bin";
my $USAGE="--action <backup|restore|schedule-backup|report|list|getconf|purge|parse-binlogs|check|verify-backup|extract-backup|abort-backup>\nHelp on individual action items can be obtained by specifying --help with the required action.\nFor example: 'mysql-zrm --action backup --help'";