summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/control63
-rw-r--r--debian/copyright29
-rwxr-xr-xdebian/rules22
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
6 files changed, 123 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cc4826b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+netdata-go.d.plugin (0.27.0-1) sid; urgency=medium
+
+ * Initial upload to sid (Closes: #951837).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 07 Feb 2021 15:55:55 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1b1fe7c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,63 @@
+Source: netdata-go.d.plugin
+Section: net
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>,
+Build-Depends:
+ debhelper-compat (= 13),
+ golang-any,
+ golang-github-apparentlymart-go-cidr-dev,
+ golang-github-blang-semver-dev,
+ golang-github-cloudflare-cfssl-dev,
+ golang-github-coreos-go-systemd-dev,
+ golang-github-data-dog-go-sqlmock-dev,
+ golang-github-fsnotify-fsnotify-dev,
+ golang-github-go-redis-redis-dev,
+ golang-github-go-sql-driver-mysql-dev,
+ golang-github-gofrs-flock-dev,
+ golang-github-mattn-go-isatty-dev,
+ golang-github-miekg-dns-dev,
+ golang-github-mitchellh-go-homedir-dev,
+ golang-github-prometheus-common-dev,
+ golang-github-smartystreets-goconvey-dev,
+ golang-github-stretchr-testify-dev,
+ golang-github-valyala-fastjson-dev,
+ golang-github-vmware-govmomi-dev,
+ golang-go-flags-dev,
+ golang-gopkg-check.v1-dev,
+ golang-gopkg-ini.v1-dev,
+ golang-gopkg-yaml.v2-dev,
+Rules-Requires-Root: no
+Standards-Version: 4.5.1
+Homepage: https://github.com/netdata/go.d.plugin
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/netdata-go.d.plugin
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/netdata-go.d.plugin
+
+Package: netdata-plugins-go
+Section: net
+Architecture: linux-any
+Depends:
+ netdata-core (>= ${source:Version}) | netdata-core-no-sse (>= ${source:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Provides:
+ netdata-plugins,
+Enhances:
+ netdata-core,
+ netdata-core-no-sse,
+Description: real-time performance monitoring (Go plugins)
+ Netdata is distributed, real-time, performance and health monitoring for
+ systems and applications. It provides insights of everything happening on the
+ systems it runs using interactive web dashboards.
+ .
+ This package contains the plugins written in Go.
+ .
+ FIXME:
+ github.com/Wing924/ltsv v0.3.1
+ github.com/axiomhq/hyperloglog v0.0.0-20191112132149-a4c4c47bc57f
+ github.com/ilyam8/hashstructure v1.1.0
+ github.com/likexian/whois-go v1.7.1
+ github.com/likexian/whois-parser-go v1.14.5
+ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
+ github.com/prometheus/prometheus v2.5.0+incompatible
+ github.com/tomasen/fcgi_client v0.0.0-20180423082037-2bb3d819fd19
+ layeh.com/radius v0.0.0-20190322222518-890bc1058917
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f5ae40e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: go.d.plugin
+Upstream-Contact: Netdata, Inc. <info@netdata.cloud>
+Source: https://github.com/netdata/go.d.plugin
+
+Files: *
+Copyright: 2016-2021 Netdata, Inc. <info@netdata.cloud>
+License: GPL-3
+
+Files: debian/*
+Copyright: 2021 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: GPL-3
+
+License: GPL-3
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ The full text of the GNU General Public License version 3
+ can be found in the file /usr/share/common-licenses/GPL-3.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0c02608
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+VERSION := $(word 1, $(subst -, ,$(shell dpkg-parsechangelog -SVersion)))
+
+%:
+ dh ${@}
+
+execute_after_dh_auto_clean:
+ rm -rf bin
+
+override_dh_auto_build:
+ TRAVIS_TAG=$(VERSION) GOPATH=$(CURDIR)/vendor make build
+
+override_dh_auto_install:
+ mkdir -p debian/netdata-plugins-go/usr/lib/netdata/plugins.d
+ cp bin/godplugin debian/netdata-plugins-go/usr/lib/netdata/plugins.d/go.d.plugin
+
+ mkdir -p debian/netdata-plugins-go/usr/lib/netdata/conf.d
+ cp -r config/* debian/netdata-plugins-go/usr/lib/netdata/conf.d
+
+override_dh_auto_test:
+ # disabled, takes forever
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c086e15
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/go.d.plugin-$1\.tar\.gz/ \
+https://github.com/netdata/go.d.plugin/releases .*/v?(\d\S+)\.tar\.gz