From nobody Sat Nov 02 17:25:41 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 4Xgl4Q0yFfz5cP0b; Sat, 02 Nov 2024 17:25:42 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xgl4Q0Qjfz4Zcj; Sat, 2 Nov 2024 17:25:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730568342; 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=26ZWrf1yP/fYo1lhkKBz/NPcg9uCEUtZkmvgBR0h44c=; b=JLeleSJN3u/T7oVzRe6G5FDGjCFKXQ03A8NHanUJkzAg84oNSnY7utYb8G4NPKARXnZv8H kbq6kL1Aas/nHFeJOODq6CsDtS/iVDNvABAE7zXU8IN/2kWjrH9piP3HFma2sDs1y3GyaQ arQVGXk5ezNVJUz/PpzoRsfwMO49qBfW0Az7zl3HcKVqvuT2PeDpsrtr5SddYmV7WcADAt x+xDE0EnhlhL910PJmZBVq+R26n5bJJnV53a1ZZzG5o6P8RuLX/iFXfmrTFvxNceK1EXH6 F9ZXK4XFrKjNOU9rMjSFegq3JbLgWIw3FZ5hE/1ktyQmjqSh1c0cFNi3AbeW2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730568342; 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=26ZWrf1yP/fYo1lhkKBz/NPcg9uCEUtZkmvgBR0h44c=; b=IVqwMZNRkiba9VvWevUh+in8A8YBuGAl6bukSzQP+T2zHx+/zg4QR2kH0nVlOs3fUvc+FL /N/LREZ/zzr13vqxugj/g1muK1vN91+ceWgUSQRZcsTtOJ9QfQIgR1VAjEEYm6pVf2vUIH V8t158LoM1412m0mxYDeHvch+CoVAfUKCPLa3HzYbNhPRvgrWxSBcg7phS8K5cgDUsVRSQ EEgXweADwrTfDIddv55IP7WCsAUKgGs6TFAmrxncrhW1tmyr+oGj35T7ZT5V5NlqGFENLg C7lKvi1eVpBkWf7TtmnyApx5G5NyrJyfVhkXAqviq038QwzpBA+nfy+LomMojA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730568342; a=rsa-sha256; cv=none; b=Z1UesP0dkYnPheKCNcUH1Y+pf8tbKvnUFSuHremLaTKP6+jZDM0oJD+nVWZlwgOuPxcwWP JJZAKqjZfFloX/7OrMvT38Ah2A06LTHQy/skm9wRuDVSQ8luW2fvpSNm6hZYGSFGrVrcXC K7pAOBJolmDBNRVHHVaAtXGTsGtX15STLRDcehmQuLJ/jbRZQZUYZ9ArTH9tw+jHMHRtzc MII8FzQKeL/1nTuCmKuYZNeCJYBmJpUEi+EEMOvPUPfJ0JS9WCqKxjyQULmD42xkwsRxaT XaO9LSd2g9r9jmHJroJKAdnG+4U01mrNJjTIKnCIHrlShuknBxHCwjPqvCBydA== 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 4Xgl4P6vxszDhd; Sat, 2 Nov 2024 17:25:41 +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 4A2HPfYR091054; Sat, 2 Nov 2024 17:25:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A2HPfS2091051; Sat, 2 Nov 2024 17:25:41 GMT (envelope-from git) Date: Sat, 2 Nov 2024 17:25:41 GMT Message-Id: <202411021725.4A2HPfS2091051@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Bernhard Froehlich Subject: git: 3fe3f403deaa - main - textproc/libjcat: Add library for reading and writing JSON catalog files 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: decke X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3fe3f403deaa3a2a523d5765420beffb66b29d5f Auto-Submitted: auto-generated The branch main has been updated by decke: URL: https://cgit.FreeBSD.org/ports/commit/?id=3fe3f403deaa3a2a523d5765420beffb66b29d5f commit 3fe3f403deaa3a2a523d5765420beffb66b29d5f Author: Bernhard Froehlich AuthorDate: 2024-11-02 17:23:45 +0000 Commit: Bernhard Froehlich CommitDate: 2024-11-02 17:25:34 +0000 textproc/libjcat: Add library for reading and writing JSON catalog files Created by: norbert.kaminski@3mdeb.com Differential Revision: https://reviews.freebsd.org/D29332 (based on) --- textproc/Makefile | 1 + textproc/libjcat/Makefile | 27 +++++++++++++++++++++++++++ textproc/libjcat/distinfo | 3 +++ textproc/libjcat/pkg-descr | 7 +++++++ textproc/libjcat/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 75 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 7e6e3863febe..9fe078d8ad4f 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -400,6 +400,7 @@ SUBDIR += libfyaml SUBDIR += libgepub SUBDIR += libixion + SUBDIR += libjcat SUBDIR += libkmfl SUBDIR += libkolabxml SUBDIR += libkomparediff2 diff --git a/textproc/libjcat/Makefile b/textproc/libjcat/Makefile new file mode 100644 index 000000000000..fd1546c81c3f --- /dev/null +++ b/textproc/libjcat/Makefile @@ -0,0 +1,27 @@ +PORTNAME= libjcat +DISTVERSION= 0.2.2 +CATEGORIES= textproc + +MAINTAINER= decke@FreeBSD.org +COMMENT= Library for reading and writing JSON catalog files +WWW= https://github.com/hughsie/libjcat + +LICENSE= LGPL21 + +BUILD_DEPENDS= gobject-introspection>=1.36:devel/gobject-introspection \ + gtkdocize:textproc/gtk-doc \ + help2man:misc/help2man \ + ${PYTHON_PKGNAMEPREFIX}elementpath>0:textproc/py-elementpath@${PY_FLAVOR} +LIB_DEPENDS= libgnutls.so:security/gnutls \ + libgpg-error.so:security/libgpg-error \ + libgpgme.so:security/gpgme \ + libhogweed.so:security/nettle \ + libjson-glib-1.0.so:devel/json-glib + +USES= gnome localbase:ldflags meson pkgconfig vala:build python +USE_GITHUB= yes +GH_ACCOUNT= hughsie +USE_GNOME= glib20 +USE_LDCONFIG= yes + +.include diff --git a/textproc/libjcat/distinfo b/textproc/libjcat/distinfo new file mode 100644 index 000000000000..eaac2bdb3522 --- /dev/null +++ b/textproc/libjcat/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730567380 +SHA256 (hughsie-libjcat-0.2.2_GH0.tar.gz) = 60fb1d30b16ba1a2dbf48998094d366bc94a082846b71decf9d6ac6bb6aa4800 +SIZE (hughsie-libjcat-0.2.2_GH0.tar.gz) = 79047 diff --git a/textproc/libjcat/pkg-descr b/textproc/libjcat/pkg-descr new file mode 100644 index 000000000000..c735ac84177e --- /dev/null +++ b/textproc/libjcat/pkg-descr @@ -0,0 +1,7 @@ +This library allows reading and writing gzip-compressed JSON catalog files, +which can be used to store GPG, PKCS-7 and SHA-256 checksums for each file. It +provides equivalent functionality to the catalog files supported in Microsoft +Windows. Unlike Microsoft catalog files which are a signed manifest of hashes, +a Jcat file is a manifest of signatures. This means it's possible (and +positively encouraged) to modify the .jcat file to add new signatures or replace +existing ones. diff --git a/textproc/libjcat/pkg-plist b/textproc/libjcat/pkg-plist new file mode 100644 index 000000000000..b4ba06c73be3 --- /dev/null +++ b/textproc/libjcat/pkg-plist @@ -0,0 +1,37 @@ +bin/jcat-tool +include/libjcat-1/jcat.h +include/libjcat-1/libjcat/jcat-blob.h +include/libjcat-1/libjcat/jcat-bt-checkpoint.h +include/libjcat-1/libjcat/jcat-bt-verifier.h +include/libjcat-1/libjcat/jcat-common.h +include/libjcat-1/libjcat/jcat-compile.h +include/libjcat-1/libjcat/jcat-context.h +include/libjcat-1/libjcat/jcat-engine.h +include/libjcat-1/libjcat/jcat-file.h +include/libjcat-1/libjcat/jcat-item.h +include/libjcat-1/libjcat/jcat-result.h +include/libjcat-1/libjcat/jcat-version.h +lib/girepository-1.0/Jcat-1.0.typelib +lib/libjcat.so +lib/libjcat.so.1 +lib/libjcat.so.1.0.0 +libdata/pkgconfig/jcat.pc +libexec/installed-tests/libjcat/jcat-self-test +share/gir-1.0/Jcat-1.0.gir +share/installed-tests/libjcat/colorhug/firmware.bin +share/installed-tests/libjcat/colorhug/firmware.bin.asc +share/installed-tests/libjcat/colorhug/firmware.bin.ed25519 +share/installed-tests/libjcat/colorhug/firmware.bin.p7b +share/installed-tests/libjcat/colorhug/firmware.bin.p7c +share/installed-tests/libjcat/colorhug/firmware.bin.sha256.p7c +share/installed-tests/libjcat/libjcat.test +share/installed-tests/libjcat/pki/GPG-KEY-Linux-Vendor-Firmware-Service +share/installed-tests/libjcat/pki/LVFS-CA.pem +share/installed-tests/libjcat/pki/test.ed25519 +share/installed-tests/libjcat/pki/test.pem +share/installed-tests/libjcat/secret.ed25519 +share/installed-tests/libjcat/test.btcheckpoint +share/installed-tests/libjcat/test.btverifier +share/man/man1/jcat-tool.1.gz +share/vala/vapi/jcat.deps +share/vala/vapi/jcat.vapi