[meta-virtualization] [PATCHv3 06/14] Added openbsd-netcat recipe, libvirt dependency

Bruce Ashfield bruce.ashfield at gmail.com
Thu Dec 6 06:40:57 PST 2012


On Thu, Dec 6, 2012 at 9:23 AM, David Nyström <david.c.nystrom at gmail.com>wrote:

> On 12/06/2012 03:20 PM, Bruce Ashfield wrote:
>
>> On Thu, Dec 6, 2012 at 9:03 AM, <david.c.nystrom at gmail.com> wrote:
>>
>>  From: David Nyström <david.nystrom at enea.com>
>>>
>>> ---
>>>   recipes-networking/netcat/open**bsd-netcat_1.6.bb<http://openbsd-netcat_1.6.bb>|   29
>>> +++++++++++++++++++++++
>>>   1 file changed, 29 insertions(+)
>>>   create mode 100644 recipes-networking/netcat/open**bsd-netcat_1.6.bb<http://openbsd-netcat_1.6.bb>
>>>
>>>
>> Random comment. I was surprised that this wasn't already in the
>> meta-networking
>> layer, so I went to have a look. And indeed I don't see it.
>>
>> Is that consistent with what other people see ? This seems like it could
>> go
>> in another
>> layer at some point.
>>
>> At a glance, I'm not seeing the libvirt dependency. Am I overlooking it
>> somehow ?
>>
>> Cheers,
>>
>> Bruce
>>
>>
> A good explanation is here:
> https://bugs.archlinux.org/**task/22068<https://bugs.archlinux.org/task/22068>
>
>
Aha.  I read the shortlog as meaning something else (or maybe I'm still
misunderstanding). I thought you were saying that netcat had a dependency
on libvirt, but it looks like it's more of a libvirt dependency on netcat
(the
way I translate things).

Cheers,

Bruce


>
>
>>
>>> diff --git a/recipes-networking/netcat/**openbsd-netcat_1.6.bbb/**
>>> recipes-networking/netcat/
>>> openbsd-netcat_1.6.bb
>>> new file mode 100644
>>> index 0000000..1ae3f37
>>> --- /dev/null
>>> +++ b/recipes-networking/netcat/op**enbsd-netcat_1.6.bb<http://openbsd-netcat_1.6.bb>
>>> @@ -0,0 +1,29 @@
>>> +DESCRIPTION = "OpenBSD Netcat"
>>> +HOMEPAGE = "http://code.google.com/p/**openbsd-netcat/<http://code.google.com/p/openbsd-netcat/>
>>> "
>>> +SECTION = "console/network"
>>> +LICENSE = "BSD-3-Clause"
>>> +PR = "r0"
>>> +
>>> +SRCREV = "5"
>>> +
>>> +SRC_URI = "svn://
>>> openbsd-netcat.googlecode.com/**svn;module=trunk;protocol=http<http://openbsd-netcat.googlecode.com/svn;module=trunk;protocol=http>
>>> **"
>>> +S = "${WORKDIR}/trunk"
>>> +
>>> +inherit update-alternatives gettext
>>> +
>>> +do_configure[noexec] = "1"
>>> +
>>> +do_compile() {
>>> +       cd ${S}
>>> +       oe_runmake
>>> +}
>>> +
>>> +do_install() {
>>> +       install -d ${D}${bindir}
>>> +       install -m 755 ${S}/nc ${D}${bindir}/nc.${BPN}
>>> +}
>>> +
>>> +ALTERNATIVE_${PN} = "nc"
>>> +ALTERNATIVE_PRIORITY = "101"
>>> +
>>> +BBCLASSEXTEND = "nativesdk"
>>> --
>>> 1.7.9.5
>>>
>>> ______________________________**_________________
>>> meta-virtualization mailing list
>>> meta-virtualization@**yoctoproject.org<meta-virtualization at yoctoproject.org>
>>> https://lists.yoctoproject.**org/listinfo/meta-**virtualization<https://lists.yoctoproject.org/listinfo/meta-virtualization>
>>>
>>>
>>
>>
>>
>


-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20121206/61e9a085/attachment.html>


More information about the meta-virtualization mailing list