aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/mdata-client
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2017-11-15 19:31:55 +0000
committerSteve Wills <swills@FreeBSD.org>2017-11-15 19:31:55 +0000
commitc02c7d60a886f94eeb71440c15294a99ae00f03f (patch)
tree3b187b1bbeb9c7c8455f9efb32006c840e8e2738 /net-mgmt/mdata-client
parent44ae07a5c01060c7e7913ba980f1faa715c13385 (diff)
downloadports-c02c7d60a886f94eeb71440c15294a99ae00f03f.tar.gz
ports-c02c7d60a886f94eeb71440c15294a99ae00f03f.zip
net-mgmt/mdata-client: create port
Metadata retrieval and manipulation tools for use within guests of the SmartOS (and SDC) hypervisor. These guests may be either SmartOS Zones or KVM virtual machines. WWW: https://github.com/joyent/mdata-client
Notes
Notes: svn path=/head/; revision=454267
Diffstat (limited to 'net-mgmt/mdata-client')
-rw-r--r--net-mgmt/mdata-client/Makefile18
-rw-r--r--net-mgmt/mdata-client/distinfo3
-rw-r--r--net-mgmt/mdata-client/files/patch-Makefile14
-rw-r--r--net-mgmt/mdata-client/pkg-descr5
-rw-r--r--net-mgmt/mdata-client/pkg-plist8
5 files changed, 48 insertions, 0 deletions
diff --git a/net-mgmt/mdata-client/Makefile b/net-mgmt/mdata-client/Makefile
new file mode 100644
index 000000000000..67f59b23ada5
--- /dev/null
+++ b/net-mgmt/mdata-client/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= mdata-client
+PORTVERSION= 20151001
+CATEGORIES= net-mgmt
+
+MAINTAINER= swills@FreeBSD.org
+COMMENT= Metadata tools for use within guests of the SmartOS
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= joyent
+
+USES= gmake
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/mdata-client/distinfo b/net-mgmt/mdata-client/distinfo
new file mode 100644
index 000000000000..a7bbe1c5af64
--- /dev/null
+++ b/net-mgmt/mdata-client/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1510771703
+SHA256 (joyent-mdata-client-20151001_GH0.tar.gz) = bc232639568e13ab7d4cd972a46d63496b5e28bd1b2e1e671ae5d527330877a5
+SIZE (joyent-mdata-client-20151001_GH0.tar.gz) = 18082
diff --git a/net-mgmt/mdata-client/files/patch-Makefile b/net-mgmt/mdata-client/files/patch-Makefile
new file mode 100644
index 000000000000..e1df5d473a55
--- /dev/null
+++ b/net-mgmt/mdata-client/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.orig 2015-04-24 23:13:47 UTC
++++ Makefile
+@@ -18,9 +18,9 @@ HDRS = dynstr.h plat.h proto.h common.h base64.h crc32
+ CFLAGS = -I$(PWD) -Wall -Wextra -Werror -g -O2
+ LDLIBS =
+
+-BINDIR = /usr/sbin
++BINDIR = ${PREFIX}/sbin
+ MANSECT = 1m
+-MANDIR = /usr/share/man/man$(MANSECT)
++MANDIR = ${PREFIX}/man/man$(MANSECT)
+ DESTDIR = $(PWD)/proto
+
+ PROGS = \
diff --git a/net-mgmt/mdata-client/pkg-descr b/net-mgmt/mdata-client/pkg-descr
new file mode 100644
index 000000000000..8569f580ae97
--- /dev/null
+++ b/net-mgmt/mdata-client/pkg-descr
@@ -0,0 +1,5 @@
+Metadata retrieval and manipulation tools for use within guests of the SmartOS
+(and SDC) hypervisor. These guests may be either SmartOS Zones or KVM virtual
+machines.
+
+WWW: https://github.com/joyent/mdata-client
diff --git a/net-mgmt/mdata-client/pkg-plist b/net-mgmt/mdata-client/pkg-plist
new file mode 100644
index 000000000000..534a3da91da2
--- /dev/null
+++ b/net-mgmt/mdata-client/pkg-plist
@@ -0,0 +1,8 @@
+man/man1/mdata-delete.1.gz
+man/man1/mdata-get.1.gz
+man/man1/mdata-list.1.gz
+man/man1/mdata-put.1.gz
+sbin/mdata-delete
+sbin/mdata-get
+sbin/mdata-list
+sbin/mdata-put