Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2016 18:25:54 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421458 - in head/security/zeronet: . files
Message-ID:  <201609061825.u86IPsR3065044@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609061825.u86IPsR3065044>