Index | Thread | Search

From:
Yozo TODA <yozo@v007.vaio.ne.jp>
Subject:
Re: archivers/lha to 1.14i-ac20220213 with all the subsequent commits
To:
ports@openbsd.org
Date:
Wed, 22 May 2024 03:53:55 +0900

Download raw body.

Thread
(my previous email didn't reach the mail server. sending again...)

Ping.
anyone please check and commit this update to the ports tree?

updates on "osdn.jp is now dead" I mentioned in the previous mail;
the closure of the site is cancelled, keep searching acquirers.
(cf. https://en.wikipedia.org/wiki/OSDN)

Anyway, lha is moved to github.

> From: Yozo TODA <yozo@v007.vaio.ne.jp>
> To: ports@openbsd.org
> Subject: archivers/lha to 1.14i-ac20220213 with all the subsequent commits
> Date: Mon, 26 Feb 2024 01:38:30 +0900
> 
> here is the diff to update archivers/lha.
> anyone please commit it to the ports tree?
>
>   - HOMEPAGE to github URL, because osdn.jp is now dead
>   - update to ac20220213, including all the subsequent commits till today
>     (PKGNAME is just lha-1.14i.ac20220213, without commit ID)
>
> packaged on amd64, all tests succeeded.
>
> -- yozo.

-- yozo.

diff -ur lha/Makefile lha-1.14i-ac20220213/Makefile
--- lha/Makefile	Sat Mar 12 11:03:16 2022
+++ lha-1.14i-ac20220213/Makefile	Sat Feb 24 04:13:45 2024
@@ -1,23 +1,24 @@
 COMMENT=	archive files using LZW compression (.lzh files)
 


-VERSION=	1.14i-ac20210926
-DISTNAME=	lha-${VERSION}
-PKGNAME=	lha-${VERSION:C/-/./}
+COMMIT_HASH =	4f193b1e98700aa2bc9dfeef11943efc1f036154
+DISTNAME =	lha-${COMMIT_HASH}
+PKGNAME =	lha-1.14i.ac20220213
 CATEGORIES=	archivers
 


-HOMEPAGE=       https://lha.osdn.jp/
+HOMEPAGE =	https://github.com/jca02266/lha/
 


 MAINTAINER=	Yozo Toda <yozo@v007.vaio.ne.jp>
 


 # Restrictive
 PERMIT_PACKAGE=	Yes
-WANTLIB=		c
+WANTLIB =		c iconv
 


-GH_ACCOUNT =	jca02266
-GH_PROJECT =	lha
-GH_TAGNAME =	release-20210926
+DIST_TUPLE +=	github jca02266 lha ${COMMIT_HASH} .
 


-CONFIGURE_STYLE=	autoreconf
+LIB_DEPENDS =		converters/libiconv
+CONFIGURE_STYLE =	autoreconf
+CONFIGURE_ENV =		CPPFLAGS="-I${LOCALBASE}/include" \
+			LDFLAGS="-L${LOCALBASE}/lib"
 AUTOCONF_VERSION =	2.71
 AUTOMAKE_VERSION =	1.16
 


diff -ur lha/distinfo lha-1.14i-ac20220213/distinfo
--- lha/distinfo	Sat Nov  6 13:35:29 2021
+++ lha-1.14i-ac20220213/distinfo	Sat Feb 24 00:55:26 2024
@@ -1,2 +1,2 @@
-SHA256 (lha-1.14i-ac20210926.tar.gz) = t6WO6kRk3BGo0v+MYAKCoduAK7Vb5PjyP4/b/DOvUfs=
-SIZE (lha-1.14i-ac20210926.tar.gz) = 228249
+SHA256 (jca02266-lha-4f193b1e98700aa2bc9dfeef11943efc1f036154.tar.gz) = rCGysbzU6y/f1bmCLoaCX7htMRkJjy7SajZdKImvZLg=
+SIZE (jca02266-lha-4f193b1e98700aa2bc9dfeef11943efc1f036154.tar.gz) = 231170