Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2023 22:49:13 GMT
From:      Colin Percival <cperciva@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7ebd4ff07485 - main - net/aws-ec2-imdsv2-get: Add new port
Message-ID:  <202303112249.32BMnDVb080603@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cperciva:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7ebd4ff07485094bbdf04e7ade6a2ff426e6a704

commit 7ebd4ff07485094bbdf04e7ade6a2ff426e6a704
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2023-03-11 22:42:53 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
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 <bsd.port.mk>
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303112249.32BMnDVb080603>