From owner-freebsd-ports@FreeBSD.ORG Wed Oct 19 01:00:33 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6E66106564A for ; Wed, 19 Oct 2011 01:00:33 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 6938B8FC17 for ; Wed, 19 Oct 2011 01:00:32 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.4/8.14.4/NETPLEX) with ESMTP id p9J0cXjs004008 for ; Tue, 18 Oct 2011 20:38:33 -0400 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.6 (mail.netplex.net [204.213.176.10]); Tue, 18 Oct 2011 20:38:33 -0400 (EDT) Date: Tue, 18 Oct 2011 20:38:33 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: ports@freebsd.org In-Reply-To: <201110190020.p9J0KGm4012016@repoman.freebsd.org> Message-ID: References: <201110190020.p9J0KGm4012016@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: cvs commit: ports/devel/ppl Makefile distinfo pkg-plist ports/devel/ppl/files patch-configure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2011 01:00:33 -0000 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 > 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