From owner-svn-ports-head@FreeBSD.ORG Tue Feb 18 12:39:43 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AFA2A9DF; Tue, 18 Feb 2014 12:39:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 97D0B1FEB; Tue, 18 Feb 2014 12:39:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1ICdhjP019418; Tue, 18 Feb 2014 12:39:43 GMT (envelope-from feld@svn.freebsd.org) Received: (from feld@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1ICdhbK019416; Tue, 18 Feb 2014 12:39:43 GMT (envelope-from feld@svn.freebsd.org) Message-Id: <201402181239.s1ICdhbK019416@svn.freebsd.org> From: Mark Felder Date: Tue, 18 Feb 2014 12:39:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344879 - in head/dns/knot: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2014 12:39:43 -0000 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"