From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Cc: Marcin Juszkiewicz <hrw@openembedded.org>
Subject: Re: [STABLE][PATCH 6/6] netcat: use update-alternatives as we have netcat in busybox too
Date: Sat, 31 Oct 2009 03:55:18 -0400 [thread overview]
Message-ID: <20091031075518.GL16188@denix.org> (raw)
In-Reply-To: <1256726758-22996-7-git-send-email-marcin@juszkiewicz.com.pl>
On Wed, Oct 28, 2009 at 11:45:58AM +0100, Marcin Juszkiewicz wrote:
> From: Marcin Juszkiewicz <hrw@openembedded.org>
>
> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Acked-by: Denys Dmytriyenko <denis@denix.org>
> ---
> recipes/netcat/netcat_0.7.1.bb | 13 +++++++++++--
> 1 files changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/netcat/netcat_0.7.1.bb b/recipes/netcat/netcat_0.7.1.bb
> index c7ceccd..7c4dfc5 100644
> --- a/recipes/netcat/netcat_0.7.1.bb
> +++ b/recipes/netcat/netcat_0.7.1.bb
> @@ -2,8 +2,17 @@ DESCRIPTION = "GNU Netcat"
> HOMEPAGE = "http://netcat.sourceforge.net"
> SECTION = "console/network"
> LICENSE = "GPLv2"
> -PR = "r1"
> +PR = "r3"
>
> SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
>
> -inherit autotools
> +inherit autotools update-alternatives
> +
> +do_install_append() {
> + mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
> +}
> +
> +ALTERNATIVE_NAME = "nc"
> +ALTERNATIVE_LINK = "${bindir}/nc"
> +ALTERNATIVE_PATH = "${bindir}/nc.${PN}"
> +ALTERNATIVE_PRIORITY = "100"
> --
> 1.6.5
>
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
prev parent reply other threads:[~2009-10-31 7:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 10:45 [STABLE] some updates from my queue Marcin Juszkiewicz
2009-10-28 10:45 ` [STABLE][PATCH 1/6] coreutils: add version 7.2 Marcin Juszkiewicz
2009-10-31 7:53 ` Denys Dmytriyenko
2009-10-28 10:45 ` [STABLE][PATCH 2/6] coreutils-native: remove autotools and quilt dependencies Marcin Juszkiewicz
2009-10-31 7:54 ` Denys Dmytriyenko
2009-10-28 10:45 ` [STABLE][PATCH 3/6] coreutils-native: make mandatory dep for all packages Marcin Juszkiewicz
2009-10-31 7:54 ` Denys Dmytriyenko
2009-10-28 10:45 ` [STABLE][PATCH 4/6] remove install-native package Marcin Juszkiewicz
2009-10-31 7:54 ` Denys Dmytriyenko
2009-10-28 10:45 ` [STABLE][PATCH 5/6] task-proper-tools: added few extra packages Marcin Juszkiewicz
2009-10-31 7:55 ` Denys Dmytriyenko
2009-10-28 10:45 ` [STABLE][PATCH 6/6] netcat: use update-alternatives as we have netcat in busybox too Marcin Juszkiewicz
2009-10-31 7:55 ` Denys Dmytriyenko [this message]
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=20091031075518.GL16188@denix.org \
--to=denis@denix.org \
--cc=hrw@openembedded.org \
--cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox