From nobody Mon Oct 03 02:24:28 2022 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 4Mgl5m6gPTz4f951; Mon, 3 Oct 2022 02:24:28 +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 4Mgl5m4c9Lz44m6; Mon, 3 Oct 2022 02:24:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664763868; 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=GwNUXDx8YzVLnxB3eeEI/CH7iRZ3a5BSJ+HdqYjIcuc=; b=M35JsWdPUF8lOlcMrQdzwsN7NH5DxZ6jSVQH9Il43eM1IEbauBvV+jU90jhQ64k0quPqsa 0KEldW8LGfMUg2Ln1lCdmhmXYRwOxiW2A/i9kbtCwRdas0CAre0HVKaUvYFOEfjxKPRHre yJrfRWJ+NVRRhL4WvanesT7oICptUVkjnMT7zUtIrc9i5D5oAGnVnO/+xtl11QsYkoBh6B 7y+3n+EUPFuTxJrySXIkTTXt+Hh0GYzsG/uBPEu4pVRJZwuMoo5pecDaUWXhwKh6YEkAf2 1yXwGQGr63i/dvke8rOWb7qCixbb0IpXxoi+Wx9nKJjeimwbeaqUaMxQx8GvVA== 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 4Mgl5m3jQ9z13md; Mon, 3 Oct 2022 02:24:28 +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 2932OSBm096663; Mon, 3 Oct 2022 02:24:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2932OS3d096662; Mon, 3 Oct 2022 02:24:28 GMT (envelope-from git) Date: Mon, 3 Oct 2022 02:24:28 GMT Message-Id: <202210030224.2932OS3d096662@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f1f15ae8f1b9 - main - devel/p5-Test-Archive-Libarchive: Add p5-Test-Archive-Libarchive 0.02 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f1f15ae8f1b94dc8f2eceb948aa977da61a88b19 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664763868; 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=GwNUXDx8YzVLnxB3eeEI/CH7iRZ3a5BSJ+HdqYjIcuc=; b=y3bijlsiTQlSy/atXJPWE+xxEDkmtgnBqjEbvy97U/Q5CJgedhvZIXQPVg6+reiJB7dCpq mRt2hEoLKb26ODste7N0E9cmJVI6C/qW1AUsmV83FGeGozQkbJjboWhyv/4Hi+4Cji4N8X mnay32lJAneMTLWvL7BThaneCB7ufBtzC5qY9yrIWJ9H8ygRpdatDjnvV5uXRV59Y00sj/ vR1wRllz7FUmBJL+Tfy64VgdQvlw+ujYZp3kpA2QCGnCp6fDfIiM/pjdkU7QXAUZyfB4pU jsqPMvh9G0MrITgl81uD62ug9p6E3Ee/CtKYZG8bafD1+7x++kGH0hQl2cqajw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664763868; a=rsa-sha256; cv=none; b=Qba3qhT1HdEb6qZqKL0TLBeDM6LrUpk+lfCtEdDDyYhoQBwq3WukicNToORhdSHKqge9hO fLvfAboajVKKrOC4SSgIlNqEowTPp4d2WroxkAoNSeFoBsx6qhmxY05DDIr030WMksKeHy TqICTaBIgtP6Zu8pLS+ntpE6YTOKAsaGL3zxlNfcQeUnUgyQk9d61xF197m2je9GNIjZdl QhRXifdArRdAfrMEyV3s6HymDS9jCgjbxDGqe/uBj26tb4Si3D2UZabKX9N7ARH6HAdwjF cDfFCu0YZJVp1wEvOBijDzuQxE/4AGM5MJx01aIStuVxhJSHE9Pp3OYb3zxaQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f1f15ae8f1b94dc8f2eceb948aa977da61a88b19 commit f1f15ae8f1b94dc8f2eceb948aa977da61a88b19 Author: Po-Chuan Hsieh AuthorDate: 2022-10-03 02:10:16 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-10-03 02:10:16 +0000 devel/p5-Test-Archive-Libarchive: Add p5-Test-Archive-Libarchive 0.02 Error handling for libarchive and Archive::Libarchive is fairly primitive. Most methods return an int which correspond to ARCHIVE_EOF, ARCHIVE_OK, ARCHIVE_RETRY, ARCHIVE_WARN, ARCHIVE_FAILED or ARCHIVE_FATAL. Some methods will also return the number of actual bytes written on success and one of these codes on failure. It can be tedious doing the necessary checks for each method call in a test, so this module provides tools for testing Archive::Libarchive method calls that follow this pattern. --- devel/Makefile | 1 + devel/p5-Test-Archive-Libarchive/Makefile | 24 ++++++++++++++++++++++++ devel/p5-Test-Archive-Libarchive/distinfo | 3 +++ devel/p5-Test-Archive-Libarchive/pkg-descr | 7 +++++++ devel/p5-Test-Archive-Libarchive/pkg-plist | 2 ++ 5 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 6bd5c3949494..edeebb78b154 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3388,6 +3388,7 @@ SUBDIR += p5-Test-Able SUBDIR += p5-Test-Able-Runner SUBDIR += p5-Test-Aggregate + SUBDIR += p5-Test-Archive-Libarchive SUBDIR += p5-Test-Assertions SUBDIR += p5-Test-Auto SUBDIR += p5-Test-Base diff --git a/devel/p5-Test-Archive-Libarchive/Makefile b/devel/p5-Test-Archive-Libarchive/Makefile new file mode 100644 index 000000000000..83b0b432312b --- /dev/null +++ b/devel/p5-Test-Archive-Libarchive/Makefile @@ -0,0 +1,24 @@ +PORTNAME= Test-Archive-Libarchive +PORTVERSION= 0.02 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Testing tools for Archive::Libarchive +WWW= https://metacpan.org/dist/Test-Archive-Libarchive + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Ref-Util>=0:devel/p5-Ref-Util \ + p5-Test2-Suite>=0.000121:devel/p5-Test2-Suite + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-Test-Archive-Libarchive/distinfo b/devel/p5-Test-Archive-Libarchive/distinfo new file mode 100644 index 000000000000..dffa12165233 --- /dev/null +++ b/devel/p5-Test-Archive-Libarchive/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1663672730 +SHA256 (Test-Archive-Libarchive-0.02.tar.gz) = 2b1918671e05da2d9d222c10c7d917585a624186feafb8f84908599c34702751 +SIZE (Test-Archive-Libarchive-0.02.tar.gz) = 17622 diff --git a/devel/p5-Test-Archive-Libarchive/pkg-descr b/devel/p5-Test-Archive-Libarchive/pkg-descr new file mode 100644 index 000000000000..9471d95e1149 --- /dev/null +++ b/devel/p5-Test-Archive-Libarchive/pkg-descr @@ -0,0 +1,7 @@ +Error handling for libarchive and Archive::Libarchive is fairly primitive. Most +methods return an int which correspond to ARCHIVE_EOF, ARCHIVE_OK, +ARCHIVE_RETRY, ARCHIVE_WARN, ARCHIVE_FAILED or ARCHIVE_FATAL. Some methods will +also return the number of actual bytes written on success and one of these codes +on failure. It can be tedious doing the necessary checks for each method call in +a test, so this module provides tools for testing Archive::Libarchive method +calls that follow this pattern. diff --git a/devel/p5-Test-Archive-Libarchive/pkg-plist b/devel/p5-Test-Archive-Libarchive/pkg-plist new file mode 100644 index 000000000000..c38485e81329 --- /dev/null +++ b/devel/p5-Test-Archive-Libarchive/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Test/Archive/Libarchive.pm +%%PERL5_MAN3%%/Test::Archive::Libarchive.3.gz