From nobody Thu Oct 10 21:21:58 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XPjPg2QHNz5YfxM; Thu, 10 Oct 2024 21:21:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPjPf6RXSz4g8n; Thu, 10 Oct 2024 21:21:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728595318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5njGuIqSXzg7N6Jg+CZ9wCnKC/VqcuKPBGJ2Cpy+KQg=; b=J63mLwjKfBdtr1oGORcKar3pCSEifOUvzTOPpedOkNTTqVxZIbq0+kKCEQbanIHBTTU7Lf 8Ja8W9CxK1l/q+Mtqr+TN1VJGksb0X5LvDYhNwc9q8qCUQ7ejTUNI0BAXBJLADK/RJExMI 3eb79NVYyk7+a6gafaim8OPlsEI68lnl2wiesO+6733jUVN8dpOTVFPE/FSvFxqfL6azU0 8iEYImR4f6etAaj/lpngo47Fdwrt8ZsJVFGWMgOQBGCv7lpykAs5XiYKAhxxjeIJ7OlGuH merRSiLUjx8NnRagYDUou19bXHZVntkcG/VmZxhNbF4jgJVE68w3TqK66Cm1CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728595318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5njGuIqSXzg7N6Jg+CZ9wCnKC/VqcuKPBGJ2Cpy+KQg=; b=l4SGsQ2eSusu63Ev68FrNraYcFDaUMvB77iFDGHOzDPbREa4X6RamC7DdQjZDfiGqUTAt2 rIa4guaE6EvUGuikDWczE0ZqTssZq1DgyD8Qezdzi1jZ1RgGocr5EvZ83LcTWeekXznRQ7 iKKHO5QDCELusiShq1Gm4jITF0rfFEKzCXpNW5FJXIak2XBtKihialr5MUZXywNeCKQhSH UsGEt2EmtNrZrRwEfE71wkVI3sY78MnrqfIQIHLOIlpU2exF5J7hOZqRxf+KPEvqjwq3R/ FqMDbtJBuaEXrQIv85RCi+iPZazKcjHLq0v/5CF5mySBDr28VadI5nT3fsYyZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728595318; a=rsa-sha256; cv=none; b=bHFHnWuvXgBBD1TwOa+w6CWCvj9JFCb/AQZG6Uqnn4ol21Sru4OV9L/58PH4N3Wff2wVa4 aO7ZOUu0phqXO3oxmIMqAdNdvv5i0YbcH2cW9yFCiBM4DTHQDA3l3OMLHtc6WKdnytdrzW XILXB5bgeGQnMfZAmHuK6LAaYKk+rjvawpCjLp/xwQaRER8ZpH7F80yOd2jjJTKpkhRN2Y kackuZrIhh1Y94qeE95NUM2VntumAhrjkgrPN0xyh7SN9AcSFUxluWSPLCaqjYU3WkryAR /Ionldj1mwcBOHhNQId9U8f6lw0E58ajt3wwmsvlApN9sv8haE0RP0qpctLTqg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XPjPf5kHpzF07; Thu, 10 Oct 2024 21:21:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49ALLwD5005531; Thu, 10 Oct 2024 21:21:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49ALLw1R005528; Thu, 10 Oct 2024 21:21:58 GMT (envelope-from git) Date: Thu, 10 Oct 2024 21:21:58 GMT Message-Id: <202410102121.49ALLw1R005528@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: e5985f145067 - main - archovers/libszip: New port: Implementation of the extended-Rice lossless compression algorithm List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e5985f1450673f41cbeca66656c13bb79ede5ffa Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e5985f1450673f41cbeca66656c13bb79ede5ffa commit e5985f1450673f41cbeca66656c13bb79ede5ffa Author: Yuri Victorovich AuthorDate: 2024-10-10 14:48:30 +0000 Commit: Yuri Victorovich CommitDate: 2024-10-10 21:20:23 +0000 archovers/libszip: New port: Implementation of the extended-Rice lossless compression algorithm --- archivers/Makefile | 1 + archivers/libszip/Makefile | 20 ++++++++++++++++++++ archivers/libszip/distinfo | 3 +++ archivers/libszip/files/patch-CMakeLists.txt | 20 ++++++++++++++++++++ archivers/libszip/pkg-descr | 5 +++++ archivers/libszip/pkg-plist | 11 +++++++++++ 6 files changed, 60 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index cb2e68aab92a..000b8f6a69b0 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -68,6 +68,7 @@ SUBDIR += liblzxcomp SUBDIR += libmspack SUBDIR += libpar2 + SUBDIR += libszip SUBDIR += libunrar SUBDIR += libzip SUBDIR += libzippp diff --git a/archivers/libszip/Makefile b/archivers/libszip/Makefile new file mode 100644 index 000000000000..332908347060 --- /dev/null +++ b/archivers/libszip/Makefile @@ -0,0 +1,20 @@ +PORTNAME= libszip +DISTVERSION= 2.1.1 +CATEGORIES= archivers +MASTER_SITES= https://support.hdfgroup.org/ftp/lib-external/szip/${DISTVERSION}/src/ +DISTNAME= szip-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Implementation of the extended-Rice lossless compression algorithm +WWW= https://support.hdfgroup.org/ + +LICENSE= SZIP +LICENSE_NAME= SZIP Copyright and License Notice +LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_PERMS= auto-accept dist-mirror pkg-mirror # scientific use only is allowed [...] in conjunction with HDF data storage and retrieval file format and software library products (HDF5) + +USES= cmake:testing + +CONFLICTS_INSTALL= libaec + +.include diff --git a/archivers/libszip/distinfo b/archivers/libszip/distinfo new file mode 100644 index 000000000000..545cf425b57c --- /dev/null +++ b/archivers/libszip/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728588196 +SHA256 (szip-2.1.1.tar.gz) = 21ee958b4f2d4be2c9cabfa5e1a94877043609ce86fde5f286f105f7ff84d412 +SIZE (szip-2.1.1.tar.gz) = 415774 diff --git a/archivers/libszip/files/patch-CMakeLists.txt b/archivers/libszip/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..42f82a58ef5f --- /dev/null +++ b/archivers/libszip/files/patch-CMakeLists.txt @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2017-02-03 19:42:43 UTC ++++ CMakeLists.txt +@@ -45,7 +45,7 @@ if (NOT SZIP_INSTALL_DATA_DIR) + set (SZIP_INSTALL_FWRK_DIR ${CMAKE_INSTALL_FRAMEWORK_PREFIX}) + endif () + set (SZIP_INSTALL_DATA_DIR share) +- set (SZIP_INSTALL_CMAKE_DIR share/cmake) ++ set (SZIP_INSTALL_CMAKE_DIR lib/cmake/szip) + else () + set (SZIP_INSTALL_DATA_DIR ".") + set (SZIP_INSTALL_CMAKE_DIR cmake) +@@ -326,7 +326,7 @@ endif () + #----------------------------------------------------------------------------- + # Add Document File(s) to CMake Install + #----------------------------------------------------------------------------- +-if (NOT SZIP_EXTERNALLY_CONFIGURED) ++if (FALSE AND NOT SZIP_EXTERNALLY_CONFIGURED) + install ( + FILES + ${SZIP_SOURCE_DIR}/COPYING diff --git a/archivers/libszip/pkg-descr b/archivers/libszip/pkg-descr new file mode 100644 index 000000000000..24f71d99fa1e --- /dev/null +++ b/archivers/libszip/pkg-descr @@ -0,0 +1,5 @@ +Szip is an implementation of the extended-Rice lossless +compression algorithm. + +It provides lossless compression of scientific data, and is +provided with HDF software products. diff --git a/archivers/libszip/pkg-plist b/archivers/libszip/pkg-plist new file mode 100644 index 000000000000..0654c583de05 --- /dev/null +++ b/archivers/libszip/pkg-plist @@ -0,0 +1,11 @@ +include/SZconfig.h +include/ricehdf.h +include/szip_adpt.h +include/szlib.h +lib/cmake/szip/szip-config-version.cmake +lib/cmake/szip/szip-config.cmake +lib/cmake/szip/szip-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/szip/szip-targets.cmake +lib/libszip.a +lib/libszip.so +lib/libszip.so.2.1