diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile index e5cd051c3a24..e836c258bddd 100644 --- a/sysutils/webmin/Makefile +++ b/sysutils/webmin/Makefile @@ -6,8 +6,7 @@ # PORTNAME= webmin -PORTVERSION= 1.510 -PORTREVISION= 1 +PORTVERSION= 1.520 CATEGORIES= sysutils MASTER_SITES= http://download.webmin.com/updates/:up \ SF/webadmin/${PORTNAME}/${PORTVERSION}:sf \ diff --git a/sysutils/webmin/distinfo b/sysutils/webmin/distinfo index d509c88855ec..781c650ba6fb 100644 --- a/sysutils/webmin/distinfo +++ b/sysutils/webmin/distinfo @@ -1,3 +1,3 @@ -MD5 (webmin-1.510.tar.gz) = cdcc09d71d85d81914a90413eaf21d3f -SHA256 (webmin-1.510.tar.gz) = 92c6ebff7c6bd5d12031f799146e4a919c0fccdd117eef6c5a7447f313703900 -SIZE (webmin-1.510.tar.gz) = 14841163 +MD5 (webmin-1.520.tar.gz) = 4b87fcc5e3881a8aa825ea531e60d8c1 +SHA256 (webmin-1.520.tar.gz) = e3b5b300c2dc117b1b671634fc7f0e7923a379986917cc8e2292329266b6ac39 +SIZE (webmin-1.520.tar.gz) = 14947217 diff --git a/sysutils/webmin/files/patch-fsdump_freebsd-lib.pl b/sysutils/webmin/files/patch-fsdump_freebsd-lib.pl index e4da9c721f32..edba679e96bd 100644 --- a/sysutils/webmin/files/patch-fsdump_freebsd-lib.pl +++ b/sysutils/webmin/files/patch-fsdump_freebsd-lib.pl @@ -3,13 +3,15 @@ $FreeBSD$ --- fsdump/freebsd-lib.pl.orig +++ fsdump/freebsd-lib.pl -@@ -229,8 +229,10 @@ +@@ -195,10 +195,12 @@ $cmd .= " -M" if ($_[0]->{'multi'}); $cmd .= " -h" if ($_[0]->{'links'}); $cmd .= " -l" if ($_[0]->{'xdev'}); + if (${tar_command} ne '/usr/bin/tar') { - $cmd .= " -F \"$tapecmd $_[0]->{'id'}\"" if (!$_[0]->{'gzip'}); - $cmd .= " --rsh-command=$_[0]->{'rsh'}" if ($_[0]->{'rsh'}); + $cmd .= " -F \"$tapecmd $_[0]->{'id'}\"" + if (!$_[0]->{'gzip'}); + $cmd .= " --rsh-command=$_[0]->{'rsh'}" + if ($_[0]->{'rsh'} && $_[0]->{'host'}); + } $cmd .= " $_[0]->{'extra'}" if ($_[0]->{'extra'}); $cmd .= " '$_[0]->{'dir'}'";