Date: Thu, 20 Jun 2013 21:48:14 +0200 From: Koop Mast <kwm@rainbow-runner.nl> To: Boris Samorodov <bsam@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r321409 - head/comms/efax Message-ID: <51C35C7E.7090903@rainbow-runner.nl> In-Reply-To: <201306201853.r5KIr8UD034430@svn.freebsd.org> References: <201306201853.r5KIr8UD034430@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51C35C7E.7090903>