From nobody Mon Feb 06 06:53:49 2023 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 4P9H6Q1N9Gz3ncY6; Mon, 6 Feb 2023 06:53:50 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P9H6Q0shmz3Byy; Mon, 6 Feb 2023 06:53:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675666430; 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=73Zni5wd3G7Ums3hKuP/SV0VsjsHZFJztqV0evx//Dw=; b=JGjhAwRtz6w5HWdnnTmlnNZ25RcIbHW5OUdntFmGTFwBTPKMzktVs3L9wwFN9aik3Y52YS tdJn24NtDmXDSoQKYas2NSi/lqzEmOZF262uw+ITF9CNG1kyumUX7vrEtPUEp824Ft+Cs0 f5imw+Jvki6Xmr4anBHN16BILBn/aS4DySjnHG6oxWYStG6tZri268qMxRs3RmrQ3H6233 5G10LpMsC+n1rs04fmw9DRS7tMmRWNrV5vBRu0hZZAaTzTe8IDEj+APEnJCTWwwzithsTc sK5Av9TaBP+52SxU5WvqBgmQmnXsmJ1TAaIIlsaqAxAhUOiN8+fsLaOP/S87Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675666430; 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=73Zni5wd3G7Ums3hKuP/SV0VsjsHZFJztqV0evx//Dw=; b=jPZ600NQ30jaeZqCEGFYwG9xV38EgHjyDPA88KpiObBHjM2SibXgZhKtRklna4gj79gcSn oc48d7Tm0yW6+axAm2elf/wp5Bx+1OEEntbnO5BXH3cULIkRevov5O0NW4jJbI4Bm5ENQp v1aN9Cv5uuLO97t2j0eBbM4DaP/bKzMtCLqwZ0jQTG5Bgh0TwBbLr95/u8av3JcgrxfYik cKFfzeW4BKo8DG4emtoJM0XS90jm8aniyHZw9msO/UVVn6zLARuRcBWrQ56OnhzZn8M6Xk U2mruqKc6RNgvFeqVgbkxvJE9WGj+nMKcy7RDSpRrDc8xW4UzmOCighVlsk15A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675666430; a=rsa-sha256; cv=none; b=MigWVPbjOHPGYdqcl7KcSAOyQMHkmpXUqOdv8K5OuNbu5AmZqiR+PhfaiXG33H9JBngTrC khD1GrwUKlJExQvUAStP5nta+vYe/TwY9w/tK4WJEBVMQiLfwMW3Kj9sFSN05ANE7yZRW8 yQHlfPOQ5brEGOWUscGhHJyQ3tBCDcJ09nPfH9RVoCp3MAjBuoDexsjETCAlBFlNhOiNVD ftaZtKRIf/YnflaxaG3cDJKoEYZyz/vEq/QUVVr0UNl3HPC4IWAs1X/K8kugGVZYlf7AH6 Mncps1aNX3c2WV65y+T2egr//fud7SH8DHTDuBWZt2ZiWEfBo1sypIzMkIV8TQ== 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 4P9H6P6k5RzQcf; Mon, 6 Feb 2023 06:53:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3166rnlO030691; Mon, 6 Feb 2023 06:53:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3166rnYH030689; Mon, 6 Feb 2023 06:53:49 GMT (envelope-from git) Date: Mon, 6 Feb 2023 06:53:49 GMT Message-Id: <202302060653.3166rnYH030689@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: 216fd47c91df - main - archivers/ancient: Add new port 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 216fd47c91df77d77ccb5c1a714e619e0ae8020b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=216fd47c91df77d77ccb5c1a714e619e0ae8020b commit 216fd47c91df77d77ccb5c1a714e619e0ae8020b Author: Emanuel Haupt AuthorDate: 2023-02-05 18:23:23 +0000 Commit: Emanuel Haupt CommitDate: 2023-02-06 06:53:44 +0000 archivers/ancient: Add new port ancient is a collection of decompression routines for old formats popular in the Amiga, Atari computers and some other systems from 80's and 90's as well as some that are currently used which were used in a some specific way in these old systems. For simple usage both a simple command line application as well as a simple API to use the decompressors are provided. The compression algorithm is automatically detected in most cases, however there are some corner cases where it is not entirely reliable due to weaknesses in the old format used. --- archivers/Makefile | 1 + archivers/ancient/Makefile | 26 +++++++++++++++++++++++++ archivers/ancient/distinfo | 3 +++ archivers/ancient/files/ancient.1 | 41 +++++++++++++++++++++++++++++++++++++++ archivers/ancient/pkg-descr | 7 +++++++ archivers/ancient/pkg-plist | 7 +++++++ 6 files changed, 85 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index f80c7a291505..a9acb772a873 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -5,6 +5,7 @@ SUBDIR += R-cran-zip SUBDIR += advancecomp SUBDIR += amigadepacker + SUBDIR += ancient SUBDIR += apache-commons-compress SUBDIR += arc SUBDIR += arj diff --git a/archivers/ancient/Makefile b/archivers/ancient/Makefile new file mode 100644 index 000000000000..b13d6d55db80 --- /dev/null +++ b/archivers/ancient/Makefile @@ -0,0 +1,26 @@ +PORTNAME= ancient +PORTVERSION= 2.0.0 +DISTVERSIONPREFIX= v +CATEGORIES= archivers + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Decompression routines for ancient formats +WWW= https://github.com/temisu/ancient + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive + +USES= autoreconf gmake libtool pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= temisu +GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip + +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +.include diff --git a/archivers/ancient/distinfo b/archivers/ancient/distinfo new file mode 100644 index 000000000000..b446009273eb --- /dev/null +++ b/archivers/ancient/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1675603963 +SHA256 (temisu-ancient-v2.0.0_GH0.tar.gz) = 9c6b31e4d968ec3adb25596a0b30405d1080d3de0546f1485ecb0ac2eca6261d +SIZE (temisu-ancient-v2.0.0_GH0.tar.gz) = 98727 diff --git a/archivers/ancient/files/ancient.1 b/archivers/ancient/files/ancient.1 new file mode 100644 index 000000000000..c53abea3f26f --- /dev/null +++ b/archivers/ancient/files/ancient.1 @@ -0,0 +1,41 @@ +.TH ancient 1 "December 25 2020" +.SH NAME +ancient \- decompression routines for ancient formats +.SH SYNOPSIS +.B ancient +.RI [ identify | verify | decompress | scan ] " inputfile" " optionaloutputfile" +.br +.SH DESCRIPTION +This manual page documents briefly the +.B ancient +command. +.PP +\fBancient\fP is a collection of decompression routines for old formats popular +in the Amiga, Atari computers and some other systems from 80's and 90's as well +as some that are currently used which were used in a some specific way in these +old systems. +.br +For simple usage both a simple command line application as well as a simple API +to use the decompressors are provided. The compression algorithm is +automatically detected in most cases, however there are some corner cases +where it is not entirely reliable due to weaknesses in the old format used. +.br +.SH OPTIONS +These programs DO NOT follow the usual GNU command line syntax. +.TP +.B identify packed_input_file +Identifies compression used in a file. +.TP +.B verify packed_input_file unpacked_comparison_file +Verifies decompression against known good unpacked file. +.TP +.B decompress packed_input_file output_file +Decompresses single file +.TP +.B scan input_dir output_dir +Scans input directory recursively and stores all found. +Known compressed streams to separate files in output directory. +.SH SEE ALSO +.BR unxz (1), +.BR unpigz (1). +.br diff --git a/archivers/ancient/pkg-descr b/archivers/ancient/pkg-descr new file mode 100644 index 000000000000..244ac4cd48cb --- /dev/null +++ b/archivers/ancient/pkg-descr @@ -0,0 +1,7 @@ +ancient is a collection of decompression routines for old formats popular in the +Amiga, Atari computers and some other systems from 80's and 90's as well as some +that are currently used which were used in a some specific way in these old +systems. For simple usage both a simple command line application as well as a +simple API to use the decompressors are provided. The compression algorithm is +automatically detected in most cases, however there are some corner cases where +it is not entirely reliable due to weaknesses in the old format used. diff --git a/archivers/ancient/pkg-plist b/archivers/ancient/pkg-plist new file mode 100644 index 000000000000..d342f2148bfb --- /dev/null +++ b/archivers/ancient/pkg-plist @@ -0,0 +1,7 @@ +bin/ancient +include/ancient/ancient.hpp +lib/libancient.a +lib/libancient.so +lib/libancient.so.2 +lib/libancient.so.2.0.0 +libdata/pkgconfig/libancient.pc