git: af8f4ac82785 - main - archivers/lhasa: Update to 0.5.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Mar 2026 19:03:52 UTC
The branch main has been updated by mce:
URL: https://cgit.FreeBSD.org/ports/commit/?id=af8f4ac827857852feeeb562cb856b93be8d14da
commit af8f4ac827857852feeeb562cb856b93be8d14da
Author: Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-03-27 17:10:15 +0000
Commit: Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-03-27 19:03:02 +0000
archivers/lhasa: Update to 0.5.0
Take maintainership.
Update MASTER_SITES, COMMENT, LICENSE_FILE and pkg-descr.
Use the LIBVERSION and VERSION variable in pkg-plist.
Changelog:
https://raw.githubusercontent.com/fragglet/lhasa/refs/tags/v0.5.0/NEWS.md
PR: 290946
Approved by: cs@innolan.dk (maintainer timeout), fluffy (mentor)
---
archivers/lhasa/Makefile | 12 +++++++-----
archivers/lhasa/distinfo | 6 +++---
archivers/lhasa/pkg-descr | 18 ++++++++++--------
archivers/lhasa/pkg-plist | 12 ++++++------
4 files changed, 26 insertions(+), 22 deletions(-)
diff --git a/archivers/lhasa/Makefile b/archivers/lhasa/Makefile
index e56ced84bde3..f76f369e0c51 100644
--- a/archivers/lhasa/Makefile
+++ b/archivers/lhasa/Makefile
@@ -1,14 +1,15 @@
PORTNAME= lhasa
-DISTVERSION= 0.4.0
+DISTVERSION= 0.5.0
CATEGORIES= archivers
-MASTER_SITES= https://github.com/fragglet/${PORTNAME}/releases/download/v${DISTVERSION}/
+MASTER_SITES= https://github.com/fragglet/${PORTNAME}/releases/download/v${DISTVERSION}/ \
+ https://soulsphere.org/projects/${PORTNAME}/
-MAINTAINER= cs@innolan.dk
-COMMENT= Command line tool and library for parsing LHA archives
+MAINTAINER= mce@FreeBSD.org
+COMMENT= Free Software LHA implementation
WWW= https://fragglet.github.io/lhasa/
LICENSE= ISCL
-LICENSE_FILE= ${WRKSRC}/COPYING
+LICENSE_FILE= ${WRKSRC}/COPYING.md
TEST_DEPENDS= bash>0:shells/bash
@@ -21,6 +22,7 @@ CONFIGURE_ARGS= --program-suffix=sa
INSTALL_TARGET= install-strip
TEST_TARGET= check
+PLIST_SUB= LIBVERSION=0.1.0 VERSION=${DISTVERSION}
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
OPTIONS_DEFINE= DOCS
diff --git a/archivers/lhasa/distinfo b/archivers/lhasa/distinfo
index 69a4ac1df06b..bad59fa912a2 100644
--- a/archivers/lhasa/distinfo
+++ b/archivers/lhasa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710720015
-SHA256 (lhasa-0.4.0.tar.gz) = a7fc883c304c508562fb93fa307a4c342b0c886fcc265f28b92dc0c39220c5b3
-SIZE (lhasa-0.4.0.tar.gz) = 3503963
+TIMESTAMP = 1762848792
+SHA256 (lhasa-0.5.0.tar.gz) = bf8785c70609d21eb62b7dae7894f138888f889d3ce97868d502f6e13a792b1c
+SIZE (lhasa-0.5.0.tar.gz) = 3568200
diff --git a/archivers/lhasa/pkg-descr b/archivers/lhasa/pkg-descr
index 0f686ee0da96..4ac076c59358 100644
--- a/archivers/lhasa/pkg-descr
+++ b/archivers/lhasa/pkg-descr
@@ -1,10 +1,12 @@
-Lhasa is a command line tool and library for parsing LHA archives.
+Lhasa is a library for parsing LHA (.lzh) archives and a free
+replacement for the Unix LHA tool.
-Currently it is only possible to decompress archives. Compressing
-LHA archives may be an enhancement for future versions. The aim is
-to be compatible with as many different variants of the LHA file
-format as possible, including LArc (.lzs) and PMarc (.pma).
+Currently it is only possible to read from (i.e. decompress) archives;
+generating (compressing) LHA archives may be an enhancement for future
+versions. The aim is to be compatible with as many different variants
+of the LHA file format as possible, including LArc (.lzs) and PMarc
+(.pma).
-The command line tool aims to be interface-compatible with Unix LHA
-tool (command line syntax and output), for backwards compatibility
-with tools that expect particular output.
+The command line tool aims to be interface-compatible with the
+non-free Unix LHA tool (command line syntax and output), for backwards
+compatibility with tools that expect particular output.
diff --git a/archivers/lhasa/pkg-plist b/archivers/lhasa/pkg-plist
index 7387eaf0f256..bfda7ca21216 100644
--- a/archivers/lhasa/pkg-plist
+++ b/archivers/lhasa/pkg-plist
@@ -1,12 +1,12 @@
bin/lhasa
-include/liblhasa-1.0/lha_decoder.h
-include/liblhasa-1.0/lha_file_header.h
-include/liblhasa-1.0/lha_input_stream.h
-include/liblhasa-1.0/lha_reader.h
-include/liblhasa-1.0/lhasa.h
+include/liblhasa-%%VERSION%%/lha_decoder.h
+include/liblhasa-%%VERSION%%/lha_file_header.h
+include/liblhasa-%%VERSION%%/lha_input_stream.h
+include/liblhasa-%%VERSION%%/lha_reader.h
+include/liblhasa-%%VERSION%%/lhasa.h
lib/liblhasa.a
lib/liblhasa.so
lib/liblhasa.so.0
-lib/liblhasa.so.0.0.0
+lib/liblhasa.so.%%LIBVERSION%%
libdata/pkgconfig/liblhasa.pc
share/man/man1/lhasa.1.gz