From owner-svn-ports-all@FreeBSD.ORG Thu Jun 20 19:48:22 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7AF9A26B; Thu, 20 Jun 2013 19:48:22 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep22.mx.upcmail.net (fep22.mx.upcmail.net [62.179.121.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4146E1238; Thu, 20 Jun 2013 19:48:20 +0000 (UTC) Received: from edge01.upcmail.net ([192.168.13.236]) by viefep22-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20130620194814.LRYN17987.viefep22-int.chello.at@edge01.upcmail.net>; Thu, 20 Jun 2013 21:48:14 +0200 Received: from [127.0.0.1] ([178.84.132.32]) by edge01.upcmail.net with edge id qjoC1l02U0i5fp601joCe1; Thu, 20 Jun 2013 21:48:13 +0200 X-SourceIP: 178.84.132.32 Message-ID: <51C35C7E.7090903@rainbow-runner.nl> Date: Thu, 20 Jun 2013 21:48:14 +0200 From: Koop Mast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Boris Samorodov Subject: Re: svn commit: r321409 - head/comms/efax References: <201306201853.r5KIr8UD034430@svn.freebsd.org> In-Reply-To: <201306201853.r5KIr8UD034430@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130620-1, 20-06-2013), Outbound message X-Antivirus-Status: Clean Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 20 Jun 2013 19:48:22 -0000 On 20-6-2013 20:53, Boris Samorodov wrote: > Author: bsam > Date: Thu Jun 20 18:53:07 2013 > New Revision: 321409 > URL: http://svnweb.freebsd.org/changeset/ports/321409 > > Log: > Absolute paths does not play good with pkg_* tools, > while pkgng uses them just fine. So change current > directory to / before touching /var files and directories. > > Spotted by: antoine (thanks!) > > Modified: > head/comms/efax/pkg-plist > > Modified: head/comms/efax/pkg-plist > ============================================================================== > --- head/comms/efax/pkg-plist Thu Jun 20 18:38:42 2013 (r321408) > +++ head/comms/efax/pkg-plist Thu Jun 20 18:53:07 2013 (r321409) > @@ -3,7 +3,8 @@ bin/efax > bin/efix > etc/efax.rc.sample > etc/efax.rc.sample.ja > -@unexec /bin/rm /var/spool/fax/outgoing/lock > -@dirrmtry /var/spool/fax/incoming > -@dirrmtry /var/spool/fax/outgoing > -@dirrmtry /var/spool/fax > +@cwd / > +var/spool/fax/outgoing/lock > +@dirrmtry var/spool/fax/incoming > +@dirrmtry var/spool/fax/outgoing > +@dirrmtry var/spool/fax Please add a "@cwd" at the end. This will reset the prefix back to default. While this is probably not usefull in this port, if another port would use a MACRO, say USES=desktop-file-utils, that adds lines the the plist. Without the @cwd at the end this will result in really weird errors. -Koop