Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: openembedded-commits@lists.openembedded.org
Subject: Re: [oe-commits] Marko Lindqvist : coreutils: update to upstream version 8.21
Date: Sun, 14 Apr 2013 18:48:48 +0200	[thread overview]
Message-ID: <20130414164848.GG2475@jama> (raw)
In-Reply-To: <20130329103919.019B350446@opal>

[-- Attachment #1: Type: text/plain, Size: 6350 bytes --]

On Fri, Mar 29, 2013 at 10:39:19AM +0000, git@git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: c2fd59028a57356cff8d165edb71c45c3b05cc67
> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c2fd59028a57356cff8d165edb71c45c3b05cc67
> 
> Author: Marko Lindqvist <cazfi74@gmail.com>
> Date:   Sun Mar 24 07:35:57 2013 +0000
> 
> coreutils: update to upstream version 8.21
> 
> remove-gets.patch removed as issue is fixed upstream.
> 
> Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

coreutils-8.15 and newer build realpath which conflicts with busybox's
u-a.

Please add u-a settings for that in coreutils to fix upgrade path:

Configuring busybox.
ln: /usr/bin/realpath: File exists
....
update-alternatives: Error: not linking //usr/bin/realpath to /bin/busybox since //usr/bin/realpath exists and is not a link

> 
> ---
> 
>  .../coreutils/coreutils-8.14/remove-gets.patch     |   23 --------------------
>  .../coreutils-build-with-acl.patch                 |    0
>  .../coreutils/coreutils-8.21/dummy_help2man.patch  |   22 +++++++++++++++++++
>  .../remove-usr-local-lib-from-m4.patch             |    0
>  .../{coreutils_8.14.bb => coreutils_8.21.bb}       |   11 +++++----
>  5 files changed, 28 insertions(+), 28 deletions(-)
> 
> diff --git a/meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch b/meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
> deleted file mode 100644
> index 4f61c92..0000000
> --- a/meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -use gets iff its defined. eglibc 2.16 removed gets
> -
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> -Upstream-Status: Pending
> -
> -Index: coreutils-8.14/lib/stdio.in.h
> -===================================================================
> ---- coreutils-8.14.orig/lib/stdio.in.h	2011-09-24 04:20:48.000000000 -0700
> -+++ coreutils-8.14/lib/stdio.in.h	2012-07-03 10:36:19.886296576 -0700
> -@@ -713,11 +713,13 @@
> - _GL_CXXALIAS_SYS (gets, char *, (char *s));
> - #  undef gets
> - # endif
> -+# if defined gets
> - _GL_CXXALIASWARN (gets);
> - /* It is very rare that the developer ever has full control of stdin,
> -    so any use of gets warrants an unconditional warning.  Assume it is
> -    always declared, since it is required by C89.  */
> - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
> -+# endif
> - #endif
> - 
> - 
> diff --git a/meta/recipes-core/coreutils/coreutils-8.14/coreutils-build-with-acl.patch b/meta/recipes-core/coreutils/coreutils-8.21/coreutils-build-with-acl.patch
> similarity index 100%
> rename from meta/recipes-core/coreutils/coreutils-8.14/coreutils-build-with-acl.patch
> rename to meta/recipes-core/coreutils/coreutils-8.21/coreutils-build-with-acl.patch
> diff --git a/meta/recipes-core/coreutils/coreutils-8.21/dummy_help2man.patch b/meta/recipes-core/coreutils/coreutils-8.21/dummy_help2man.patch
> new file mode 100644
> index 0000000..4757f52
> --- /dev/null
> +++ b/meta/recipes-core/coreutils/coreutils-8.21/dummy_help2man.patch
> @@ -0,0 +1,22 @@
> +Upstream-Status: Inappropriate [disable feature]
> +
> +Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
> +diff -Nurd coreutils-8.21/man/local.mk coreutils-8.21/man/local.mk
> +--- coreutils-8.21/man/local.mk	2013-02-05 16:01:21.000000000 +0200
> ++++ coreutils-8.21/man/local.mk	2013-03-23 09:12:53.360470192 +0200
> +@@ -19,11 +19,11 @@
> + EXTRA_DIST += man/help2man man/dummy-man
> +
> + ## Graceful degradation for systems lacking perl.
> +-if HAVE_PERL
> +-run_help2man = $(PERL) -- $(srcdir)/man/help2man
> +-else
> ++#if HAVE_PERL
> ++#run_help2man = $(PERL) -- $(srcdir)/man/help2man
> ++#else
> + run_help2man = $(SHELL) $(srcdir)/man/dummy-man
> +-endif
> ++#endif
> +
> + man1_MANS = @man1_MANS@
> + EXTRA_DIST += $(man1_MANS:.1=.x)
> diff --git a/meta/recipes-core/coreutils/coreutils-8.14/remove-usr-local-lib-from-m4.patch b/meta/recipes-core/coreutils/coreutils-8.21/remove-usr-local-lib-from-m4.patch
> similarity index 100%
> rename from meta/recipes-core/coreutils/coreutils-8.14/remove-usr-local-lib-from-m4.patch
> rename to meta/recipes-core/coreutils/coreutils-8.21/remove-usr-local-lib-from-m4.patch
> diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb b/meta/recipes-core/coreutils/coreutils_8.21.bb
> similarity index 91%
> rename from meta/recipes-core/coreutils/coreutils_8.14.bb
> rename to meta/recipes-core/coreutils/coreutils_8.21.bb
> index b82bbe4..e789f59 100644
> --- a/meta/recipes-core/coreutils/coreutils_8.14.bb
> +++ b/meta/recipes-core/coreutils/coreutils_8.21.bb
> @@ -6,8 +6,8 @@ HOMEPAGE = "http://www.gnu.org/software/coreutils/"
>  BUGTRACKER = "http://debbugs.gnu.org/coreutils"
>  LICENSE = "GPLv3+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
> -                    file://src/ls.c;beginline=5;endline=16;md5=2e9acd8818fe6db4c2981d20ca632553"
> -PR = "r5"
> +                    file://src/ls.c;beginline=5;endline=16;md5=38b79785ca88537b75871782a2a3c6b8"
> +PR = "r0"
>  DEPENDS = "gmp libcap"
>  DEPENDS_class-native = ""
>  
> @@ -15,11 +15,12 @@ inherit autotools gettext
>  
>  SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
>             file://remove-usr-local-lib-from-m4.patch \
> -           file://remove-gets.patch \
>             file://coreutils-build-with-acl.patch \
> +           file://dummy_help2man.patch \
>            "
> -SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a"
> -SRC_URI[sha256sum] = "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d"
> +
> +SRC_URI[md5sum] = "065ba41828644eca5dd8163446de5d64"
> +SRC_URI[sha256sum] = "adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18"
>  
>  EXTRA_OECONF = "--disable-acl"
>  EXTRA_OECONF_class-native = "--disable-acl --without-gmp"
> 
> 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

       reply	other threads:[~2013-04-14 17:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130329103919.019B350446@opal>
2013-04-14 16:48 ` Martin Jansa [this message]
2013-04-15 15:48   ` [oe-commits] Marko Lindqvist : coreutils: update to upstream version 8.21 Burton, Ross

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=20130414164848.GG2475@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-commits@lists.openembedded.org \
    --cc=openembedded-core@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