Index: Makefile =================================================================== --- Makefile (revision 548666) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= i2pd PORTVERSION= 2.33.0 +PORTREVISION= 1 CATEGORIES= security net-p2p MAINTAINER= amdmi3@FreeBSD.org Index: files/i2pd.in =================================================================== --- files/i2pd.in (revision 548666) +++ files/i2pd.in (working copy) @@ -20,15 +20,13 @@ : ${i2pd_enable="NO"} : ${i2pd_user="%%USER%%"} : ${i2pd_group="%%GROUP%%"} -: ${i2pd_pidfile="/var/run/${name}/${name}.pid"} : ${i2pd_datadir="/var/db/${name}"} -: ${i2pd_logfile="/var/log/${name}/${name}.log"} required_dirs=${i2pd_datadir} -pidfile=${i2pd_pidfile} +pidfile=/var/run/i2pd/i2pd.pid command="%%PREFIX%%/bin/${name}" -command_args="--pidfile ${i2pd_pidfile} --service --datadir ${i2pd_datadir} --log file --logfile ${i2pd_logfile} --daemon" +command_args="--service --datadir ${i2pd_datadir} --daemon" extra_commands="reload" -reload_cmd="pkill -1 -F ${i2pd_pidfile} -x i2pd" +reload_cmd="pkill -1 -F ${pidfile} -x i2pd" run_rc_command "$1" Index: files/patch-contrib_i2pd.conf =================================================================== --- files/patch-contrib_i2pd.conf (nonexistent) +++ files/patch-contrib_i2pd.conf (working copy) @@ -0,0 +1,23 @@ +--- contrib/i2pd.conf.orig 2020-08-24 16:48:09 UTC ++++ contrib/i2pd.conf +@@ -16,7 +16,7 @@ + # tunnelsdir = /var/lib/i2pd/tunnels.d + + ## Where to write pidfile (default: i2pd.pid, not used in Windows) +-# pidfile = /run/i2pd.pid ++pidfile = /var/run/i2pd/i2pd.pid + + ## Logging configuration section + ## By default logs go to stdout with level 'info' and higher +@@ -25,9 +25,9 @@ + ## * stdout - print log entries to stdout + ## * file - log entries to a file + ## * syslog - use syslog, see man 3 syslog +-# log = file ++log = file + ## Path to logfile (default - autodetect) +-# logfile = /var/log/i2pd/i2pd.log ++logfile = /var/log/i2pd/i2pd.log + ## Log messages above this level (debug, info, *warn, error, none) + ## If you set it to none, logging will be disabled + # loglevel = warn Property changes on: files/patch-contrib_i2pd.conf ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property