Skip to contentSkip to conversation

pkg-generic: support for lzma archives

PATCH New Petr Vorel 2 participants 4 messages Jun 15, 2015 – Jun 21, 2015

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH v3 1/2 pkg-generic: support for lzma archives

---
 package/pkg-utils.mk | 1 +
 1 file changed, 1 insertion(+)
package/pkg-utils.mk +1 -0
index 99a3c1e..44bd2c9 100644
@@ -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)
Signature · 1 line
1.8.0
author
#1 lore raw

PATCH v3 2/2 package/gpm: add hash file, change archive to lzma

---
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
package/gpm/gpm.hash new file +2 -0
new file mode 100644
index 0000000..7bbc43d
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c  gpm-1.20.7.tar.lzma
package/gpm/gpm.mk +1 -1
index dee6208..6d3b5d2 100644
@@ -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
Signature · 1 line
1.8.0
#2 lore raw

PATCH v3 2/2 package/gpm: add hash file, change archive to lzma

Dear Petr Vorel,

Quoted 8 lines · Petr Vorel

---
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

Quoted 5 lines
---
 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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH v3 1/2 pkg-generic: support for lzma archives

In reply to Petr Vorel

Dear Petr Vorel,

Quoted 4 lines · Petr Vorel
---
 package/pkg-utils.mk | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Thomas

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