From owner-svn-ports-head@freebsd.org Tue May 24 19:46:04 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5118B48722; Tue, 24 May 2016 19:46:04 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 86CA11C54; Tue, 24 May 2016 19:46:04 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id D4A306E0082; Tue, 24 May 2016 21:46:01 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id u4OJk1tc089616; Tue, 24 May 2016 21:46:01 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id u4OJk1PC089602; Tue, 24 May 2016 21:46:01 +0200 (CEST) (envelope-from lars) Date: Tue, 24 May 2016 21:46:01 +0200 From: Lars Engels To: Jason Unovitch Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r415589 - head/net/relayd/files Message-ID: <20160524194601.GZ15808@e-new.0x20.net> References: <201605211013.u4LADB9b091700@repo.freebsd.org> <20160524013357.GA53608@Silverstone> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HENu/cXyPKFN4XCQ" Content-Disposition: inline In-Reply-To: <20160524013357.GA53608@Silverstone> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 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, 24 May 2016 19:46:04 -0000 --HENu/cXyPKFN4XCQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 23, 2016 at 09:33:57PM -0400, Jason Unovitch wrote: > On Sat, May 21, 2016 at 10:13:11AM +0000, Lars Engels wrote: > > Author: lme > > Date: Sat May 21 10:13:11 2016 > > New Revision: 415589 > > URL: https://svnweb.freebsd.org/changeset/ports/415589 > >=20 > > Log: > > Check relayd's configuration with {start,restart,reload}_precmd in th= e rc script. > > =20 > > PR: 200914 > > Submitted by: Damien Fleuriot > > Approved by: maintainer timeout (11 months) > >=20 > > Modified: > > head/net/relayd/files/relayd.in > >=20 > > Modified: head/net/relayd/files/relayd.in > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- head/net/relayd/files/relayd.in Sat May 21 09:59:56 2016 (r415588) > > +++ head/net/relayd/files/relayd.in Sat May 21 10:13:11 2016 (r415589) > > @@ -22,9 +22,18 @@ load_rc_config $name > > =20 > > command=3D"%%PREFIX%%/sbin/relayd" > > relayctl=3D"%%PREFIX%%/sbin/relayctl" > > +start_precmd=3D"relayd_checkconfig" > > +reload_precmd=3D"relayd_checkconfig" > > +restart_precmd=3D"relayd_checkconfig" > > reload_cmd=3D"relayd_reload_cmd" > > extra_commands=3D"reload" > > =20 > > +relayd_checkconfig() > > +{ > > + echo "Performing sanity check on relayd configuration:" > > + eval ${command} ${relayd_flags} -n > > +} > > + > > relayd_reload_cmd () { > > ${relayctl} reload > > } >=20 > Can you bump PORTREVISION so end users will actually get this update? Of course. Thanks for the hint! --HENu/cXyPKFN4XCQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJXRK95XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t0CcIAKw7eeIx1JI3mLTq4TsPPS+l w43q/f+DF9+h/i6HQ1unQ9GsMIGKFds8LHnr32mxBy/OYQVt8qZTJYHwGWa9TW6L +4bGgv3W4zZ/uMHNU/liP8fkzhw+4yXjW1iWx8/0Y+zxzCj2U+YZMu3gni7znXez tVaLPea1Xsn0KmojmhXOjqc20UqmXvg9NrzunuV9mTGlc72VI4Ik6WF9gUwIC5X6 x7R+E2RKkaaOsNi3lgGdaodd/LwRV9jTM6C+l+M4Fcik0wBTN1cwBzJs2XjRUhb1 vycm9L+1oVMJZ0Z3ppgjfmd52035WzKFUp31+3YqxnTIcnpu35PMEe2RCvcdaDk= =HL1F -----END PGP SIGNATURE----- --HENu/cXyPKFN4XCQ--