From: "David Nyström" <david.c.nystrom@gmail.com>
To: lei.yang@windriver.com
Cc: meta-virtualization@yoctoproject.org
Subject: Re: [PATCH] Update the netcat with debian patches to fix some error
Date: Sat, 05 Jan 2013 14:55:59 +0100 [thread overview]
Message-ID: <50E830EF.6030102@gmail.com> (raw)
In-Reply-To: <1357393406-11707-1-git-send-email-lei.yang@windriver.com>
On 01/05/2013 02:43 PM, lei.yang@windriver.com wrote:
> From: Lei Yang <lei.yang@windriver.com>
>
> I know we have the patches in debian dir in the previous version,
> but I meet lots of patch error.so I change it to debian.org version
>
> The background I do this change is:
> I'm a kvm tester,without patches it will meet error when I do the migrate
> testing with -incoming "exec:nc -l 5200" it meets error:
> "nc: Protocol no available."
>
> You can reproduce it simplely with "nc -l 5200" on your board
>
> Lei
>
> Signed-off-by: Lei Yang <lei.yang@windriver.com>
> ---
[snip]
> +do_compile() {
> + cd ${S}
> + while read line; do patch -p1 <debian/patches/$line; done <debian/patches/series
Is this line really needed ?
I cant seem to find any file called debian/patches/* in ${S}.
> + pkgrel=4
> + oe_runmake CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\""
I assume this has been tested with package_rpm as well.
> +}
> +
> +do_install() {
> + install -d ${D}${bindir}
> + install -m 755 ${S}/nc ${D}${bindir}/nc.${BPN}
> +}
> +
> +ALTERNATIVE_${PN} = "nc"
> +ALTERNATIVE_PRIORITY = "101"
> +
> +BBCLASSEXTEND = "nativesdk"
> diff --git a/recipes-networking/netcat/openbsd-netcat_1.6.bb b/recipes-networking/netcat/openbsd-netcat_1.6.bb
> deleted file mode 100644
> index 1ae3f37..0000000
> --- a/recipes-networking/netcat/openbsd-netcat_1.6.bb
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -DESCRIPTION = "OpenBSD Netcat"
> -HOMEPAGE = "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"
> -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"
>
next prev parent reply other threads:[~2013-01-05 13:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-05 13:43 [PATCH] Update the netcat with debian patches to fix some error lei.yang
2013-01-05 13:55 ` David Nyström [this message]
2013-01-05 14:26 ` lei yang
2013-01-05 14:46 ` David Nyström
2013-01-05 18:44 ` Bruce Ashfield
2013-01-06 0:28 ` Lei Yang
2013-01-06 0:53 ` Bruce Ashfield
2013-01-06 2:03 ` Lei Yang
2013-01-06 3:00 ` Bruce Ashfield
2013-01-06 3:37 ` Bruce Ashfield
2013-01-06 6:10 ` Lei Yang
2013-01-06 12:59 ` David Nyström
2013-01-06 15:48 ` Bruce Ashfield
-- strict thread matches above, loose matches on Subject: below --
2013-01-05 8:45 lei.yang
2013-01-05 11:38 ` David Nyström
2013-01-05 13:13 ` lei yang
2013-01-05 13:14 ` lei yang
2013-01-05 13:23 ` lei yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50E830EF.6030102@gmail.com \
--to=david.c.nystrom@gmail.com \
--cc=lei.yang@windriver.com \
--cc=meta-virtualization@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.