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
This commit is contained in:
Steve Wills 2017-11-15 19:31:55 +00:00
parent 44ae07a5c0
commit c02c7d60a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454267
6 changed files with 49 additions and 0 deletions

View file

@ -120,6 +120,7 @@
SUBDIR += libsmi
SUBDIR += lldpd
SUBDIR += mbrowse
SUBDIR += mdata-client
SUBDIR += mk-livestatus
SUBDIR += monitoring-plugins
SUBDIR += mrtg

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1510771703
SHA256 (joyent-mdata-client-20151001_GH0.tar.gz) = bc232639568e13ab7d4cd972a46d63496b5e28bd1b2e1e671ae5d527330877a5
SIZE (joyent-mdata-client-20151001_GH0.tar.gz) = 18082

View file

@ -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 = \

View file

@ -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

View file

@ -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