From nobody Tue Aug 08 07:05:33 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 4RKkjT4lwYz4TnfD; Tue, 8 Aug 2023 07:05:33 +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 4RKkjT2zzVz4DbY; Tue, 8 Aug 2023 07:05:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691478333; 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=pinJ1gXKrLL36pDkyKr7BLMW6q2iWH0molA9+xMI8wk=; b=Y4lV+ne22hUp6FILY52cEIsqunty2deTf8IwZqoHieOCSo/4meKeeYGISvwqDVdpOcw2CG tftf6sXziF/AsGvnxAZRybvwizjTVM6XVpze/Hh1uqkOQQ5j1cxRh+TQ6pgRPCvmAdKlnW U6/ESTI96kpB+LZXLPpYyRbN9a0iLC/eR5v6j2/O5fRiFQu+WESw6mWCqxiZYlsnR1wKvx 4iaJz4p7Ue70ilFDQvFfQsKzehaAv8Qw+4Cdnmg1uvG5WnMnm/0iMjtPbCdzcTWiBdnA35 NvBGIPuR5LXeQrb/7MDBPFtUZLjMhh6OMyj/iVSQ6SmzQgd2flKDI0Cf15Vq1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691478333; 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=pinJ1gXKrLL36pDkyKr7BLMW6q2iWH0molA9+xMI8wk=; b=jxulq+ApF658r9VArnCjurTnQtcKmgaCAf2aIR08fueSXNMzeVQznqvr5dNO+D8Uqh+6Av n5V6b/cnqPW7R40JhIOG0dLAjSzLql9D+lsr9LVM7rIIGnQda/kc/9kK4f8GDcmGqZ4xQt uQTCAslEbauWXeXmi1HBSr9EwScyf2n77RnHKpasJPLo3lOkQGEE/gZJq0VFS6uuVM5STx ymFL/5ClPMT48OK4m4AyxJGr5TOwDuaeFbE+m/+XAzb/6oKnobI8UoGwSRNPsDNmv+rNLI PENp+GAMqQKbXnnH4xNHk6iY7AllXy9pxqZWfwrgl4WHXt4e33ThC5omr42PWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691478333; a=rsa-sha256; cv=none; b=HAF8jd5d54AdS/vDKqcK1A2U1G229j/NfvfIz0riDOn1dFe32AQs9Qv946wGykWlNLbySe Ufs/TylkAg835lFBd880e4WYSNwsHgYM6TkCqpCdwm9p6+5toNyrkt8sgjDjogobZPXQqm 7XIygrKf/x2d2I7AN57r1wthR9BDeX+UwPPbCBFmccaQK1OfQo1aVr9cV8xXbEVPgrelrJ vNlBfEZTnTzrevesrHOZqOzYpqr25U75dx1Ab5Joia4+8D4rSxcCwbllpHZppwsiEzEA4I CNHkV26oMpqU8wUEka9Dv9WexGZJqsUC92juZBrnlldKuPkheXJoh71b3n4Z3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RKkjT20t2z8qS; Tue, 8 Aug 2023 07:05:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37875Xvq092369; Tue, 8 Aug 2023 07:05:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37875XAD092368; Tue, 8 Aug 2023 07:05:33 GMT (envelope-from git) Date: Tue, 8 Aug 2023 07:05:33 GMT Message-Id: <202308080705.37875XAD092368@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 0b552432e344 - main - ports-mgmt/pkg-appstream: + libpkg plugin for AppStream metadata handling. 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: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0b552432e344030df3f9dc9e085c3a82af5f18af Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b552432e344030df3f9dc9e085c3a82af5f18af commit 0b552432e344030df3f9dc9e085c3a82af5f18af Author: Gleb Popov AuthorDate: 2023-06-04 12:16:42 +0000 Commit: Gleb Popov CommitDate: 2023-08-08 07:05:26 +0000 ports-mgmt/pkg-appstream: + libpkg plugin for AppStream metadata handling. Sponsored by: Serenity Cybersecurity, LLC --- ports-mgmt/Makefile | 1 + ports-mgmt/pkg-appstream/Makefile | 27 +++++++++++++++++++++++++++ ports-mgmt/pkg-appstream/distinfo | 3 +++ ports-mgmt/pkg-appstream/pkg-descr | 2 ++ 4 files changed, 33 insertions(+) diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index 82ff597733cc..d886328f5d6f 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -25,6 +25,7 @@ SUBDIR += parfetch-overlay SUBDIR += pchecker SUBDIR += pkg + SUBDIR += pkg-appstream SUBDIR += pkg-devel SUBDIR += pkg-graph SUBDIR += pkg-provides diff --git a/ports-mgmt/pkg-appstream/Makefile b/ports-mgmt/pkg-appstream/Makefile new file mode 100644 index 000000000000..b7acf9e470b2 --- /dev/null +++ b/ports-mgmt/pkg-appstream/Makefile @@ -0,0 +1,27 @@ +PORTNAME= pkg-appstream +DISTVERSIONPREFIX= v +PORTVERSION= 1.0.0 +CATEGORIES= ports-mgmt + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Pkg plugin for downloading AppStream metadata +WWW= https://github.com/freebsd/pkg-appstream + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/include/pkg.h:ports-mgmt/pkg + +USES= localbase + +USE_GITHUB= yes +GH_ACCOUNT= freebsd + +MAKE_ENV= LIBOWN=nobody LIBGRP=nobody + +PLIST_FILES= lib/pkg/appstream.so + +pre-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pkg + +.include diff --git a/ports-mgmt/pkg-appstream/distinfo b/ports-mgmt/pkg-appstream/distinfo new file mode 100644 index 000000000000..7fc351647ff6 --- /dev/null +++ b/ports-mgmt/pkg-appstream/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691477749 +SHA256 (freebsd-pkg-appstream-v1.0.0_GH0.tar.gz) = b3e8b0dd9d8fd4deefa6a91d6e76d81c5483292ee05fabb4311eaca6a068e09e +SIZE (freebsd-pkg-appstream-v1.0.0_GH0.tar.gz) = 2404 diff --git a/ports-mgmt/pkg-appstream/pkg-descr b/ports-mgmt/pkg-appstream/pkg-descr new file mode 100644 index 000000000000..3896d18e481a --- /dev/null +++ b/ports-mgmt/pkg-appstream/pkg-descr @@ -0,0 +1,2 @@ +This libpkg plugin is supposed to fill /var/lib/swcatalog/xml/ directory with +up-to-date AppStream metadata from pkg repositories that support that.