diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2020-08-10 07:10:44 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2020-08-10 07:10:44 +0000 |
commit | 46e5118117e7b94dd8ca63cc2fffd1d4c3b4891b (patch) | |
tree | 01c4854f7d4bfd5f3de84a6212398044df9d9da2 /sysutils/znapzend | |
parent | 6a181c48e8204299ace6068bf287f9150243e1c1 (diff) | |
download | ports-46e5118117e7b94dd8ca63cc2fffd1d4c3b4891b.tar.gz ports-46e5118117e7b94dd8ca63cc2fffd1d4c3b4891b.zip |
Update sysutils/znapzend to version 0.20.0.
- Remove redundant dependencies
Notes
Notes:
svn path=/head/; revision=544598
Diffstat (limited to 'sysutils/znapzend')
-rw-r--r-- | sysutils/znapzend/Makefile | 10 | ||||
-rw-r--r-- | sysutils/znapzend/distinfo | 6 | ||||
-rw-r--r-- | sysutils/znapzend/files/patch-lib_ZnapZend.pm | 28 |
3 files changed, 6 insertions, 38 deletions
diff --git a/sysutils/znapzend/Makefile b/sysutils/znapzend/Makefile index 2a8c543b8957..9f3c87334bf1 100644 --- a/sysutils/znapzend/Makefile +++ b/sysutils/znapzend/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= znapzend -PORTVERSION= 0.19.1 +PORTVERSION= 0.20.0 DISTVERSIONPREFIX= v CATEGORIES= sysutils @@ -15,16 +15,12 @@ BUILD_DEPENDS= mbuffer>=0:misc/mbuffer \ p5-IO-Pipely>=0:devel/p5-IO-Pipely \ p5-Mojo-IOLoop-ForkCall>=0.17:www/p5-Mojo-IOLoop-ForkCall \ p5-Mojolicious>=7.15:www/p5-Mojolicious \ - p5-Pod-Simple>=0:textproc/p5-Pod-Simple \ - p5-Scalar-List-Utils>=1.45:lang/p5-Scalar-List-Utils \ - p5-Test-Harness>=0:devel/p5-Test-Harness + p5-Scalar-List-Utils>=1.45:lang/p5-Scalar-List-Utils RUN_DEPENDS= mbuffer>=0:misc/mbuffer \ p5-IO-Pipely>=0:devel/p5-IO-Pipely \ p5-Mojo-IOLoop-ForkCall>=0.17:www/p5-Mojo-IOLoop-ForkCall \ p5-Mojolicious>=7.15:www/p5-Mojolicious \ - p5-Pod-Simple>=0:textproc/p5-Pod-Simple \ - p5-Scalar-List-Utils>=1.45:lang/p5-Scalar-List-Utils \ - p5-Test-Harness>=0:devel/p5-Test-Harness + p5-Scalar-List-Utils>=1.45:lang/p5-Scalar-List-Utils USES= autoreconf gmake perl5 USE_GITHUB= yes diff --git a/sysutils/znapzend/distinfo b/sysutils/znapzend/distinfo index f204507dedae..69c61d397e97 100644 --- a/sysutils/znapzend/distinfo +++ b/sysutils/znapzend/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1561127031 -SHA256 (oetiker-znapzend-v0.19.1_GH0.tar.gz) = a9cf0c4b0a9c8c1733d61e72ad03fe7dbbfcfd2e3ade4e795fc858c8ac76ea60 -SIZE (oetiker-znapzend-v0.19.1_GH0.tar.gz) = 164991 +TIMESTAMP = 1590672896 +SHA256 (oetiker-znapzend-v0.20.0_GH0.tar.gz) = bfd5f3e5d751def4962d275d1c7f4eaf740a63fce5849049faeda892f8688b8d +SIZE (oetiker-znapzend-v0.20.0_GH0.tar.gz) = 165742 diff --git a/sysutils/znapzend/files/patch-lib_ZnapZend.pm b/sysutils/znapzend/files/patch-lib_ZnapZend.pm deleted file mode 100644 index b90590615d95..000000000000 --- a/sysutils/znapzend/files/patch-lib_ZnapZend.pm +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/ZnapZend.pm.orig 2017-02-08 07:38:40 UTC -+++ lib/ZnapZend.pm -@@ -2,7 +2,7 @@ package ZnapZend; - - use Mojo::Base -base; - use Mojo::IOLoop::ForkCall; --use Mojo::Util qw(slurp); -+use Mojo::File; - use Mojo::Log; - use ZnapZend::Config; - use ZnapZend::ZFS; -@@ -571,12 +571,13 @@ my $createWorkers = sub { - my $daemonize = sub { - my $self = shift; - my $pidFile = $self->pidfile || $self->defaultPidFile; -+ my $pidFileFile = Mojo::File->new($pidFile); - - if (-f $pidFile){ -- chomp(my $pid = slurp $pidFile); -+ chomp(my $pid = $pidFileFile->slurp); - #pid is not empty and is numeric -- if ($pid && ($pid = int($pid)) && kill 0, $pid){ -- die "I Quit! Another copy of znapzend ($pid) seems to be running. See $pidFile\n"; -+ if ($pid && ($pid = int($pid)) && kill 0, $pid){ -+ die "I Quit! Another copy of znapzend ($pid) seems to be running. See $pidFile\n"; - } - } - #make sure pid file is writable before forking |