diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2023-03-11 22:42:53 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2023-03-11 22:48:53 +0000 |
commit | 7ebd4ff07485094bbdf04e7ade6a2ff426e6a704 (patch) | |
tree | 8c1c793e498e1c012dbd3be155675c0649180e17 | |
parent | dd567b32c6a831801869ee36d4e932044180f8d1 (diff) | |
download | ports-7ebd4ff07485094bbdf04e7ade6a2ff426e6a704.tar.gz ports-7ebd4ff07485094bbdf04e7ade6a2ff426e6a704.zip |
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
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/aws-ec2-imdsv2-get/Makefile | 24 | ||||
-rw-r--r-- | net/aws-ec2-imdsv2-get/distinfo | 3 | ||||
-rw-r--r-- | net/aws-ec2-imdsv2-get/pkg-descr | 2 |
4 files changed, 30 insertions, 0 deletions
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. |