Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Aug 2014 07:08:55 +0200
From:      olli hauer <ohauer@gmx.de>
To:        Dan Langille <dan@langille.org>
Cc:        ports@freebsd.org
Subject:   Re: vendir distfile has no top level directory
Message-ID:  <53E309E7.6050505@gmx.de>
In-Reply-To: <F301A2D5-B2C8-430C-A142-9B16CD20EA58@langille.org>
References:  <F301A2D5-B2C8-430C-A142-9B16CD20EA58@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@testing ~/tmp/distfiles]# tar -xf /var/ports/distfiles/bacula-web-6.0.1.tgz 
> [root@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@testing ~/tmp/distfiles]# 
> 
> Compare that to bacula, where I get:
> 
> [root@testing ~/tmp/distfiles]# tar -xf /var/ports/distfiles/bacula-7.0.4.tar.gz 
> [root@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E309E7.6050505>