* [meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test
@ 2013-01-07 1:38 lei.yang
2013-01-07 2:15 ` Joe MacDonald
0 siblings, 1 reply; 5+ messages in thread
From: lei.yang @ 2013-01-07 1:38 UTC (permalink / raw)
To: openembedded-devel, Joe.MacDonald, meta-virtualization,
bruce.ashfield, david.c.nystrom
From: Lei Yang <lei.yang@windriver.com>
The netcat-openbsd in meta-virtualization layer has bugs.
This update version will fix "nc: Protocol no available." error.
As bruce point, we want to keep netcat in the meta-networking,
which meta-virtualization will depend on,and this patch will let
netcat-openbsd with low priority to install
Lei
Signed-off-by: Lei Yang <lei.yang@windriver.com>
---
.../recipes-support/netcat/netcat-openbsd_1.89.bb | 30 ++++++++++++++++++++
meta-networking/recipes-support/netcat/netcat.inc | 5 +++
.../recipes-support/netcat/netcat_0.7.1.bb | 11 +++----
3 files changed, 40 insertions(+), 6 deletions(-)
create mode 100644 meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
create mode 100644 meta-networking/recipes-support/netcat/netcat.inc
diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
new file mode 100644
index 0000000..f83caee
--- /dev/null
+++ b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
@@ -0,0 +1,30 @@
+require netcat.inc
+DESCRIPTION = "OpenBSD Netcat"
+HOMEPAGE = "http://ftp.debian.org"
+LICENSE = "BSD-3-Clause"
+PR = "r0"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89.orig.tar.gz;name=netcat \
+ ${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89-4.diff.gz;name=netcat-patch"
+
+SRC_URI[netcat.md5sum] = "7238ce15aae43069e96ba7faf03f153e"
+SRC_URI[netcat.sha256sum] = "72e844dde8a2a7cba61971d493758dbea9ef0b164bccef15fd4a36490dc77f2b"
+SRC_URI[netcat-patch.md5sum] = "00c65aa22243b76998174c733cbb64cc"
+SRC_URI[netcat-patch.sha256sum] = "d5b6b2bd9788114bdcfbb71acad0263720b4fdc41529e287adf451b8610f84f1"
+
+S = "${WORKDIR}/${PN}-${PV}.orig"
+
+do_configure[noexec] = "1"
+
+do_compile() {
+ cd ${S}
+ while read line; do patch -p1 <debian/patches/$line; done <debian/patches/series
+ pkgrel=4
+ oe_runmake CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\""
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 755 ${S}/nc ${D}${bindir}/nc.${PN}
+}
+ALTERNATIVE_PRIORITY = "50"
diff --git a/meta-networking/recipes-support/netcat/netcat.inc b/meta-networking/recipes-support/netcat/netcat.inc
new file mode 100644
index 0000000..6c815d9
--- /dev/null
+++ b/meta-networking/recipes-support/netcat/netcat.inc
@@ -0,0 +1,5 @@
+SECTION = "console/network"
+inherit update-alternatives gettext
+
+ALTERNATIVE_${PN} = "nc"
+
diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
index c5ab85d..c4f1f33 100644
--- a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
+++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
@@ -1,21 +1,20 @@
+require netcat.inc
DESCRIPTION = "GNU Netcat"
HOMEPAGE = "http://netcat.sourceforge.net"
-SECTION = "console/network"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
-inherit autotools update-alternatives gettext
+inherit autotools
do_install_append() {
- mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
+ install -d ${D}${bindir}
+ mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
}
-
-ALTERNATIVE_${PN} = "nc"
ALTERNATIVE_PRIORITY = "100"
--
1.7.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test
2013-01-07 1:38 [meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test lei.yang
@ 2013-01-07 2:15 ` Joe MacDonald
2013-01-07 2:24 ` Lei Yang
2013-01-07 20:25 ` Joe MacDonald
0 siblings, 2 replies; 5+ messages in thread
From: Joe MacDonald @ 2013-01-07 2:15 UTC (permalink / raw)
To: lei.yang; +Cc: meta-virtualization, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 4374 bytes --]
[[meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test] On 13.01.07 (Mon 09:38) lei.yang@windriver.com wrote:
> From: Lei Yang <lei.yang@windriver.com>
>
> The netcat-openbsd in meta-virtualization layer has bugs.
> This update version will fix "nc: Protocol no available." error.
> As bruce point, we want to keep netcat in the meta-networking,
> which meta-virtualization will depend on,and this patch will let
> netcat-openbsd with low priority to install
Okay, I hadn't seen this version yet. Looks okay, I think. I'll merge
it anyway soon, unless there's further discussion. The dependency on
meta-networking from meta-virtualization is probably out of scope. Ping
me any time if you've got any questions about the relationship between
meta-oe/meta-networking and my github meta-networking.
Thanks, Lei.
-J.
>
> Lei
>
> Signed-off-by: Lei Yang <lei.yang@windriver.com>
> ---
> .../recipes-support/netcat/netcat-openbsd_1.89.bb | 30 ++++++++++++++++++++
> meta-networking/recipes-support/netcat/netcat.inc | 5 +++
> .../recipes-support/netcat/netcat_0.7.1.bb | 11 +++----
> 3 files changed, 40 insertions(+), 6 deletions(-)
> create mode 100644 meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
> create mode 100644 meta-networking/recipes-support/netcat/netcat.inc
>
> diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
> new file mode 100644
> index 0000000..f83caee
> --- /dev/null
> +++ b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
> @@ -0,0 +1,30 @@
> +require netcat.inc
> +DESCRIPTION = "OpenBSD Netcat"
> +HOMEPAGE = "http://ftp.debian.org"
> +LICENSE = "BSD-3-Clause"
> +PR = "r0"
> +
> +SRC_URI = "${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89.orig.tar.gz;name=netcat \
> + ${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89-4.diff.gz;name=netcat-patch"
> +
> +SRC_URI[netcat.md5sum] = "7238ce15aae43069e96ba7faf03f153e"
> +SRC_URI[netcat.sha256sum] = "72e844dde8a2a7cba61971d493758dbea9ef0b164bccef15fd4a36490dc77f2b"
> +SRC_URI[netcat-patch.md5sum] = "00c65aa22243b76998174c733cbb64cc"
> +SRC_URI[netcat-patch.sha256sum] = "d5b6b2bd9788114bdcfbb71acad0263720b4fdc41529e287adf451b8610f84f1"
> +
> +S = "${WORKDIR}/${PN}-${PV}.orig"
> +
> +do_configure[noexec] = "1"
> +
> +do_compile() {
> + cd ${S}
> + while read line; do patch -p1 <debian/patches/$line; done <debian/patches/series
> + pkgrel=4
> + oe_runmake CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\""
> +}
> +
> +do_install() {
> + install -d ${D}${bindir}
> + install -m 755 ${S}/nc ${D}${bindir}/nc.${PN}
> +}
> +ALTERNATIVE_PRIORITY = "50"
> diff --git a/meta-networking/recipes-support/netcat/netcat.inc b/meta-networking/recipes-support/netcat/netcat.inc
> new file mode 100644
> index 0000000..6c815d9
> --- /dev/null
> +++ b/meta-networking/recipes-support/netcat/netcat.inc
> @@ -0,0 +1,5 @@
> +SECTION = "console/network"
> +inherit update-alternatives gettext
> +
> +ALTERNATIVE_${PN} = "nc"
> +
> diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
> index c5ab85d..c4f1f33 100644
> --- a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
> +++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
> @@ -1,21 +1,20 @@
> +require netcat.inc
> DESCRIPTION = "GNU Netcat"
> HOMEPAGE = "http://netcat.sourceforge.net"
> -SECTION = "console/network"
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>
> -PR = "r0"
> +PR = "r1"
>
> SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
>
> SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
> SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
>
> -inherit autotools update-alternatives gettext
> +inherit autotools
>
> do_install_append() {
> - mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
> + install -d ${D}${bindir}
> + mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
> }
> -
> -ALTERNATIVE_${PN} = "nc"
> ALTERNATIVE_PRIORITY = "100"
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test
2013-01-07 2:15 ` Joe MacDonald
@ 2013-01-07 2:24 ` Lei Yang
2013-01-07 2:36 ` Joe MacDonald
2013-01-07 20:25 ` Joe MacDonald
1 sibling, 1 reply; 5+ messages in thread
From: Lei Yang @ 2013-01-07 2:24 UTC (permalink / raw)
To: Joe MacDonald; +Cc: meta-virtualization, openembedded-devel
On 01/07/2013 10:15 AM, Joe MacDonald wrote:
> [[meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test] On 13.01.07 (Mon 09:38) lei.yang@windriver.com wrote:
>
>> From: Lei Yang<lei.yang@windriver.com>
>>
>> The netcat-openbsd in meta-virtualization layer has bugs.
>> This update version will fix "nc: Protocol no available." error.
>> As bruce point, we want to keep netcat in the meta-networking,
>> which meta-virtualization will depend on,and this patch will let
>> netcat-openbsd with low priority to install
> Okay, I hadn't seen this version yet. Looks okay, I think. I'll merge
> it anyway soon, unless there's further discussion. The dependency on
> meta-networking from meta-virtualization is probably out of scope. Ping
> me any time if you've got any questions about the relationship between
> meta-oe/meta-networking and my github meta-networking.
Actually I only see meta-oe/meta-networking. I don't know you have a
github meta-networking
Usually, the patch check into which meta-networking first. I don't know
the background.
Lei
> Thanks, Lei.
>
> -J.
>
>> Lei
>>
>> Signed-off-by: Lei Yang<lei.yang@windriver.com>
>> ---
>> .../recipes-support/netcat/netcat-openbsd_1.89.bb | 30 ++++++++++++++++++++
>> meta-networking/recipes-support/netcat/netcat.inc | 5 +++
>> .../recipes-support/netcat/netcat_0.7.1.bb | 11 +++----
>> 3 files changed, 40 insertions(+), 6 deletions(-)
>> create mode 100644 meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
>> create mode 100644 meta-networking/recipes-support/netcat/netcat.inc
>>
>> diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
>> new file mode 100644
>> index 0000000..f83caee
>> --- /dev/null
>> +++ b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
>> @@ -0,0 +1,30 @@
>> +require netcat.inc
>> +DESCRIPTION = "OpenBSD Netcat"
>> +HOMEPAGE = "http://ftp.debian.org"
>> +LICENSE = "BSD-3-Clause"
>> +PR = "r0"
>> +
>> +SRC_URI = "${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89.orig.tar.gz;name=netcat \
>> + ${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89-4.diff.gz;name=netcat-patch"
>> +
>> +SRC_URI[netcat.md5sum] = "7238ce15aae43069e96ba7faf03f153e"
>> +SRC_URI[netcat.sha256sum] = "72e844dde8a2a7cba61971d493758dbea9ef0b164bccef15fd4a36490dc77f2b"
>> +SRC_URI[netcat-patch.md5sum] = "00c65aa22243b76998174c733cbb64cc"
>> +SRC_URI[netcat-patch.sha256sum] = "d5b6b2bd9788114bdcfbb71acad0263720b4fdc41529e287adf451b8610f84f1"
>> +
>> +S = "${WORKDIR}/${PN}-${PV}.orig"
>> +
>> +do_configure[noexec] = "1"
>> +
>> +do_compile() {
>> + cd ${S}
>> + while read line; do patch -p1<debian/patches/$line; done<debian/patches/series
>> + pkgrel=4
>> + oe_runmake CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\""
>> +}
>> +
>> +do_install() {
>> + install -d ${D}${bindir}
>> + install -m 755 ${S}/nc ${D}${bindir}/nc.${PN}
>> +}
>> +ALTERNATIVE_PRIORITY = "50"
>> diff --git a/meta-networking/recipes-support/netcat/netcat.inc b/meta-networking/recipes-support/netcat/netcat.inc
>> new file mode 100644
>> index 0000000..6c815d9
>> --- /dev/null
>> +++ b/meta-networking/recipes-support/netcat/netcat.inc
>> @@ -0,0 +1,5 @@
>> +SECTION = "console/network"
>> +inherit update-alternatives gettext
>> +
>> +ALTERNATIVE_${PN} = "nc"
>> +
>> diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
>> index c5ab85d..c4f1f33 100644
>> --- a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
>> +++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
>> @@ -1,21 +1,20 @@
>> +require netcat.inc
>> DESCRIPTION = "GNU Netcat"
>> HOMEPAGE = "http://netcat.sourceforge.net"
>> -SECTION = "console/network"
>> LICENSE = "GPLv2"
>> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>>
>> -PR = "r0"
>> +PR = "r1"
>>
>> SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
>>
>> SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
>> SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
>>
>> -inherit autotools update-alternatives gettext
>> +inherit autotools
>>
>> do_install_append() {
>> - mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
>> + install -d ${D}${bindir}
>> + mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
>> }
>> -
>> -ALTERNATIVE_${PN} = "nc"
>> ALTERNATIVE_PRIORITY = "100"
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test
2013-01-07 2:24 ` Lei Yang
@ 2013-01-07 2:36 ` Joe MacDonald
0 siblings, 0 replies; 5+ messages in thread
From: Joe MacDonald @ 2013-01-07 2:36 UTC (permalink / raw)
To: Lei Yang; +Cc: meta-virtualization, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 5476 bytes --]
[Re: [meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test] On 13.01.07 (Mon 10:24) Lei Yang wrote:
> On 01/07/2013 10:15 AM, Joe MacDonald wrote:
> >[[meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test] On 13.01.07 (Mon 09:38) lei.yang@windriver.com wrote:
> >
> >>From: Lei Yang<lei.yang@windriver.com>
> >>
> >>The netcat-openbsd in meta-virtualization layer has bugs.
> >>This update version will fix "nc: Protocol no available." error.
> >>As bruce point, we want to keep netcat in the meta-networking,
> >>which meta-virtualization will depend on,and this patch will let
> >>netcat-openbsd with low priority to install
> >Okay, I hadn't seen this version yet. Looks okay, I think. I'll merge
> >it anyway soon, unless there's further discussion. The dependency on
> >meta-networking from meta-virtualization is probably out of scope. Ping
> >me any time if you've got any questions about the relationship between
> >meta-oe/meta-networking and my github meta-networking.
>
> Actually I only see meta-oe/meta-networking. I don't know you have a
> github meta-networking
> Usually, the patch check into which meta-networking first. I don't
> know the background.
meta-oe/meta-networking is the primary source, everything must go
through there first.
The other is, as I said, a read-only subtree of the former and helpful
for my particular use-case. Possibly yours, too, I don't know. I just
wasn't sure you knew that or had already been okay with having
meta-virtualization depending on a layer out of meta-oe. Maybe it
depends on other meta-oe layers too and so it's all a moot point.
-J.
>
> Lei
>
>
>
>
> >Thanks, Lei.
> >
> >-J.
> >
> >>Lei
> >>
> >>Signed-off-by: Lei Yang<lei.yang@windriver.com>
> >>---
> >> .../recipes-support/netcat/netcat-openbsd_1.89.bb | 30 ++++++++++++++++++++
> >> meta-networking/recipes-support/netcat/netcat.inc | 5 +++
> >> .../recipes-support/netcat/netcat_0.7.1.bb | 11 +++----
> >> 3 files changed, 40 insertions(+), 6 deletions(-)
> >> create mode 100644 meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
> >> create mode 100644 meta-networking/recipes-support/netcat/netcat.inc
> >>
> >>diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
> >>new file mode 100644
> >>index 0000000..f83caee
> >>--- /dev/null
> >>+++ b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
> >>@@ -0,0 +1,30 @@
> >>+require netcat.inc
> >>+DESCRIPTION = "OpenBSD Netcat"
> >>+HOMEPAGE = "http://ftp.debian.org"
> >>+LICENSE = "BSD-3-Clause"
> >>+PR = "r0"
> >>+
> >>+SRC_URI = "${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89.orig.tar.gz;name=netcat \
> >>+ ${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89-4.diff.gz;name=netcat-patch"
> >>+
> >>+SRC_URI[netcat.md5sum] = "7238ce15aae43069e96ba7faf03f153e"
> >>+SRC_URI[netcat.sha256sum] = "72e844dde8a2a7cba61971d493758dbea9ef0b164bccef15fd4a36490dc77f2b"
> >>+SRC_URI[netcat-patch.md5sum] = "00c65aa22243b76998174c733cbb64cc"
> >>+SRC_URI[netcat-patch.sha256sum] = "d5b6b2bd9788114bdcfbb71acad0263720b4fdc41529e287adf451b8610f84f1"
> >>+
> >>+S = "${WORKDIR}/${PN}-${PV}.orig"
> >>+
> >>+do_configure[noexec] = "1"
> >>+
> >>+do_compile() {
> >>+ cd ${S}
> >>+ while read line; do patch -p1<debian/patches/$line; done<debian/patches/series
> >>+ pkgrel=4
> >>+ oe_runmake CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\""
> >>+}
> >>+
> >>+do_install() {
> >>+ install -d ${D}${bindir}
> >>+ install -m 755 ${S}/nc ${D}${bindir}/nc.${PN}
> >>+}
> >>+ALTERNATIVE_PRIORITY = "50"
> >>diff --git a/meta-networking/recipes-support/netcat/netcat.inc b/meta-networking/recipes-support/netcat/netcat.inc
> >>new file mode 100644
> >>index 0000000..6c815d9
> >>--- /dev/null
> >>+++ b/meta-networking/recipes-support/netcat/netcat.inc
> >>@@ -0,0 +1,5 @@
> >>+SECTION = "console/network"
> >>+inherit update-alternatives gettext
> >>+
> >>+ALTERNATIVE_${PN} = "nc"
> >>+
> >>diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
> >>index c5ab85d..c4f1f33 100644
> >>--- a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
> >>+++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
> >>@@ -1,21 +1,20 @@
> >>+require netcat.inc
> >> DESCRIPTION = "GNU Netcat"
> >> HOMEPAGE = "http://netcat.sourceforge.net"
> >>-SECTION = "console/network"
> >> LICENSE = "GPLv2"
> >> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> >>
> >>-PR = "r0"
> >>+PR = "r1"
> >>
> >> SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
> >>
> >> SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
> >> SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
> >>
> >>-inherit autotools update-alternatives gettext
> >>+inherit autotools
> >>
> >> do_install_append() {
> >>- mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
> >>+ install -d ${D}${bindir}
> >>+ mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
> >> }
> >>-
> >>-ALTERNATIVE_${PN} = "nc"
> >> ALTERNATIVE_PRIORITY = "100"
>
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test
2013-01-07 2:15 ` Joe MacDonald
2013-01-07 2:24 ` Lei Yang
@ 2013-01-07 20:25 ` Joe MacDonald
1 sibling, 0 replies; 5+ messages in thread
From: Joe MacDonald @ 2013-01-07 20:25 UTC (permalink / raw)
To: lei.yang; +Cc: meta-virtualization, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 4789 bytes --]
[Re: [meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test] On 13.01.06 (Sun 21:15) Joe MacDonald wrote:
> [[meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test] On 13.01.07 (Mon 09:38) lei.yang@windriver.com wrote:
>
> > From: Lei Yang <lei.yang@windriver.com>
> >
> > The netcat-openbsd in meta-virtualization layer has bugs.
> > This update version will fix "nc: Protocol no available." error.
> > As bruce point, we want to keep netcat in the meta-networking,
> > which meta-virtualization will depend on,and this patch will let
> > netcat-openbsd with low priority to install
>
> Okay, I hadn't seen this version yet. Looks okay, I think. I'll
> merge it anyway soon, unless there's further discussion.
Merged. Thanks, Lei.
-J.
> The dependency on
> meta-networking from meta-virtualization is probably out of scope. Ping
> me any time if you've got any questions about the relationship between
> meta-oe/meta-networking and my github meta-networking.
>
> Thanks, Lei.
>
> -J.
>
> >
> > Lei
> >
> > Signed-off-by: Lei Yang <lei.yang@windriver.com>
> > ---
> > .../recipes-support/netcat/netcat-openbsd_1.89.bb | 30 ++++++++++++++++++++
> > meta-networking/recipes-support/netcat/netcat.inc | 5 +++
> > .../recipes-support/netcat/netcat_0.7.1.bb | 11 +++----
> > 3 files changed, 40 insertions(+), 6 deletions(-)
> > create mode 100644 meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
> > create mode 100644 meta-networking/recipes-support/netcat/netcat.inc
> >
> > diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
> > new file mode 100644
> > index 0000000..f83caee
> > --- /dev/null
> > +++ b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
> > @@ -0,0 +1,30 @@
> > +require netcat.inc
> > +DESCRIPTION = "OpenBSD Netcat"
> > +HOMEPAGE = "http://ftp.debian.org"
> > +LICENSE = "BSD-3-Clause"
> > +PR = "r0"
> > +
> > +SRC_URI = "${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89.orig.tar.gz;name=netcat \
> > + ${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_1.89-4.diff.gz;name=netcat-patch"
> > +
> > +SRC_URI[netcat.md5sum] = "7238ce15aae43069e96ba7faf03f153e"
> > +SRC_URI[netcat.sha256sum] = "72e844dde8a2a7cba61971d493758dbea9ef0b164bccef15fd4a36490dc77f2b"
> > +SRC_URI[netcat-patch.md5sum] = "00c65aa22243b76998174c733cbb64cc"
> > +SRC_URI[netcat-patch.sha256sum] = "d5b6b2bd9788114bdcfbb71acad0263720b4fdc41529e287adf451b8610f84f1"
> > +
> > +S = "${WORKDIR}/${PN}-${PV}.orig"
> > +
> > +do_configure[noexec] = "1"
> > +
> > +do_compile() {
> > + cd ${S}
> > + while read line; do patch -p1 <debian/patches/$line; done <debian/patches/series
> > + pkgrel=4
> > + oe_runmake CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\""
> > +}
> > +
> > +do_install() {
> > + install -d ${D}${bindir}
> > + install -m 755 ${S}/nc ${D}${bindir}/nc.${PN}
> > +}
> > +ALTERNATIVE_PRIORITY = "50"
> > diff --git a/meta-networking/recipes-support/netcat/netcat.inc b/meta-networking/recipes-support/netcat/netcat.inc
> > new file mode 100644
> > index 0000000..6c815d9
> > --- /dev/null
> > +++ b/meta-networking/recipes-support/netcat/netcat.inc
> > @@ -0,0 +1,5 @@
> > +SECTION = "console/network"
> > +inherit update-alternatives gettext
> > +
> > +ALTERNATIVE_${PN} = "nc"
> > +
> > diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
> > index c5ab85d..c4f1f33 100644
> > --- a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
> > +++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
> > @@ -1,21 +1,20 @@
> > +require netcat.inc
> > DESCRIPTION = "GNU Netcat"
> > HOMEPAGE = "http://netcat.sourceforge.net"
> > -SECTION = "console/network"
> > LICENSE = "GPLv2"
> > LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> >
> > -PR = "r0"
> > +PR = "r1"
> >
> > SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
> >
> > SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
> > SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
> >
> > -inherit autotools update-alternatives gettext
> > +inherit autotools
> >
> > do_install_append() {
> > - mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
> > + install -d ${D}${bindir}
> > + mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
> > }
> > -
> > -ALTERNATIVE_${PN} = "nc"
> > ALTERNATIVE_PRIORITY = "100"
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-07 20:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-07 1:38 [meta-networking][PATCHV2] Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test lei.yang
2013-01-07 2:15 ` Joe MacDonald
2013-01-07 2:24 ` Lei Yang
2013-01-07 2:36 ` Joe MacDonald
2013-01-07 20:25 ` Joe MacDonald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox