All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nigel Kukard <nkukard@lbsd.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] Update rpm
Date: Mon, 21 Dec 2009 09:51:35 +0000	[thread overview]
Message-ID: <4B2F4527.8000509@lbsd.net> (raw)
In-Reply-To: <87ljgwzo25.fsf@macbook.be.48ers.dk>

On 12/21/09 09:14, Peter Korsgaard wrote:
>>>>>> "Nigel" == Nigel Kukard <nkukard@lbsd.net> writes:
>>>>>>             
>  Nigel> Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
>  Nigel> ---
>  Nigel>  package/rpm/Config.in                             |   26 ++-
>  Nigel>  package/rpm/rpm-5.1.6_exclude-some-tools.patch    |   12 -
>  Nigel>  package/rpm/rpm-5.1.6_magic-file-fix.patch        |   40 ----
>  Nigel>  package/rpm/rpm-5.2.0_depends-fix.patch           |   19 ++
>  Nigel>  package/rpm/rpm-5.2.0_exclude-some-tools.patch    |   30 +++
>  Nigel>  package/rpm/rpm-5.2.0_no-parentdirs.patch         |   14 ++
>  Nigel>  package/rpm/rpm-5.2.0_ordering-fix.patch          |   45 ++++
>  Nigel>  package/rpm/rpm-5.2.0_parentdir-vs-requires.patch |   37 ++++
>  Nigel>  package/rpm/rpm-5.2.0_short-circuit-c99.patch     |  235 +++++++++++++++++++++
>  Nigel>  package/rpm/rpm.mk                                |   21 ++-
>  Nigel>  10 files changed, 416 insertions(+), 63 deletions(-)
>  Nigel>  delete mode 100755 package/rpm/rpm-5.1.6_exclude-some-tools.patch
>  Nigel>  delete mode 100755 package/rpm/rpm-5.1.6_magic-file-fix.patch
>  Nigel>  create mode 100644 package/rpm/rpm-5.2.0_depends-fix.patch
>  Nigel>  create mode 100644 package/rpm/rpm-5.2.0_exclude-some-tools.patch
>  Nigel>  create mode 100644 package/rpm/rpm-5.2.0_no-parentdirs.patch
>  Nigel>  create mode 100644 package/rpm/rpm-5.2.0_ordering-fix.patch
>  Nigel>  create mode 100644 package/rpm/rpm-5.2.0_parentdir-vs-requires.patch
>  Nigel>  create mode 100644 package/rpm/rpm-5.2.0_short-circuit-c99.patch
>
> Where does those patches come from? Are you the author? Have they been
> pushed upstream where possible?
>   

All relevant fixes have been resolved upstream in line for 5.3.x.

These will not be uptream:

exclude-some-tools - simply excludes tools we don't want

short-circuit-c99 - after alot of hair pulling, this just ignores the c99 test and shoves in "gcc -std=c99"



>  Nigel> diff --git a/package/rpm/Config.in b/package/rpm/Config.in
>  Nigel> index f4f7f90..d50a642 100644
>  Nigel> --- a/package/rpm/Config.in
>  Nigel> +++ b/package/rpm/Config.in
>  Nigel> @@ -1,14 +1,32 @@
>  Nigel>  config BR2_PACKAGE_RPM
>  Nigel>  	bool "rpm"
>  Nigel> -	select BR2_PACKAGE_ZLIB
>  Nigel> -	select BR2_PACKAGE_BZIP2
>  Nigel>  	select BR2_PACKAGE_BEECRYPT
>  Nigel>  	select BR2_PACKAGE_POPT
>  Nigel>  	select BR2_PACKAGE_NEON
>  Nigel>  	select BR2_PACKAGE_NEON_ZLIB
>  Nigel> -	select BR2_PACKAGE_NEON_EXPAT 	if BR2_PACKAGE_EXPAT
>  Nigel> -	select BR2_PACKAGE_NEON_LIBXML2	if BR2_PACKAGE_LIBXML2
>  Nigel> +	select BR2_PACKAGE_NEON_EXPAT if BR2_PACKAGE_EXPAT
>  Nigel> +	select BR2_PACKAGE_NEON_LIBXML2 if BR2_PACKAGE_LIBXML2
>  Nigel> +	select BR2_PACKAGE_NEON_SSL
>
> Select doesn't work recursively, so you need to select openssl as well.
>   

ok

>  Nigel>  	help
>  Nigel>  	  The RPM package management system.
>  
>  Nigel>  	  http://rpm5.org
>  Nigel> +
>  Nigel> +config BR2_PACKAGE_RPM_BZIP2_PAYLOADS
>  Nigel> +	bool "support for bzip2 payloads"
>  Nigel> +	depends on BR2_PACKAGE_RPM
>  Nigel> +	select BR2_PACKAGE_BZIP2
>  Nigel> +	help
>  Nigel> +	  Support for bzip2 payloads in RPM.
>  Nigel> +
>  Nigel> +config BR2_PACKAGE_RPM_XZ_PAYLOADS
>  Nigel> +	bool "support for xz payloads"
>  Nigel> +	depends on BR2_PACKAGE_RPM
>  Nigel> +	depends on BR2_GCC_CROSS_CXX
>
> Doesn't this need liblzma?
>   

If it finds xz, it will use it, if it doesn't, it will use internal
copy. So its not required, no.

      reply	other threads:[~2009-12-21  9:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21  7:21 [Buildroot] [pull request] Pull request for branch rpm-update Nigel Kukard
2009-12-21  7:21 ` [Buildroot] [PATCH 1/1] Update rpm Nigel Kukard
2009-12-21  9:14   ` Peter Korsgaard
2009-12-21  9:51     ` Nigel Kukard [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=4B2F4527.8000509@lbsd.net \
    --to=nkukard@lbsd.net \
    --cc=buildroot@busybox.net \
    /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.