diff options
author | Steve Wills <swills@FreeBSD.org> | 2017-11-15 19:31:55 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2017-11-15 19:31:55 +0000 |
commit | c02c7d60a886f94eeb71440c15294a99ae00f03f (patch) | |
tree | 3b187b1bbeb9c7c8455f9efb32006c840e8e2738 /net-mgmt | |
parent | 44ae07a5c01060c7e7913ba980f1faa715c13385 (diff) |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/mdata-client/Makefile | 18 | ||||
-rw-r--r-- | net-mgmt/mdata-client/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/mdata-client/files/patch-Makefile | 14 | ||||
-rw-r--r-- | net-mgmt/mdata-client/pkg-descr | 5 | ||||
-rw-r--r-- | net-mgmt/mdata-client/pkg-plist | 8 |
6 files changed, 49 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index afe25be78443..5a6d1d53b76d 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -120,6 +120,7 @@ SUBDIR += libsmi SUBDIR += lldpd SUBDIR += mbrowse + SUBDIR += mdata-client SUBDIR += mk-livestatus SUBDIR += monitoring-plugins SUBDIR += mrtg 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 |