From owner-svn-ports-all@freebsd.org Fri Aug 19 01:50:55 2016 Return-Path: Delivered-To: svn-ports-all@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 CA647BA90C0; Fri, 19 Aug 2016 01:50:55 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7429D1635; Fri, 19 Aug 2016 01:50:55 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id aYxRb8D1xnROdaYxSbJk7c; Thu, 18 Aug 2016 19:50:54 -0600 X-Authority-Analysis: v=2.2 cv=eo2d9chX c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=7z1cN_iqozsA:10 a=ylX8_5QwAAAA:8 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=tULsBB48uLnrhVx3XtQA:9 a=iZyaqenN3ho1YRgQTAlP:22 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id E615513753; Thu, 18 Aug 2016 18:50:52 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id u7J1oqCC020707; Thu, 18 Aug 2016 18:50:52 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201608190150.u7J1oqCC020707@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Adam Weinberger cc: Cy Schubert , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r420435 - in head/sysutils: cfengine33 cfengine34 cfengine35 cfengine36 cfengine37 cfengine38 cfengine39 In-Reply-To: Message from Adam Weinberger of "Thu, 18 Aug 2016 19:11:49 -0600." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Aug 2016 18:50:52 -0700 X-CMAE-Envelope: MS4wfOzqb/i7oA/5nQ1pdiJZCz9/KIOD1HzuEhHHF44R712k8sSVx4b0pcqudrxvAfJhLjV3wAWe4mOclnOpRG79eoDOSH6Qkc7zukW3yjhbLK/Mojmakuxr i+WcXp9Wcs1E3W4lehtrR/jNNrFHyeuo6tl+jaiK+f9rDu+C2hXZq3NK53krMB2b1Bl+LtnAq4Gz4yrDNPOOyO7fkJQkBQS58zJrzm20eyT1M9PaN6ISxont WWZClHhysSQU2eS8Fa1bTBEfG5HT02pXkfGGrchS0Sf0mLICciaztlMvfOe0MV+VZqeMUnXiWiIWAPb2ql56/w== X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 01:50:55 -0000 In message , Adam Weinberger wr ites: > > On 18 Aug, 2016, at 18:37, Cy Schubert wrote: > > > > Author: cy > > Date: Fri Aug 19 00:37:47 2016 > > New Revision: 420435 > > URL: https://svnweb.freebsd.org/changeset/ports/420435 > > > > Log: > > Update @unexec with modern @postunexec. > > > > Modified: head/sysutils/cfengine33/pkg-plist > > =========================================================================== > === > > --- head/sysutils/cfengine33/pkg-plist Thu Aug 18 23:28:59 2016 > (r420434) > > +++ head/sysutils/cfengine33/pkg-plist Fri Aug 19 00:37:47 2016 > (r420435) > > > > -@unexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || : > > +@postunexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || : > > Why not just plain old > @dir /var/cfengine/inputs > @dir will happily ignore non-empty directories. > > And combining with your next commit, you can just > @dir(root,wheel,700) /var/cfengine/ppkeys On second thought, this makes more sense. Thanks. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.