diff options
author | pi <pi@FreeBSD.org> | 2016-09-07 02:25:54 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-09-07 02:25:54 +0800 |
commit | 88fa73528524e32ad132d45b3c558b81176631eb (patch) | |
tree | cdefa4d8b1b0aa788f0382f8fe8dcb7a3fe91b0f /security | |
parent | cd2e9e8c3f9e8848c35ff15ddb508dc074c4f870 (diff) | |
download | freebsd-ports-gnome-88fa73528524e32ad132d45b3c558b81176631eb.tar.gz freebsd-ports-gnome-88fa73528524e32ad132d45b3c558b81176631eb.tar.zst freebsd-ports-gnome-88fa73528524e32ad132d45b3c558b81176631eb.zip |
security/zeronet: 0.3.7 -> 0.4.0
- Merger sites
- User file archiving
- Allow to store custom fields in json table
PR: 212422
Submitted by: Yuri Victorovich <yuri@rawbw.com> (maintainer)
Diffstat (limited to 'security')
-rw-r--r-- | security/zeronet/Makefile | 3 | ||||
-rw-r--r-- | security/zeronet/distinfo | 6 | ||||
-rw-r--r-- | security/zeronet/files/zeronet-service.in | 14 |
3 files changed, 16 insertions, 7 deletions
diff --git a/security/zeronet/Makefile b/security/zeronet/Makefile index ccfc2f927e50..001c0f199b5d 100644 --- a/security/zeronet/Makefile +++ b/security/zeronet/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= zeronet -PORTVERSION= 0.3.7 -#DISTVERSIONPREFIX= v +PORTVERSION= 0.4.0 CATEGORIES= security net-p2p MAINTAINER= yuri@rawbw.com diff --git a/security/zeronet/distinfo b/security/zeronet/distinfo index 8a94f8e55324..2cd469cf62d0 100644 --- a/security/zeronet/distinfo +++ b/security/zeronet/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1464561785 -SHA256 (HelloZeroNet-ZeroNet-0.3.7-523a7d4_GH0.tar.gz) = ec7004ecfbce36ad83e708161f5553b76bdb5b6fb2954aa2a04a391d6047c7cc -SIZE (HelloZeroNet-ZeroNet-0.3.7-523a7d4_GH0.tar.gz) = 2384517 +TIMESTAMP = 1473177926 +SHA256 (HelloZeroNet-ZeroNet-0.4.0-523a7d4_GH0.tar.gz) = ec7004ecfbce36ad83e708161f5553b76bdb5b6fb2954aa2a04a391d6047c7cc +SIZE (HelloZeroNet-ZeroNet-0.4.0-523a7d4_GH0.tar.gz) = 2384517 diff --git a/security/zeronet/files/zeronet-service.in b/security/zeronet/files/zeronet-service.in index 0ef586b2bf7b..00593fce5549 100644 --- a/security/zeronet/files/zeronet-service.in +++ b/security/zeronet/files/zeronet-service.in @@ -3,10 +3,10 @@ # $FreeBSD$ # -# Copyright (C) 2015 by Yuri Victorovich. All rights reserved. +# Copyright (C) 2016 by Yuri Victorovich. All rights reserved. # PROVIDE: zeronet -# REQUIRE: LOGIN +# REQUIRE: NETWORKING SERVERS tor # KEYWORD: shutdown # zeronet is disabled by default, if you have configuration file @@ -22,6 +22,7 @@ name="zeronet" rcvar=zeronet_enable start_cmd="zeronet_start" stop_cmd="zeronet_stop" +status_cmd="zeronet_status" load_rc_config ${name} @@ -74,6 +75,15 @@ zeronet_stop() { fi } +zeronet_status() { + local pidfile=/var/run/zeronet.pid + if is_process_running $pidfile; then + echo "zeronet is running, pid=$(cat $pidfile)" + else + echo "zeronet isn't running" + fi +} + command="/usr/bin/true" run_rc_command "$1" |