Package Details: lha 1:1.14i_ac20220213-1

Git Clone URL: https://aur.archlinux.org/lha.git (read-only, click to copy)
Package Base: lha
Description: A compression and archive utility for LH-7 format archives
Upstream URL: http://lha.osdn.jp
Licenses: custom:lha
Submitter: perlawk
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 99
Popularity: 0.000000
First Submitted: 2013-04-09 07:12 (UTC)
Last Updated: 2024-08-05 13:39 (UTC)

Latest Comments

1 2 Next › Last »

markf commented on 2026-08-30 11:42 (UTC)

The current package fails to build on current Arch/GCC due to C23 compatibility issues in the pinned 2023 upstream commit.

Upstream has since released 1.14i-ac20260723, which includes the C23 fixes and subsequent cleanup/security fixes.

I updated the PKGBUILD to:

  • pkgver=1.14i_ac20260723
  • pin commit 16619b066b189ef289bb8b07b37d1c38d550da99

Regenerated .SRCINFO, built successfully with makepkg -s, and the upstream tests pass.

Patch attached.

From d5616425421b51c1e730b9cd39e471de1de53b15 Mon Sep 17 00:00:00 2001
From: Mark Fisher <mark.j.fisher@gmail.com>
Date: Sun, 30 Aug 2026 12:39:25 +0100
Subject: [PATCH] Update to 1.14i_ac20260723

---
 .SRCINFO | 4 ++--
 PKGBUILD | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 7bae588f..46cf1035 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = lha
    pkgdesc = A compression and archive utility for LH-7 format archives
-   pkgver = 1.14i_ac20220213
+   pkgver = 1.14i_ac20260723
    pkgrel = 1
    epoch = 1
    url = http://lha.osdn.jp
@@ -8,7 +8,7 @@ pkgbase = lha
    license = custom:lha
    makedepends = git
    depends = glibc
-   source = git+https://github.com/jca02266/lha.git#commit=4f193b1e98700aa2bc9dfeef11943efc1f036154
+   source = git+https://github.com/jca02266/lha.git#commit=16619b066b189ef289bb8b07b37d1c38d550da99
    source = LICENSE
    sha256sums = SKIP
    sha256sums = c88f52b7b6b223d1347c6721c24b63ba947baa1756e3713e1fff220e974b9120
diff --git a/PKGBUILD b/PKGBUILD
index 44c8d705..c02e0c25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
 # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: Mark Fisher <mark.j.fisher@gmail.com>

 pkgname=lha
-pkgver=1.14i_ac20220213
+pkgver=1.14i_ac20260723
 pkgrel=1
 epoch=1
 pkgdesc="A compression and archive utility for LH-7 format archives"
@@ -12,7 +13,7 @@ license=('custom:lha')
 depends=('glibc')
 makedepends=('git')
 source=(
-  "git+https://github.com/jca02266/lha.git#commit=4f193b1e98700aa2bc9dfeef11943efc1f036154"
+  "git+https://github.com/jca02266/lha.git#commit=16619b066b189ef289bb8b07b37d1c38d550da99"
   'LICENSE'
 )
 sha256sums=(
--
2.55.0

Managor commented on 2024-07-18 08:17 (UTC)

I'm getting these errors when attempting to build

make[2]: *** [Makefile:417: header.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/indicator.Tpo .deps/indicator.Po
mv -f .deps/huf.Tpo .deps/huf.Po
mv -f .deps/larc.Tpo .deps/larc.Po
make[2]: Leaving directory '/home/managor/AUR/lha/src/build/src'
make[1]: *** [Makefile:373: all-recursive] Error 1
make[1]: Leaving directory '/home/managor/AUR/lha/src/build'
make: *** [Makefile:314: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

xanadu commented on 2020-04-06 13:34 (UTC) (edited on 2020-04-06 13:38 (UTC) by xanadu)

Thank for the quick response! Finally we got rid of the 32 bit bottleneck.

Regarding the version number I'd like to add that 1.14i is quite unspecific as it denotates actually Tsugio Okamoto's version from the year 2000 (LHa for UNIX V 1.14i 2000 Tsugio Okamoto) which is now quite dated and still contains all the bugs. The whole version number of Koji Arai's branch is actually 1.14i-ac20081023 + the git revision. Why that?

1.) There are distinct older versions by Koji Arai: 1.14i-ac20050924p1, 1.14i-ac20050924, 1.14i-ac20040929, 1.14i-ac20030921 and 1.14i-ac20020903

2.) 'lha --version' returns: LHa for UNIX version 1.14i-ac20081023

3.) It seems that Koji Arai stopped giving new -acDATE version numbers after he moved the code from OSDN to GitHub and just kept '-ac20081023', although he committed several changes.

Thus the complete version indicator in AUR should be: 1.14i-ac20081023.7c3cd95-1

sl1pkn07 commented on 2020-04-05 16:57 (UTC)

oups

done

dbermond commented on 2020-04-05 16:35 (UTC)

@sl1pkn07 Since you're using git sources, the 'git' package is missing from makedepends and needs to be added.

xanadu commented on 2020-04-04 16:24 (UTC) (edited on 2020-04-05 23:13 (UTC) by xanadu)

"LHA for UNIX Version 1.17" by M. Ishii is a binary from a dead development branch of the LHa archiver. There is no access to its source code anymore and it likely suffers from a couple of security vulnerabilities (CVE-2006-4335, CVE-2006-4337 and CVE-2006-4338).

Luckily there is another branch by Koji Arai available on GitHub (1.14i-ac20081023 git rev: 7c3cd95) that is still maintained. It seems to contain a more efficient implementation of lh7 as the files it creates with option 'ao7' are slightly smaller than the files created by the binary from the dead branch.

The branch of Koji Arai is available at: https://github.com/jca02266/lha

His branch is also used by Fedora: https://repology.org/project/lha/packages

sl1pkn07 commented on 2017-09-28 15:15 (UTC)

tested the main download url. the link still working

tsukinomiya commented on 2017-09-27 14:14 (UTC) (edited on 2017-09-27 14:15 (UTC) by tsukinomiya)

here? http://web.archive.org/web/20121108013555/http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/

strupo commented on 2017-05-26 22:10 (UTC)

Yes, the upstream URL doesn't work for me too.

simonsforge commented on 2017-03-30 14:49 (UTC)

upstream url do not work