From 2129452f60bbbe045e91329ff14a9b7e83005e61 Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Sat, 6 Jan 2024 16:02:05 +0100 Subject: [PATCH] archivers/laszip: Update to 3.5.1 LASzip was relicensed to Apache Public License 2.0 by Rapidlasso, GmbH in January 2022. This relicense corresponds to only software in the LASzip GitHub repository at https://github.com/LASzip/LASzip and none of the LAStools software that lives at https://github.com/LAStools/LAStools/ There are duplicates of a number of files in both repositories. Developers wishing to use APL versions must use the ones in the LASzip repository. - Small memory leaks - bug fix for signed long (I32) in set_value_as_float() - limit level_offset init loop in quadtree - fix for uncommon zero'd chunk tables The port uses GitHub, because their are no releases or tags and no download archive of v3.5.x until now. --- archivers/laszip/Makefile | 12 ++++++++---- archivers/laszip/distinfo | 6 +++--- archivers/laszip/pkg-plist | 4 ++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/archivers/laszip/Makefile b/archivers/laszip/Makefile index 4e882f29fe8b..8ab0f9d97e09 100644 --- a/archivers/laszip/Makefile +++ b/archivers/laszip/Makefile @@ -1,17 +1,21 @@ PORTNAME= laszip -DISTVERSION= 3.4.3 +DISTVERSION= 3.5.1 CATEGORIES= archivers -MASTER_SITES= https://github.com/LASzip/LASzip/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}-src-${DISTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Library for lossless LAS compression WWW= https://laszip.org/ -LICENSE= LGPL21 +LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake compiler:c++0x tar:bz2 +USES= cmake compiler:c++0x +USE_GITHUB= yes +GH_ACCOUNT= LASzip +GH_PROJECT= LASzip +GH_TAGNAME= 80f9298 USE_LDCONFIG= yes .include + diff --git a/archivers/laszip/distinfo b/archivers/laszip/distinfo index ebdb343e8f68..3fb1859f69d2 100644 --- a/archivers/laszip/distinfo +++ b/archivers/laszip/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1642413969 -SHA256 (laszip-src-3.4.3.tar.bz2) = 5775eb0b97de1b77514d47534cc65c6cfb5bebdd8aed0e47a23af8e75b7ea887 -SIZE (laszip-src-3.4.3.tar.bz2) = 153819 +TIMESTAMP = 1704101714 +SHA256 (LASzip-LASzip-3.5.1-80f9298_GH0.tar.gz) = f49c7e381c6a64d9192d4f9dae1f786ad90e0d4d2290b8736ef167af9c9e78fb +SIZE (LASzip-LASzip-3.5.1-80f9298_GH0.tar.gz) = 231635 diff --git a/archivers/laszip/pkg-plist b/archivers/laszip/pkg-plist index 3eee0b703db7..99a866c9fccf 100644 --- a/archivers/laszip/pkg-plist +++ b/archivers/laszip/pkg-plist @@ -2,7 +2,7 @@ include/laszip/laszip_api.h include/laszip/laszip_api_version.h lib/liblaszip.so lib/liblaszip.so.8 -lib/liblaszip.so.8.0.5 +lib/liblaszip.so.8.0.6 lib/liblaszip_api.so lib/liblaszip_api.so.8 -lib/liblaszip_api.so.8.0.5 +lib/liblaszip_api.so.8.0.6