svn commit: r321409 - head/comms/efax
Koop Mast
kwm at rainbow-runner.nl
Thu Jun 20 19:48:22 UTC 2013
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
> - at unexec /bin/rm /var/spool/fax/outgoing/lock
> - at dirrmtry /var/spool/fax/incoming
> - at dirrmtry /var/spool/fax/outgoing
> - at dirrmtry /var/spool/fax
> + at cwd /
> +var/spool/fax/outgoing/lock
> + at dirrmtry var/spool/fax/incoming
> + at dirrmtry var/spool/fax/outgoing
> + at 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
More information about the svn-ports-head
mailing list