aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/zetaback
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2009-04-28 02:29:41 +0800
committercy <cy@FreeBSD.org>2009-04-28 02:29:41 +0800
commit25373907215dfafac76e0329efdb7e060e0fefa4 (patch)
treee77e31ee50ca8579148a71347766880abcbdccf5 /sysutils/zetaback
parente6433cd353461e12ebfef3155fbb31b7aed04dcf (diff)
downloadfreebsd-ports-gnome-25373907215dfafac76e0329efdb7e060e0fefa4.tar.gz
freebsd-ports-gnome-25373907215dfafac76e0329efdb7e060e0fefa4.tar.zst
freebsd-ports-gnome-25373907215dfafac76e0329efdb7e060e0fefa4.zip
Fix a perl programming error in the zetaback patch file. This fix enables
bzip2 compression.
Diffstat (limited to 'sysutils/zetaback')
-rw-r--r--sysutils/zetaback/Makefile2
-rw-r--r--sysutils/zetaback/files/patch-zetaback.in4
2 files changed, 3 insertions, 3 deletions
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 {