From owner-svn-ports-head@freebsd.org Tue Jan 29 09:31:39 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B2A614B359E; Tue, 29 Jan 2019 09:31:39 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D57D974E09; Tue, 29 Jan 2019 09:31:38 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B9D3B5B34; Tue, 29 Jan 2019 09:31:38 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0T9VcbU048684; Tue, 29 Jan 2019 09:31:38 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0T9Vccr048342; Tue, 29 Jan 2019 09:31:38 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201901290931.x0T9Vccr048342@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 29 Jan 2019 09:31:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491550 - in head/sysutils/flexbackup: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/sysutils/flexbackup: . files X-SVN-Commit-Revision: 491550 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D57D974E09 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2019 09:31:39 -0000 Author: tobik Date: Tue Jan 29 09:31:38 2019 New Revision: 491550 URL: https://svnweb.freebsd.org/changeset/ports/491550 Log: sysutils/flexbackup: Fix some issues - flexbackup shows a perl deprecated warning with perl 5.16 - lzma support compression level 0 - compress flags do not work, if you use afio+lzma PR: 221003 Submitted by: Lars Herschke Modified: head/sysutils/flexbackup/Makefile head/sysutils/flexbackup/files/patch-flexbackup Modified: head/sysutils/flexbackup/Makefile ============================================================================== --- head/sysutils/flexbackup/Makefile Tue Jan 29 09:30:35 2019 (r491549) +++ head/sysutils/flexbackup/Makefile Tue Jan 29 09:31:38 2019 (r491550) @@ -3,7 +3,7 @@ PORTNAME= flexbackup PORTVERSION= 1.2.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= sysutils MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \ http://www.reynoldsnet.org/flexbackup/tarball/ Modified: head/sysutils/flexbackup/files/patch-flexbackup ============================================================================== --- head/sysutils/flexbackup/files/patch-flexbackup Tue Jan 29 09:30:35 2019 (r491549) +++ head/sysutils/flexbackup/files/patch-flexbackup Tue Jan 29 09:31:38 2019 (r491550) @@ -158,6 +158,15 @@ $cmd .= "; $::path{cat} $tmpfile $::z"; # Buffer both sides if remote +@@ -2670,7 +2688,7 @@ sub optioncheck { + } + + # Flag old config file +- if (defined(@cfg::filesystems) or defined($cfg::mt_var_blksize)) { ++ if (@cfg::filesystems or defined($cfg::mt_var_blksize)) { + # so strict shuts up + my $junk = @cfg::filesystems; + $junk = $cfg::mt_var_blksize; @@ -2700,7 +2718,7 @@ sub optioncheck { # First check if things are defined in the config file # Checks exist, true/false, or one of options @@ -186,7 +195,7 @@ + } elsif ($cfg::compress eq "lzma") { + $::path{'lzma'} = &checkinpath($cfg::compress); + push(@::remoteprogs, $::path{$cfg::compress}); -+ if ($cfg::compr_level !~ m/^[123456789]$/) { ++ if ($cfg::compr_level !~ m/^[0123456789]$/) { + push(@::errors,"\$compr_level must be set to 1-9"); + } else { + $::z = " | $::path{$cfg::compress} -$cfg::compr_level "; @@ -218,6 +227,15 @@ # If buffering disabled, use dd or cat depending on if blocking turned off on not if ($cfg::blksize eq '0') { $::buffer_cmd = ""; +@@ -3230,7 +3258,7 @@ sub optioncheck { + push(@::remoteprogs, $::path{'afio'}); + + # Compress flag for afio must be handled differently +- if ($cfg::compress =~ m/^(gzip|bzip2|lzop|compress|zip)$/) { ++ if ($cfg::compress =~ m/^(gzip|bzip2|lzop|compress|zip|lzma)$/) { + + if ($cfg::compress eq "gzip") { + $::afio_z_flag = "-P $::path{$cfg::compress} -Q -$cfg::compr_level -Z"; @@ -3252,6 +3280,10 @@ sub optioncheck { $::afio_z_flag = "-P $::path{$cfg::compress} -Q -c -Z"; $::afio_unz_flag = "-P $::path{$cfg::compress} -Q -d -Q -c -Z";