2009/3/31 Stroller <strol...@stellar.eclipse.co.uk>:
>
> On 31 Mar 2009, at 09:47, Daniel Pielmeier wrote:
>
>> 2009/3/31 Stroller <strol...@stellar.eclipse.co.uk>:
>>>
>>> I tried copying nmap-4.76.ebuild (the latest in the Portage tree) to
>>> /usr/local/portage/net-analyzer/nmap/nmap-4.85_beta5.ebuild and added the
>>> MY_P="${P/_beta/BETA}" line from
>>> http://bugs.gentoo.org/attachment.cgi?id=8748&action=view but I still get
>>> "File nmap-4.85_beta5.tar.bz2 doesn't exist" when I try to create a
>>> manifest. I also tried using MY_P="${P/_beta/BETA/}" in case it needed
>>> that
>>> extra slash, but no joy.
>>
>> This replacement should do normally.
>>
>> Did you try "ebuild nmap-4.85_beta5.ebuild clean" before "ebuild
>> nmap-4.85_beta5.ebuild manifest"
>
> Nope. :(
>
> Output attached in case I'm missing something really stupid.
>
> Stroller.
>

Yes you need to adapt SRC_URI and you probably also need to set S to
the correct location.

MY_P="${P/_beta/BETA}"
SRC_URI="http://www.insecure.org/nmap/dist/${MY_P}.tar.bz2";
S=${WORKDIR}/${MY_P}

-- 
Regards,
Daniel

Reply via email to