git: f5c4612f31c1 - main - devel/liblas: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Apr 2024 11:50:36 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=f5c4612f31c1d021c2a03ca353161f5c42d98afd commit f5c4612f31c1d021c2a03ca353161f5c42d98afd Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2024-04-01 11:50:25 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2024-04-01 11:50:25 +0000 devel/liblas: Remove expired port 2024-02-10 devel/liblas: Upstream no longer continuing --- MOVED | 1 + devel/Makefile | 1 - devel/liblas/Makefile | 30 -------- devel/liblas/distinfo | 3 - devel/liblas/files/patch-CVE-2018-20540 | 55 -------------- devel/liblas/files/patch-CVE-2018-20540-fixup | 24 ------ devel/liblas/files/patch-boost-1.73 | 55 -------------- devel/liblas/files/patch-fix-overload-call | 15 ---- devel/liblas/files/patch-gdal-2.5.0 | 34 --------- devel/liblas/pkg-descr | 4 - devel/liblas/pkg-plist | 102 -------------------------- 11 files changed, 1 insertion(+), 323 deletions(-) diff --git a/MOVED b/MOVED index 84e4c7e3b15f..32dba0d42462 100644 --- a/MOVED +++ b/MOVED @@ -3126,3 +3126,4 @@ net-p2p/py-vertex||2024-04-01|Has expired: Abandoned project since 7 years back textproc/py-html2text2018|textproc/py-html2text|2024-04-01|Has expired: Old version without consumers left, use updated textproc/py-html2text instead irc/evangeline||2024-04-01|Has expired: Abandonware, upstream is gone devel/libght||2024-04-01|Has expired: Depends on expired devel/liblas +devel/liblas||2024-04-01|Has expired: Upstream no longer continuing diff --git a/devel/Makefile b/devel/Makefile index d9ca15ee5002..c53d3d2f453d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1303,7 +1303,6 @@ SUBDIR += libkiwix SUBDIR += libklel SUBDIR += liblangtag - SUBDIR += liblas SUBDIR += liblnk SUBDIR += liblockfile SUBDIR += liblogging diff --git a/devel/liblas/Makefile b/devel/liblas/Makefile deleted file mode 100644 index f3100c4fb2da..000000000000 --- a/devel/liblas/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -PORTNAME= liblas -PORTVERSION= 1.8.1 -PORTREVISION= 25 -CATEGORIES= devel - -MAINTAINER= wen@FreeBSD.org -COMMENT= Library For Reading And Writing LAS-Format Data -WWW= https://liblas.org/ - -LICENSE= BSD3CLAUSE BSL MIT -LICENSE_COMB= multi -LICENSE_FILE= ${WRKSRC}/LICENSE.txt - -DEPRECATED= Upstream no longer continuing -EXPIRATION_DATE=2024-02-10 - -LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ - libgeotiff.so:graphics/libgeotiff - -PORTSCOUT= skipv:progress-20071229 - -USES= cmake compiler:c++11-lang cpe libtool -LDFLAGS+= -lpthread -GNU_CONFIGURE= yes -USE_LDCONFIG= yes -USE_GITHUB= yes -GH_ACCOUNT= libLAS -GH_PROJECT= ${GH_ACCOUNT} - -.include <bsd.port.mk> diff --git a/devel/liblas/distinfo b/devel/liblas/distinfo deleted file mode 100644 index 85f25eb94435..000000000000 --- a/devel/liblas/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1474265508 -SHA256 (libLAS-libLAS-1.8.1_GH0.tar.gz) = 31cff4fd235f9397df8c3086b0aefc50a047d2be0e9ce39f0cddfc662633fa93 -SIZE (libLAS-libLAS-1.8.1_GH0.tar.gz) = 10734926 diff --git a/devel/liblas/files/patch-CVE-2018-20540 b/devel/liblas/files/patch-CVE-2018-20540 deleted file mode 100644 index 8cd6f66b5e11..000000000000 --- a/devel/liblas/files/patch-CVE-2018-20540 +++ /dev/null @@ -1,55 +0,0 @@ -From 09d45518776489508f34098f1c159f58b856f459 Mon Sep 17 00:00:00 2001 -From: Mateusz Loskot <mateusz@loskot.net> -Date: Sun, 20 Jan 2019 02:28:29 +0100 -Subject: [PATCH] Ensure stream is deallocated in case of exception (#162) - -Fixes #158 ---- - include/liblas/liblas.hpp | 32 ++++++++++++++++++++++++-------- - 1 file changed, 24 insertions(+), 8 deletions(-) - -diff --git include/liblas/liblas.hpp include/liblas/liblas.hpp -index f5ad44e1..325de3ff 100644 ---- include/liblas/liblas.hpp -+++ include/liblas/liblas.hpp -@@ -119,16 +119,32 @@ inline std::istream* Open(std::string const& filename, std::ios::openmode mode) - { - #ifdef USE_BOOST_IO - namespace io = boost::iostreams; -- io::stream<io::file_source>* ifs = new io::stream<io::file_source>(); -- ifs->open(filename.c_str(), mode); -- if (ifs->is_open() == false) return NULL; -- return ifs; -+ io::stream<io::file_source>* ifs = NULL; -+ try -+ { -+ ifs = new io::stream<io::file_source>(); -+ ifs->open(filename.c_str(), mode); -+ if (ifs->is_open() == false) return NULL; -+ return ifs; -+ } -+ catch (...) -+ { -+ delete ifs; -+ } - #else -- std::ifstream* ifs = new std::ifstream(); -- ifs->open(filename.c_str(), mode); -- if (ifs->is_open() == false) return NULL; -- return ifs; -+ std::ifstream* ifs = NULL; -+ try -+ { -+ ifs = new std::ifstream(); -+ ifs->open(filename.c_str(), mode); -+ if (ifs->is_open() == false) return NULL; -+ } -+ catch (...) -+ { -+ delete ifs; -+ } - #endif -+ return NULL; - } - - /// Create file and open to write in binary mode. diff --git a/devel/liblas/files/patch-CVE-2018-20540-fixup b/devel/liblas/files/patch-CVE-2018-20540-fixup deleted file mode 100644 index 00bf344a0a16..000000000000 --- a/devel/liblas/files/patch-CVE-2018-20540-fixup +++ /dev/null @@ -1,24 +0,0 @@ -From 6a666b9101293b13fde4e4eb1d2c627f7613515e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Felipe=20M=2E=20L=C3=B3pez?= <femulop@gmail.com> -Date: Fri, 19 Jul 2019 08:26:44 +0200 -Subject: [PATCH] Always return NULL when Open() is used (#168) - -Attempt to open LAS file using standard stream, without -Boost supports built in, always failed with -"Cannot open sample.las for read. Exiting..." ---- - include/liblas/liblas.hpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git include/liblas/liblas.hpp include/liblas/liblas.hpp -index 325de3ff..5c950ce0 100644 ---- include/liblas/liblas.hpp -+++ include/liblas/liblas.hpp -@@ -138,6 +138,7 @@ inline std::istream* Open(std::string const& filename, std::ios::openmode mode) - ifs = new std::ifstream(); - ifs->open(filename.c_str(), mode); - if (ifs->is_open() == false) return NULL; -+ return ifs; - } - catch (...) - { diff --git a/devel/liblas/files/patch-boost-1.73 b/devel/liblas/files/patch-boost-1.73 deleted file mode 100644 index 606f3837d9c2..000000000000 --- a/devel/liblas/files/patch-boost-1.73 +++ /dev/null @@ -1,55 +0,0 @@ -diff --git include/liblas/detail/binary.hpp include/liblas/detail/binary.hpp -index d3116a1..ab20e06 100644 ---- include/liblas/detail/binary.hpp -+++ include/liblas/detail/binary.hpp -@@ -17,6 +17,8 @@ - #ifndef LIBLAS_DETAIL_BINARY_HPP_INCLUDED - #define LIBLAS_DETAIL_BINARY_HPP_INCLUDED - -+#include <liblas/detail/endian.hpp> -+ - #include <cassert> - #include <climits> - #include <cstring> -@@ -25,7 +27,6 @@ - - #include <boost/config.hpp> - #include <boost/static_assert.hpp> --#include <boost/detail/endian.hpp> - #include <boost/type_traits/is_signed.hpp> - - #if CHAR_BIT != 8 -@@ -43,7 +44,7 @@ namespace detail { namespace binary { - struct big_endian_tag {}; - struct little_endian_tag {}; - --#ifdef BOOST_BIG_ENDIAN -+#ifdef LIBLAS_BIG_ENDIAN - typedef big_endian_tag native_endian_tag; - #else - typedef little_endian_tag native_endian_tag; -diff --git src/c_api.cpp src/c_api.cpp -index a70fe74..e8be785 100644 ---- src/c_api.cpp -+++ src/c_api.cpp -@@ -96,6 +96,7 @@ using namespace liblas; - #endif - - #include <boost/lambda/lambda.hpp> -+#include <boost/bind.hpp> - - bool IsReprojectionTransform(liblas::TransformPtr const& p) - { -diff --git src/header.cpp src/header.cpp -index 9987ce1..a5c8f7d 100644 ---- src/header.cpp -+++ src/header.cpp -@@ -54,7 +54,7 @@ - // boost - #include <boost/cstdint.hpp> - #include <boost/lambda/lambda.hpp> -- -+#include <boost/bind.hpp> - //std - #include <algorithm> - #include <fstream> diff --git a/devel/liblas/files/patch-fix-overload-call b/devel/liblas/files/patch-fix-overload-call deleted file mode 100644 index 9c5b853347b2..000000000000 --- a/devel/liblas/files/patch-fix-overload-call +++ /dev/null @@ -1,15 +0,0 @@ ---- src/gt_citation.cpp -+++ src/gt_citation.cpp -@@ -387,10 +387,10 @@ - osCitation += primemName; - bRewriteGeogCitation = TRUE; - -- double primemValue = poSRS->GetPrimeMeridian(NULL); -+ double primemValue = poSRS->GetPrimeMeridian(); - if(angUnitName && !EQUAL(angUnitName, "Degree")) - { -- double aUnit = poSRS->GetAngularUnits(NULL); -+ double aUnit = poSRS->GetAngularUnits(); - primemValue *= aUnit; - } - GTIFKeySet( psGTIF, GeogPrimeMeridianLongGeoKey, TYPE_DOUBLE, 1, diff --git a/devel/liblas/files/patch-gdal-2.5.0 b/devel/liblas/files/patch-gdal-2.5.0 deleted file mode 100644 index 59a7939c1660..000000000000 --- a/devel/liblas/files/patch-gdal-2.5.0 +++ /dev/null @@ -1,34 +0,0 @@ -From 3a572ff7e684668da62c794b37ccccbc169723de Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Wed, 26 Feb 2020 17:45:30 +0100 -Subject: [PATCH] Fix build against >=GDAL-2.5.0 - -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - src/gt_wkt_srs.cpp | 3 --- - 1 file changed, 3 deletions(-) - -diff --git src/gt_wkt_srs.cpp src/gt_wkt_srs.cpp -index 9871aa0..099972d 100755 ---- src/gt_wkt_srs.cpp -+++ src/gt_wkt_srs.cpp -@@ -493,7 +493,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn ) - { - char *pszWKT; - oSRS.morphFromESRI(); -- oSRS.FixupOrdering(); - if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE ) - return pszWKT; - } -@@ -1094,8 +1093,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn ) - /* ==================================================================== */ - char *pszWKT; - -- oSRS.FixupOrdering(); -- - if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE ) - return pszWKT; - else --- -2.25.1 - diff --git a/devel/liblas/pkg-descr b/devel/liblas/pkg-descr deleted file mode 100644 index 3a33093d57b8..000000000000 --- a/devel/liblas/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -libLAS is a BSD library for reading and writing ASPRS LAS version 1.0 and -1.1 data. LAS-formatted data is heavily used in LiDAR processing operations, -and the LAS format is a sequential binary format used to store data from -sensors and as intermediate processing storage by some applications. diff --git a/devel/liblas/pkg-plist b/devel/liblas/pkg-plist deleted file mode 100644 index d9412519c082..000000000000 --- a/devel/liblas/pkg-plist +++ /dev/null @@ -1,102 +0,0 @@ -bin/las2col -bin/las2pg -bin/las2las -bin/las2txt -bin/lasblock -bin/lasinfo -bin/liblas-config -bin/ts2las -bin/txt2las -include/liblas/bounds.hpp -include/liblas/capi/las_config.h -include/liblas/capi/las_version.h -include/liblas/capi/liblas.h -include/liblas/chipper.hpp -include/liblas/classification.hpp -include/liblas/color.hpp -include/liblas/compatibility.hpp -include/liblas/detail/binary.hpp -include/liblas/detail/endian.hpp -include/liblas/detail/file_ptr_stream.hpp -include/liblas/detail/fwd.hpp -include/liblas/detail/index/indexcell.hpp -include/liblas/detail/index/indexoutput.hpp -include/liblas/detail/opt_allocator.hpp -include/liblas/detail/pointrecord.hpp -include/liblas/detail/private_utility.hpp -include/liblas/detail/reader/cachedreader.hpp -include/liblas/detail/reader/header.hpp -include/liblas/detail/reader/reader.hpp -include/liblas/detail/reader/zipreader.hpp -include/liblas/detail/sha1.hpp -include/liblas/detail/singleton.hpp -include/liblas/detail/timer.hpp -include/liblas/detail/writer/header.hpp -include/liblas/detail/writer/point.hpp -include/liblas/detail/writer/writer.hpp -include/liblas/detail/writer/zipwriter.hpp -include/liblas/detail/zippoint.hpp -include/liblas/dimension.hpp -include/liblas/error.hpp -include/liblas/exception.hpp -include/liblas/export.hpp -include/liblas/external/property_tree/detail/exception_implementation.hpp -include/liblas/external/property_tree/detail/file_parser_error.hpp -include/liblas/external/property_tree/detail/info_parser_error.hpp -include/liblas/external/property_tree/detail/info_parser_read.hpp -include/liblas/external/property_tree/detail/info_parser_utils.hpp -include/liblas/external/property_tree/detail/info_parser_write.hpp -include/liblas/external/property_tree/detail/info_parser_writer_settings.hpp -include/liblas/external/property_tree/detail/json_parser_error.hpp -include/liblas/external/property_tree/detail/json_parser_read.hpp -include/liblas/external/property_tree/detail/json_parser_write.hpp -include/liblas/external/property_tree/detail/ptree_implementation.hpp -include/liblas/external/property_tree/detail/ptree_utils.hpp -include/liblas/external/property_tree/detail/rapidxml.hpp -include/liblas/external/property_tree/detail/xml_parser_error.hpp -include/liblas/external/property_tree/detail/xml_parser_flags.hpp -include/liblas/external/property_tree/detail/xml_parser_read_rapidxml.hpp -include/liblas/external/property_tree/detail/xml_parser_utils.hpp -include/liblas/external/property_tree/detail/xml_parser_write.hpp -include/liblas/external/property_tree/detail/xml_parser_writer_settings.hpp -include/liblas/external/property_tree/exceptions.hpp -include/liblas/external/property_tree/id_translator.hpp -include/liblas/external/property_tree/info_parser.hpp -include/liblas/external/property_tree/ini_parser.hpp -include/liblas/external/property_tree/json_parser.hpp -include/liblas/external/property_tree/ptree.hpp -include/liblas/external/property_tree/ptree_fwd.hpp -include/liblas/external/property_tree/ptree_serialization.hpp -include/liblas/external/property_tree/stream_translator.hpp -include/liblas/external/property_tree/string_path.hpp -include/liblas/external/property_tree/xml_parser.hpp -include/liblas/factory.hpp -include/liblas/filter.hpp -include/liblas/header.hpp -include/liblas/index.hpp -include/liblas/iterator.hpp -include/liblas/liblas.hpp -include/liblas/point.hpp -include/liblas/reader.hpp -include/liblas/schema.hpp -include/liblas/spatialreference.hpp -include/liblas/transform.hpp -include/liblas/utility.hpp -include/liblas/variablerecord.hpp -include/liblas/version.hpp -include/liblas/writer.hpp -lib/liblas.so -lib/liblas.so.3 -lib/liblas.so.2.4.0 -lib/liblas_c.so -lib/liblas_c.so.3 -lib/liblas_c.so.2.4.0 -%%DATADIR%%/doc/AUTHORS -%%DATADIR%%/doc/COPYING -%%DATADIR%%/doc/INSTALL -%%DATADIR%%/doc/LICENSE.txt -%%DATADIR%%/doc/README.txt -share/cmake/libLAS/liblas-config-version.cmake -share/cmake/libLAS/liblas-config.cmake -share/cmake/libLAS/liblas-depends.cmake -share/cmake/libLAS/liblas-depends-release.cmake