Update to the new 2.1 version, some bugs fixed and support for MySQL 5.1 added.
Trivial update + patches regenerated.
 Cheers
  Giovanni
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/mysql-zrm/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    17 Oct 2008 23:05:41 -0000      1.1.1.1
+++ Makefile    19 Dec 2008 10:55:21 -0000
@@ -2,13 +2,13 @@
 
 COMMENT =      MySQL backup scripts
 
-DISTNAME =     MySQL-zrm-2.0
+DISTNAME =     MySQL-zrm-2.1
 PKGNAME =      ${DISTNAME:L}
 CATEGORIES =   databases perl5
 
 HOMEPAGE =     http://www.zmanda.com/
 
-MAINTAINER =   Giovanni Bechis <g.bec...@snb.it>
+MAINTAINER =   Giovanni Bechis <giova...@openbsd.org>
 
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
@@ -16,7 +16,7 @@ PERMIT_PACKAGE_FTP =  Yes
 PERMIT_DISTFILES_CDROM =Yes
 PERMIT_DISTFILES_FTP = Yes
 
-MASTER_SITES = http://www.zmanda.com/downloads/community/ZRM-MySQL/2.0/Source/
+MASTER_SITES = http://www.zmanda.com/downloads/community/ZRM-MySQL/2.1/Source/
 
 RUN_DEPENDS =  ::archivers/gtar \
                ::databases/p5-DBD-mysql \
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/mysql-zrm/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    17 Oct 2008 23:05:41 -0000      1.1.1.1
+++ distinfo    19 Dec 2008 10:55:21 -0000
@@ -1,5 +1,5 @@
-MD5 (MySQL-zrm-2.0.tar.gz) = E6gqvrGB0mWvVTdw0dtnGA==
-RMD160 (MySQL-zrm-2.0.tar.gz) = jZ7IEkKEqPbQsUHKTSQbu1lN9ak=
-SHA1 (MySQL-zrm-2.0.tar.gz) = +8OKNGdV+yKClq8qRHy1/XTV0kY=
-SHA256 (MySQL-zrm-2.0.tar.gz) = +inRwg1OIgXQv/goOTgn3RUmNYowDxLvzNaxKHbjqC8=
-SIZE (MySQL-zrm-2.0.tar.gz) = 127608
+MD5 (MySQL-zrm-2.1.tar.gz) = bFqpBOW69BK3oHGN2ZY2Dw==
+RMD160 (MySQL-zrm-2.1.tar.gz) = FEL641wo57tIfY4Un3CxLoeXpKM=
+SHA1 (MySQL-zrm-2.1.tar.gz) = jxtBXad796rX2/kzL3ULGa1/Hv4=
+SHA256 (MySQL-zrm-2.1.tar.gz) = KVIuIYWSU1R/67geJKTdyYf64IbyvIWL9r4LbhXGqic=
+SIZE (MySQL-zrm-2.1.tar.gz) = 134460
Index: patches/patch-etc_mysql-zrm_mysql-zrm_conf
===================================================================
RCS file: 
/cvs/ports/databases/mysql-zrm/patches/patch-etc_mysql-zrm_mysql-zrm_conf,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-etc_mysql-zrm_mysql-zrm_conf
--- patches/patch-etc_mysql-zrm_mysql-zrm_conf  17 Oct 2008 23:05:41 -0000      
1.1.1.1
+++ patches/patch-etc_mysql-zrm_mysql-zrm_conf  19 Dec 2008 10:55:21 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-etc_mysql-zrm_mysql-zrm_conf,v 1.1.1.1 2008/10/17 23:05:41 
sthen Exp $
---- etc/mysql-zrm/mysql-zrm.conf.orig  Mon Apr  7 22:40:12 2008
-+++ etc/mysql-zrm/mysql-zrm.conf       Fri Oct 10 19:20:50 2008
+--- etc/mysql-zrm/mysql-zrm.conf.orig  Fri Dec  5 01:46:01 2008
++++ etc/mysql-zrm/mysql-zrm.conf       Fri Dec 19 11:05:27 2008
 @@ -40,7 +40,7 @@
  # mysqldump(1) tool
  # This parameter is optional and default value is "raw".
@@ -10,7 +10,7 @@ $OpenBSD: patch-etc_mysql-zrm_mysql-zrm_
  
  # Size of LVM snapshot. This parameter is optional and  is required only 
  # for "raw" backup-mode and if the MySQL database data are stored in 
-@@ -58,7 +58,7 @@
+@@ -64,7 +64,7 @@
  # directory.  This parameter is optional and the default 
  # value is "/var/lib/mysql-zrm"
  #
@@ -19,7 +19,7 @@ $OpenBSD: patch-etc_mysql-zrm_mysql-zrm_
  
  # Specifies how long the backup should be retained. The value can be 
  # specified in days (suffix D), weeks (suffix: W), months (suffix: M) or 
-@@ -91,7 +91,7 @@
+@@ -97,7 +97,7 @@
  
  # This parameter specifies that the program that should be used for 
  # backup data encryption. "decrypt-option" parameter should also be specified.
@@ -28,7 +28,7 @@ $OpenBSD: patch-etc_mysql-zrm_mysql-zrm_
  
  # This specifies the option to be passed to the encryption 
  # program specified as "encrypt-plugin" parameter for decryption.
-@@ -153,7 +153,7 @@
+@@ -159,7 +159,7 @@
  
  #Name of Socket file that can be used for connecting to MySQL
  #
@@ -37,7 +37,7 @@ $OpenBSD: patch-etc_mysql-zrm_mysql-zrm_
  
  # ssl-options are arguments that are passed to MySQL client commands 
  # for SSL connection to the MySQL server. This parameter is optional and is
-@@ -251,18 +251,18 @@ mailto="r...@localhost"
+@@ -261,18 +261,18 @@ mailto="r...@localhost"
  #
  # Please read the Notes at /usr/share/doc/mysql-zrm/README-plugin-socket-copy
  #
@@ -59,7 +59,7 @@ $OpenBSD: patch-etc_mysql-zrm_mysql-zrm_
  
  # Set of parameters passed to the pre-backup-plugin. These parameters are
  # passed to "pre-backup-plugin" before a backup run for the backup set.
-@@ -271,7 +271,7 @@ mailto="r...@localhost"
+@@ -281,7 +281,7 @@ mailto="r...@localhost"
  
  # POST-BACKUP plugin: Plugin that will be called after a backup run for 
  # the backup set.
@@ -68,7 +68,7 @@ $OpenBSD: patch-etc_mysql-zrm_mysql-zrm_
  
  # Set of parameters passed to the post-backup-plugin. These parameters are
  # passed to "post-backup-plugin" after a backup run for the backup set.
-@@ -280,7 +280,7 @@ mailto="r...@localhost"
+@@ -290,7 +290,7 @@ mailto="r...@localhost"
  
  # PRE-SCHEDULER plugin: Plugin that can be used to dynamically determine the 
  # start time for a backup run.
Index: patches/patch-usr_bin_mysql-zrm-backup
===================================================================
RCS file: 
/cvs/ports/databases/mysql-zrm/patches/patch-usr_bin_mysql-zrm-backup,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-usr_bin_mysql-zrm-backup
--- patches/patch-usr_bin_mysql-zrm-backup      17 Oct 2008 23:05:41 -0000      
1.1.1.1
+++ patches/patch-usr_bin_mysql-zrm-backup      19 Dec 2008 10:55:21 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-usr_bin_mysql-zrm-backup,v 1.1.1.1 2008/10/17 23:05:41 sthen 
Exp $
---- usr/bin/mysql-zrm-backup.orig      Mon Oct 13 19:26:13 2008
-+++ usr/bin/mysql-zrm-backup   Mon Oct 13 19:26:33 2008
+--- usr/bin/mysql-zrm-backup.orig      Fri Dec  5 01:46:01 2008
++++ usr/bin/mysql-zrm-backup   Fri Dec 19 11:05:27 2008
 @@ -38,7 +38,7 @@ use ZRM::MySQL;
  
  $SIG{'TERM'} = sub { $abort_flag = 1; };
@@ -10,7 +10,7 @@ $OpenBSD: patch-usr_bin_mysql-zrm-backup
  my $MAILCMD="mail";
  
  #Neither mysqlhotcopy not mysqldump will do a --flush-logs 
-@@ -1504,7 +1504,7 @@ sub totalSize()
+@@ -1585,7 +1585,7 @@ sub totalSize()
                                    $inputs{"synchronous-checksum"} == 1 ){
                                        my $file = $File::Find::fullname;
                                        if( -f $file ){
Index: patches/patch-usr_lib_mysql-zrm_ZRM_Common_pm
===================================================================
RCS file: 
/cvs/ports/databases/mysql-zrm/patches/patch-usr_lib_mysql-zrm_ZRM_Common_pm,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-usr_lib_mysql-zrm_ZRM_Common_pm
--- patches/patch-usr_lib_mysql-zrm_ZRM_Common_pm       17 Oct 2008 23:05:41 
-0000      1.1.1.1
+++ patches/patch-usr_lib_mysql-zrm_ZRM_Common_pm       19 Dec 2008 10:55:21 
-0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-usr_lib_mysql-zrm_ZRM_Common_pm,v 1.1.1.1 2008/10/17 23:05:41 
sthen Exp $
---- usr/lib/mysql-zrm/ZRM/Common.pm.orig       Mon Apr  7 21:40:12 2008
-+++ usr/lib/mysql-zrm/ZRM/Common.pm    Fri Oct 17 23:55:15 2008
-@@ -72,9 +72,9 @@ our $LOGGER;
+--- usr/lib/mysql-zrm/ZRM/Common.pm.orig       Fri Dec  5 01:46:01 2008
++++ usr/lib/mysql-zrm/ZRM/Common.pm    Fri Dec 19 11:05:27 2008
+@@ -73,9 +73,9 @@ our $LOGGER;
  our $INDEX_FILENAME="index";
  our $MYSQL_ZRM_CONFIG_FILE=catfile( $MYSQL_ZRM_BASEDIR, "mysql-zrm.conf"); 
  #Compress & Encrypt progs
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/mysql-zrm/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   17 Oct 2008 23:05:41 -0000      1.1.1.1
+++ pkg/PLIST   19 Dec 2008 10:55:21 -0000
@@ -6,6 +6,7 @@ bin/mysql-zrm-check
 bin/mysql-zrm-extract-backup
 bin/mysql-zrm-getconf
 bin/mysql-zrm-list
+bin/mysql-zrm-manage-backup
 bin/mysql-zrm-migrate-file-ownership
 bin/mysql-zrm-parse-binlogs
 bin/mysql-zrm-purge
@@ -35,6 +36,7 @@ man/cat1/mysql-zrm-backup.1
 man/cat1/mysql-zrm-check.1
 man/cat1/mysql-zrm-extract-backup.1
 man/cat1/mysql-zrm-list.1
+man/cat1/mysql-zrm-manage-backup.1
 man/cat1/mysql-zrm-parse-binlogs.1
 man/cat1/mysql-zrm-purge.1
 man/cat1/mysql-zrm-reporter.1

Reply via email to