From nobody Sat Mar 11 22:49:13 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 4PYylZ0MTXz3wyWT; Sat, 11 Mar 2023 22:49:14 +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 4PYylY6T5fz4HWR; Sat, 11 Mar 2023 22:49:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678574953; 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=RMYAAQOv4Z1CtkAG0x3TfY6PJkzWj9MP05HzKhNZCZY=; b=qz41hHZ8N42be4WA4E1d+hWxk73SJQ48cHB4CBx5NOV2laOSldh5dJGqCyXFc8eqxq++2s R/SxkSKwMl+IkUh1Cu6O/C8GG0brsjGQ0xA+OUf0KLISITQf4R23KRP/Qullc8lKahZsx7 Qx523bFd2jAG2nBGruFh+ZCgRhK8/m4j4u7dLIcDvFeyBKNBIiot/ZBT2VO0e2BIhZYZWC id2/j6T77EuOhtKc4mTssaZe2nqui9Rgnr6F3FLbAYv93irMDevLzvtxnL7f7f+QB4MuUc IRPSXjaoXa50+7kOvxLuagvcKy8VLsHGL3e22k0t+Zu+/eHgr+GtzuExZNMPlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678574953; 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=RMYAAQOv4Z1CtkAG0x3TfY6PJkzWj9MP05HzKhNZCZY=; b=BbOQ9yb0Vj+q+Divt/TK6vaWbCzyzH7uwrsyUkAqVMwfs2sIcZyrwfmOPNSwmy/X9S128d wW0+eVly9n+nLg1mjAvWbv8KXcqeXIJC5a5u7a8edGcQcgPyeRMR5/e/0nVpzEWHuZiFUn ReL5j3l+gHvR1JkKqUOuWX3kWEl1rqY49HlhVtjtBdKvCO3svDOCo9FTY09UQ5QxrxSzki aIWGfEznR5+BM5SIbr6ZGnyxwd5iscnwnv2hf2Iez+kixDiEMPLV0rCWQ0dWVrCGXPYoLj HFVCNBt/GBcLNDQ8OU1Za2k8BxUMVEZKUbw/kd2jYxmdcRJaXxYdLp+sOOF+DQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678574953; a=rsa-sha256; cv=none; b=yJiQOeKYY7gP+nOGqka837yAOWNGOsOj6R6DtVjRqiNAi+7ZYlrGh4P6D7UsEDsg52/sgV XdC5bsdPDMPBKzDCYL1YIkuu7/iL9UjM7bkXaX061GDSJsDoeep0d7PyFp2xvPB+tNvj2/ o2aEJvzQ3SUG7eSG8GCN3lR/eMzHdOFPwIc5TNh24HeiiMErUxOloosVEsTg6QNci+5n2V nnsQwxJzLSo8hut5PW4Joe6UhL+T9Q1ylxPJQefb303ZnyGp/fYTKhIASu57GJuWo9QsTu fLMHmmVthxtRSMS6BG8YkCaSCQTFVBTj2FxKbcxogaTo6zotpjJ0WIPzq7BZjg== 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 4PYylY5Vk0znP9; Sat, 11 Mar 2023 22:49:13 +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 32BMnDVS080604; Sat, 11 Mar 2023 22:49:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32BMnDVb080603; Sat, 11 Mar 2023 22:49:13 GMT (envelope-from git) Date: Sat, 11 Mar 2023 22:49:13 GMT Message-Id: <202303112249.32BMnDVb080603@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Colin Percival Subject: git: 7ebd4ff07485 - main - net/aws-ec2-imdsv2-get: 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: cperciva X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ebd4ff07485094bbdf04e7ade6a2ff426e6a704 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ebd4ff07485094bbdf04e7ade6a2ff426e6a704 commit 7ebd4ff07485094bbdf04e7ade6a2ff426e6a704 Author: Colin Percival AuthorDate: 2023-03-11 22:42:53 +0000 Commit: Colin Percival CommitDate: 2023-03-11 22:48:53 +0000 net/aws-ec2-imdsv2-get: Add new port Tool for reading data from the EC2 Instance Metadata Service (IMDS), supporting both the original (v1) protocol and the newer (v2) protocol. Authored by Jarrett Tierney. Sponsored by: https://www.patreon.com/cperciva --- net/Makefile | 1 + net/aws-ec2-imdsv2-get/Makefile | 24 ++++++++++++++++++++++++ net/aws-ec2-imdsv2-get/distinfo | 3 +++ net/aws-ec2-imdsv2-get/pkg-descr | 2 ++ 4 files changed, 30 insertions(+) diff --git a/net/Makefile b/net/Makefile index f31d9f07b85d..3ff3a620ae6c 100644 --- a/net/Makefile +++ b/net/Makefile @@ -45,6 +45,7 @@ SUBDIR += avahi-libdns SUBDIR += avahi-qt5 SUBDIR += avahi-sharp + SUBDIR += aws-ec2-imdsv2-get SUBDIR += axa SUBDIR += babeld SUBDIR += balance diff --git a/net/aws-ec2-imdsv2-get/Makefile b/net/aws-ec2-imdsv2-get/Makefile new file mode 100644 index 000000000000..1e7f286c2a95 --- /dev/null +++ b/net/aws-ec2-imdsv2-get/Makefile @@ -0,0 +1,24 @@ +PORTNAME= aws-ec2-imdsv2-get +DISTVERSION= 1.0.3 +CATEGORIES= net + +MAINTAINER= cperciva@FreeBSD.org +COMMENT= Reads data from EC2 IMDS with v2 protocol +WWW= https://github.com/aws/aws-ec2-imdsv2-get + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cargo +USE_GITHUB= yes +GH_ACCOUNT= aws + +PORTDOCS= NOTICE README.md + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/net/aws-ec2-imdsv2-get/distinfo b/net/aws-ec2-imdsv2-get/distinfo new file mode 100644 index 000000000000..99870cdec874 --- /dev/null +++ b/net/aws-ec2-imdsv2-get/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1678403227 +SHA256 (aws-aws-ec2-imdsv2-get-1.0.3_GH0.tar.gz) = 38eafc507d181a633b2d68eca5072f875c28ec5b2168e5d42859102611e90058 +SIZE (aws-aws-ec2-imdsv2-get-1.0.3_GH0.tar.gz) = 7427 diff --git a/net/aws-ec2-imdsv2-get/pkg-descr b/net/aws-ec2-imdsv2-get/pkg-descr new file mode 100644 index 000000000000..3ff379ba0579 --- /dev/null +++ b/net/aws-ec2-imdsv2-get/pkg-descr @@ -0,0 +1,2 @@ +Tool for reading data from the EC2 Instance Metadata Service (IMDS), +supporting both the original (v1) protocol and the newer (v2) protocol.