pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

new package mackerel-agent



Module Name:	pkgsrc-wip
Committed By:	Susumu Miwa <miwarin%gmail.com@localhost>
Pushed By:	miwarin
Date:		Wed Mar 15 22:40:34 2017 +0900
Changeset:	2f412ccc0a92df5342554e9e1c906890e6ba36d8

Added Files:
	mackerel-agent/DESCR
	mackerel-agent/Makefile
	mackerel-agent/PLIST
	mackerel-agent/distinfo

Log Message:
new package mackerel-agent

mackerel-agent is a piece of software which is installed on your hosts to collect metrics
and events and send them to Mackerel where they can be visualized and monitored

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2f412ccc0a92df5342554e9e1c906890e6ba36d8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mackerel-agent/DESCR    |  3 +++
 mackerel-agent/Makefile | 35 +++++++++++++++++++++++++++++++++++
 mackerel-agent/PLIST    |  3 +++
 mackerel-agent/distinfo |  6 ++++++
 4 files changed, 47 insertions(+)

diffs:
diff --git a/mackerel-agent/DESCR b/mackerel-agent/DESCR
new file mode 100644
index 0000000000..6c81c098b7
--- /dev/null
+++ b/mackerel-agent/DESCR
@@ -0,0 +1,3 @@
+mackerel-agent is a piece of software which is installed on your hosts
+to collect metrics and events and send them
+to Mackerel where they can be visualized and monitored.
diff --git a/mackerel-agent/Makefile b/mackerel-agent/Makefile
new file mode 100755
index 0000000000..46c6ac8dc3
--- /dev/null
+++ b/mackerel-agent/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+DISTNAME=	mackerel-agent-0.40.0
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=mackerelio/}
+
+MAINTAINER=	miwarin%gmail.com@localhost
+HOMEPAGE=	https://github.com/mackerelio/mackerel-agent/
+COMMENT=	The mackerel-agent is an agent program to mackerel.io
+LICENSE=	apache-2.0
+
+EXTRACT_USING=	bsdtar
+GO_SRCPATH=	github.com/mackerelio/${DISTNAME}
+WRKSRC=		${WRKDIR}/src/${GO_SRCPATH}
+GOPATH=		${WRKDIR}
+EXTRACT_DIR=	${WRKDIR}/src/github.com/mackerelio
+USE_TOOLS+=	gmake perl
+
+INSTALLATION_DIRS+=	bin share/examples/mackerel-agent
+
+pre-extract:
+	cd ${WRKDIR} && ${MKDIR} ${EXTRACT_DIR}
+
+do-build:
+	cd ${WRKSRC} && GOPATH=${GOPATH} PATH=${PATH}:${GOPATH}/bin ${MAKE_PROGRAM} build
+
+do-test:
+	cd ${WRKSRC} && GOPATH=${GOPATH} PATH=${PATH}:${GOPATH}/bin ${MAKE_PROGRAM} test
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/build/mackerel-agent ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/mackerel-agent.sample.conf ${DESTDIR}${PREFIX}/share/examples/mackerel-agent
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mackerel-agent/PLIST b/mackerel-agent/PLIST
new file mode 100644
index 0000000000..5420668200
--- /dev/null
+++ b/mackerel-agent/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/mackerel-agent
+share/examples/mackerel-agent/mackerel-agent.sample.conf
diff --git a/mackerel-agent/distinfo b/mackerel-agent/distinfo
new file mode 100644
index 0000000000..d6a985daf3
--- /dev/null
+++ b/mackerel-agent/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (mackerel-agent-0.40.0.tar.gz) = 9bc5b6198f118da55d12521c7fba2368e9ef1182
+RMD160 (mackerel-agent-0.40.0.tar.gz) = f4939bb0334b4096ca8810431c1ca57d8618589d
+SHA512 (mackerel-agent-0.40.0.tar.gz) = 467b4fd61df79431562076bd65b2f1a84cd9158dc82592f159eaa0ee26bd560a75986fa8009478d0d27be01a9e2398b9c32b9132498194de53543301c84b6827
+Size (mackerel-agent-0.40.0.tar.gz) = 143191 bytes


Home | Main Index | Thread Index | Old Index