cvs commit: ports/devel/ppl Makefile distinfo pkg-plist
ports/devel/ppl/files patch-configure
Daniel Eischen
deischen at freebsd.org
Wed Oct 19 01:00:33 UTC 2011
On Wed, 19 Oct 2011, Daniel Eischen wrote:
> deischen 2011-10-19 00:20:16 UTC
>
> FreeBSD ports repository
>
> Modified files:
> devel/ppl Makefile distinfo pkg-plist
> Removed files:
> devel/ppl/files patch-configure
> Log:
> Upgrade to 0.11.2.
>
> Submitted by: Mark Murray <markm_at_fbsd_dot_org
>
> Revision Changes Path
> 1.27 +5 -6 ports/devel/ppl/Makefile
> 1.11 +2 -2 ports/devel/ppl/distinfo
> 1.2 +0 -21 ports/devel/ppl/files/patch-configure (dead)
> 1.11 +1141 -1036 ports/devel/ppl/pkg-plist
I just updated the above port and I noticed that the
pkg-plist (both before and after the update) had some
files of the form:
%%PORTDOCS%%%%DOCSDIR%%/../pwl
%%PORTDOCS%%%%DOCSDIR%%/../pwl/bar/
%%PORTDOCS%%%%DOCSDIR%%/../pwl/bar/a
%%PORTDOCS%%%%DOCSDIR%%/../pwl/bar/b
When I tried 'make package; make deinstall; pkg_add ...'
I got errors:
share/doc/ppl/../pwl/BUGS: Path contains '..'
share/doc/ppl/../pwl/COPYING: Path contains '..'
share/doc/ppl/../pwl/CREDITS: Path contains '..'
share/doc/ppl/../pwl/ChangeLog: Path contains '..'
...
tar: Error exit delayed from previous errors.
pkg_add: tar extract of /usr/ports/packages/All/ppl-0.10.2_1.tbz failed!
pkg_add: unable to extract '/usr/ports/packages/All/ppl-0.10.2_1.tbz'!
Is there anything wrong with having '..' in the pathname
of files in pkg-plist? Since %%DOCSDIR%% is 'ppl' for this
port, should files installed under pwl just be specified as
this:
%%PORTDOCS%%/pwl/bar
%%PORTDOCS%%/pwl/bar/a
%%PORTDOCS%%/pwl/bar/b
...
and omit %%DOCSDIR%% from their path?
Thanks for any insights.
--
DE
More information about the freebsd-ports
mailing list