svn commit: r421458 - in head/security/zeronet: . files
Kurt Jaeger
pi at FreeBSD.org
Tue Sep 6 18:25:56 UTC 2016
Author: pi
Date: Tue Sep 6 18:25:54 2016
New Revision: 421458
URL: https://svnweb.freebsd.org/changeset/ports/421458
Log:
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 at rawbw.com> (maintainer)
Modified:
head/security/zeronet/Makefile
head/security/zeronet/distinfo
head/security/zeronet/files/zeronet-service.in
Modified: head/security/zeronet/Makefile
==============================================================================
--- head/security/zeronet/Makefile Tue Sep 6 18:17:48 2016 (r421457)
+++ head/security/zeronet/Makefile Tue Sep 6 18:25:54 2016 (r421458)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= zeronet
-PORTVERSION= 0.3.7
-#DISTVERSIONPREFIX= v
+PORTVERSION= 0.4.0
CATEGORIES= security net-p2p
MAINTAINER= yuri at rawbw.com
Modified: head/security/zeronet/distinfo
==============================================================================
--- head/security/zeronet/distinfo Tue Sep 6 18:17:48 2016 (r421457)
+++ head/security/zeronet/distinfo Tue Sep 6 18:25:54 2016 (r421458)
@@ -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
Modified: head/security/zeronet/files/zeronet-service.in
==============================================================================
--- head/security/zeronet/files/zeronet-service.in Tue Sep 6 18:17:48 2016 (r421457)
+++ head/security/zeronet/files/zeronet-service.in Tue Sep 6 18:25:54 2016 (r421458)
@@ -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"
More information about the svn-ports-head
mailing list