From 25373907215dfafac76e0329efdb7e060e0fefa4 Mon Sep 17 00:00:00 2001 From: cy Date: Mon, 27 Apr 2009 18:29:41 +0000 Subject: Fix a perl programming error in the zetaback patch file. This fix enables bzip2 compression. --- sysutils/zetaback/Makefile | 2 +- sysutils/zetaback/files/patch-zetaback.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sysutils/zetaback') diff --git a/sysutils/zetaback/Makefile b/sysutils/zetaback/Makefile index 0faa02ccf5ce..4db2c89b21e4 100644 --- a/sysutils/zetaback/Makefile +++ b/sysutils/zetaback/Makefile @@ -7,7 +7,7 @@ PORTNAME= zetaback PORTVERSION= 1.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://labs.omniti.com/zetaback/tags/1.0/ diff --git a/sysutils/zetaback/files/patch-zetaback.in b/sysutils/zetaback/files/patch-zetaback.in index c1d9cde44f65..059c37b16f6c 100644 --- a/sysutils/zetaback/files/patch-zetaback.in +++ b/sysutils/zetaback/files/patch-zetaback.in @@ -24,9 +24,9 @@ # Do it. yeah. + my $cp = config_get($host, 'compressionprogram'); -+ if ($cp != "bzip2" && $cp != "gzip" && $cp != "") { ++ if ($cp ne "bzip2" && $cp ne "gzip" && $cp ne "") { + die "zfs_full_backup: unsupported compression program specified\n"; -+ } elsif ($cp == "") { ++ } elsif ($cp eq "") { + $cp = "gzip"; + my $cl = 1; + } else { -- cgit