Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 1/2] pkg-generic: support for lzma archives
@ 2015-06-15 22:57 Petr Vorel
  2015-06-15 22:57 ` [Buildroot] [PATCH v3 2/2] package/gpm: add hash file, change archive to lzma Petr Vorel
  2015-06-21  7:49 ` [Buildroot] [PATCH v3 1/2] pkg-generic: support for lzma archives Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Petr Vorel @ 2015-06-15 22:57 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 package/pkg-utils.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk
index 99a3c1e..44bd2c9 100644
--- a/package/pkg-utils.mk
+++ b/package/pkg-utils.mk
@@ -73,6 +73,7 @@ pkgname = $(lastword $(subst /, ,$(pkgdir)))
 # Define extractors for different archive suffixes
 INFLATE.bz2  = $(BZCAT)
 INFLATE.gz   = $(ZCAT)
+INFLATE.lzma = $(XZCAT)
 INFLATE.tbz  = $(BZCAT)
 INFLATE.tbz2 = $(BZCAT)
 INFLATE.tgz  = $(ZCAT)
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v3 2/2] package/gpm: add hash file, change archive to lzma
  2015-06-15 22:57 [Buildroot] [PATCH v3 1/2] pkg-generic: support for lzma archives Petr Vorel
@ 2015-06-15 22:57 ` Petr Vorel
  2015-06-21  7:49   ` Thomas Petazzoni
  2015-06-21  7:49 ` [Buildroot] [PATCH v3 1/2] pkg-generic: support for lzma archives Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2015-06-15 22:57 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
Changes v3:
- use lzma, mainly as proof of concept of previous patch "pkg-generic:
  support for lzma archives"
Changes v2:
- added missing hash file
- keep tar.bz2
---
 package/gpm/gpm.hash | 2 ++
 package/gpm/gpm.mk   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 package/gpm/gpm.hash

diff --git a/package/gpm/gpm.hash b/package/gpm/gpm.hash
new file mode 100644
index 0000000..7bbc43d
--- /dev/null
+++ b/package/gpm/gpm.hash
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c  gpm-1.20.7.tar.lzma
diff --git a/package/gpm/gpm.mk b/package/gpm/gpm.mk
index dee6208..6d3b5d2 100644
--- a/package/gpm/gpm.mk
+++ b/package/gpm/gpm.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 GPM_VERSION = 1.20.7
-GPM_SOURCE = gpm-$(GPM_VERSION).tar.bz2
+GPM_SOURCE = gpm-$(GPM_VERSION).tar.lzma
 GPM_SITE = http://www.nico.schottelius.org/software/gpm/archives
 GPM_LICENSE = GPLv2+
 GPM_LICENSE_FILES = COPYING
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v3 1/2] pkg-generic: support for lzma archives
  2015-06-15 22:57 [Buildroot] [PATCH v3 1/2] pkg-generic: support for lzma archives Petr Vorel
  2015-06-15 22:57 ` [Buildroot] [PATCH v3 2/2] package/gpm: add hash file, change archive to lzma Petr Vorel
@ 2015-06-21  7:49 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2015-06-21  7:49 UTC (permalink / raw)
  To: buildroot

Dear Petr Vorel,

On Tue, 16 Jun 2015 00:57:21 +0200, Petr Vorel wrote:
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
>  package/pkg-utils.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v3 2/2] package/gpm: add hash file, change archive to lzma
  2015-06-15 22:57 ` [Buildroot] [PATCH v3 2/2] package/gpm: add hash file, change archive to lzma Petr Vorel
@ 2015-06-21  7:49   ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2015-06-21  7:49 UTC (permalink / raw)
  To: buildroot

Dear Petr Vorel,

On Tue, 16 Jun 2015 00:57:22 +0200, Petr Vorel wrote:
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
> Changes v3:
> - use lzma, mainly as proof of concept of previous patch "pkg-generic:
>   support for lzma archives"
> Changes v2:
> - added missing hash file
> - keep tar.bz2
> ---
>  package/gpm/gpm.hash | 2 ++
>  package/gpm/gpm.mk   | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)
>  create mode 100644 package/gpm/gpm.hash

Applied after adjusting the commit since a hash file for gpm has been
added in the mean time. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-21  7:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-15 22:57 [Buildroot] [PATCH v3 1/2] pkg-generic: support for lzma archives Petr Vorel
2015-06-15 22:57 ` [Buildroot] [PATCH v3 2/2] package/gpm: add hash file, change archive to lzma Petr Vorel
2015-06-21  7:49   ` Thomas Petazzoni
2015-06-21  7:49 ` [Buildroot] [PATCH v3 1/2] pkg-generic: support for lzma archives Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox