Date: Tue, 18 Feb 2014 12:39:43 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344879 - in head/dns/knot: . files Message-ID: <201402181239.s1ICdhbK019416@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Tue Feb 18 12:39:42 2014 New Revision: 344879 URL: http://svnweb.freebsd.org/changeset/ports/344879 QAT: https://qat.redports.org/buildarchive/r344879/ Log: Previous commit to knot.in was truncated causing the rc script to be broken. Submitted by: erwin Sponsored by: SupraNet Communications, Inc Modified: head/dns/knot/Makefile head/dns/knot/files/knot.in Modified: head/dns/knot/Makefile ============================================================================== --- head/dns/knot/Makefile Tue Feb 18 12:31:49 2014 (r344878) +++ head/dns/knot/Makefile Tue Feb 18 12:39:42 2014 (r344879) @@ -3,7 +3,7 @@ PORTNAME= knot DISTVERSION= 1.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns ipv6 MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ http://dns-lab.com/downloads/knot-dns/ Modified: head/dns/knot/files/knot.in ============================================================================== --- head/dns/knot/files/knot.in Tue Feb 18 12:31:49 2014 (r344878) +++ head/dns/knot/files/knot.in Tue Feb 18 12:39:42 2014 (r344879) @@ -34,7 +34,8 @@ extra_commands=reload reload_cmd="${name}_reload" start_precmd="${name}_prestart" -knot_prestart() { +knot_prestart() +{ if [ ! -d /var/run/knot ]; then install -d -o %%USERS%% -g %%GROUPS%% /var/run/knot fi @@ -46,7 +47,12 @@ knot_prestart() { echo "Notice: not running as uid.gid knot.knot or bind.bind" fi ${control} -c ${knot_config} checkconf - } +} -knot_reload() { +knot_reload() +{ echo "Reloading ${name}." + ${control} -c ${knot_config} reload +} + +run_rc_command "$1"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402181239.s1ICdhbK019416>