Index: net/fiche/Makefile =================================================================== --- net/fiche/Makefile +++ net/fiche/Makefile @@ -3,7 +3,7 @@ PORTNAME= fiche PORTVERSION= 0.9.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MAINTAINER= zi@FreeBSD.org Index: net/fiche/files/fiche.in =================================================================== --- net/fiche/files/fiche.in +++ net/fiche/files/fiche.in @@ -13,6 +13,7 @@ # fiche_enable (bool): Set to "NO" by default. # Set it to "YES" to enable fiche. # fiche_domain (str): Default "localhost" +# fiche_options (str): Additional flags Default "" # fiche_output (str): Default "/usr/local/www/fiche" # fiche_logfile (str): Default "/var/log/fiche/fiche.log" @@ -25,6 +26,7 @@ : ${fiche_enable="NO"} : ${fiche_pidfile="/var/run/${name}.pid"} +: ${fiche_options=""} : ${fiche_output="%%WWWDIR%%"} : ${fiche_domain="localhost"} : ${fiche_logfile="/var/log/${name}/${name}.log"} @@ -34,7 +36,11 @@ procname="%%PREFIX%%/sbin/fiche" command="/usr/sbin/daemon" -command_args="-fp ${pidfile} %%PREFIX%%/sbin/fiche -o ${fiche_output} -d ${fiche_domain} -l ${fiche_logfile}" +command_args="-fp ${pidfile} %%PREFIX%%/sbin/fiche \ + -o ${fiche_output} \ + -d ${fiche_domain} \ + -l ${fiche_logfile} \ + ${fiche_options}" fiche_prestart() { install -d -o 477 -g 477 -m 755 /var/log/${name} Index: net/fiche/pkg-descr =================================================================== --- net/fiche/pkg-descr +++ net/fiche/pkg-descr @@ -3,4 +3,4 @@ Note: fiche requires a separate web-server to serve the pastebin content. -WWW: http://termbin.com/ +WWW: https://github.com/solusipse/fiche