vendir distfile has no top level directory

olli hauer ohauer at gmx.de
Thu Aug 7 05:09:04 UTC 2014


On 2014-08-07 05:18, Dan Langille wrote:
> I’m having a problem upgrading www/bacula-web to the latest version (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191583).
> 
> The problem: the vendor tarball has no top level directory.
> 
> e.g. 
> 
> [root at testing ~/tmp/distfiles]# tar -xf /var/ports/distfiles/bacula-web-6.0.1.tgz 
> [root at testing ~/tmp/distfiles]# ls
> DOCS			application		core			joblogs.php		pools.php
> README			backupjob-report.php	client-report.php	index.php		jobs.php		test.php
> [root at testing ~/tmp/distfiles]# 
> 
> Compare that to bacula, where I get:
> 
> [root at testing ~/tmp/distfiles]# tar -xf /var/ports/distfiles/bacula-7.0.4.tar.gz 
> [root at testing ~/tmp/distfiles]# ls
> bacula-7.0.4
> 
> Is there an optimal way to cater for this without pushing the issue upstream?
> 
>
Hi Dan,

you can specify NO_WRKSUBDIR=yes or overwrite the do-extract target.

PS:
I haven't found the 6.0.x source on sf.net only 5.0.x and 7.0.x

-- 
olli


More information about the freebsd-ports mailing list