From eafba11930c9bf9aba0cd71f4e42be21ddf5da4e Mon Sep 17 00:00:00 2001 From: Daniel Swarbrick Date: Thu, 14 May 2020 00:49:45 +0200 Subject: [PATCH] debian directory moved to git branch --- debian/changelog | 104 ------------------------------------------- debian/compat | 1 - debian/control | 31 ------------- debian/copyright | 24 ---------- debian/dirs | 1 - debian/docs | 1 - debian/init | 54 ---------------------- debian/install | 3 -- debian/rules | 13 ------ debian/service | 9 ---- debian/source/format | 1 - 11 files changed, 242 deletions(-) delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/dirs delete mode 100644 debian/docs delete mode 100755 debian/init delete mode 100644 debian/install delete mode 100755 debian/rules delete mode 100644 debian/service delete mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 6e7f17e..0000000 --- a/debian/changelog +++ /dev/null @@ -1,104 +0,0 @@ -fabricmon (0.1.8) stretch buster; urgency=medium - - * Add remote_guid tag to InfluxDB writer - - -- Daniel Swarbrick Tue, 12 May 2020 15:13:57 +0200 - -fabricmon (0.1.7) stretch buster; urgency=medium - - * Fix potential nil pointer dereference - - -- Daniel Swarbrick Mon, 11 May 2020 17:03:54 +0200 - -fabricmon (0.1.6) stretch buster; urgency=medium - - * Fix HCA discovery when more than one HCA present - * Fix go vet warning about copying sync.RWMutex value - - -- Daniel Swarbrick Tue, 03 Mar 2020 17:39:41 +0100 - -fabricmon (0.1.5) stretch buster; urgency=medium - - * Add timeout option in InfluxDB batch writer - * Set HTTP user agent in InfluxDB batch writer - * Add buster build - - -- Daniel Swarbrick Mon, 05 Aug 2019 17:45:37 +0200 - -fabricmon (0.1.4) stretch; urgency=medium - - * Add missing args to sysv init script - - -- Daniel Swarbrick Mon, 22 Oct 2018 11:53:56 +0200 - -fabricmon (0.1.3) stretch; urgency=medium - - * Add sysv init script - * Add additional device IDs to lookup table in web UI - - -- Daniel Swarbrick Mon, 22 Oct 2018 11:27:33 +0200 - -fabricmon (0.1.2) stretch; urgency=medium - - * Move default config location to /etc/fabricmon - * Include web UI chrome in package - - -- Daniel Swarbrick Mon, 16 Jul 2018 13:59:55 +0200 - -fabricmon (0.1.1) stretch; urgency=medium - - * Eliminate unnecessary node name map lookup in ForceGraphWriter - * Add tests for NodeNameMap - - -- Daniel Swarbrick Mon, 16 Jul 2018 12:32:20 +0200 - -fabricmon (0.1.0) stretch; urgency=medium - - * Refactor logging to use context loggers - * Internal refactoring - * Write node description to InfluxDB as a tag - - -- Daniel Swarbrick Fri, 13 Jul 2018 16:38:12 +0200 - -fabricmon (0.0.7) stretch; urgency=medium - - * Minor InfluxDBWriter refactoring - * Minor logging refactoring - - -- Daniel Swarbrick Thu, 12 Jul 2018 13:14:40 +0200 - -fabricmon (0.0.6) stretch; urgency=medium - - * Implement fsnotify watch for IB node name map - - -- Daniel Swarbrick Wed, 11 Jul 2018 18:24:30 +0200 - -fabricmon (0.0.5) stretch; urgency=medium - - * Fix wrong config filename in systemd service - - -- Daniel Swarbrick Tue, 10 Jul 2018 13:50:15 +0200 - -fabricmon (0.0.4) stretch; urgency=medium - - * Use yaml.Unmarshal(), since UnmarshalStrict() is not supported by stretch - - -- Daniel Swarbrick Tue, 10 Jul 2018 13:40:40 +0200 - -fabricmon (0.0.3) stretch; urgency=medium - - * Honour counter_reset_threshold when walking standard counters - - -- Daniel Swarbrick Tue, 10 Jul 2018 13:31:13 +0200 - -fabricmon (0.0.2) stretch; urgency=medium - - * Migrate config file format to YAML - - -- Daniel Swarbrick Tue, 10 Jul 2018 13:14:05 +0200 - -fabricmon (0.0.1) stretch; urgency=low - - * Initial version - - -- Daniel Swarbrick Tue, 03 Jul 2018 17:59:10 +0200 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/debian/control b/debian/control deleted file mode 100644 index bb1cddb..0000000 --- a/debian/control +++ /dev/null @@ -1,31 +0,0 @@ -Source: fabricmon -Section: net -Priority: optional -Maintainer: Daniel Swarbrick -Build-Depends: debhelper (>=10), - dh-golang, - dh-systemd, - golang-github-fsnotify-fsnotify-dev, - golang-github-influxdb-influxdb-dev, - golang-github-sirupsen-logrus-dev, - golang-go, - golang-golang-x-sys-dev, - golang-gopkg-alecthomas-kingpin.v2-dev, - golang-gopkg-yaml.v2-dev, - libibmad-dev, - libibnetdisc-dev, - libibumad-dev, - libopensm-dev -Standards-Version: 4.1.2 -Homepage: https://github.com/dswarbrick/fabricmon -Vcs-Browser: https://github.com/dswarbrick/fabricmon -Vcs-Git: https://github.com/dswarbrick/fabricmon.git - -Package: fabricmon -Architecture: any -Depends: daemon | systemd-sysv, ${misc:Depends}, ${shlibs:Depends} -Built-Using: ${misc:Built-Using} -Description: InfiniBand performance monitoring daemon - FabricMon is an InfiniBand performance monitoring daemon written in Go. It - uses cgo to interface with the OFED C libraries and sends MAD datagrams to - obtain performance / error counters from all switchports in a fabric. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 1c738cc..0000000 --- a/debian/copyright +++ /dev/null @@ -1,24 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: github.com/dswarbrick/fabricmon -Source: https://github.com/dswarbrick/fabricmon - -Files: * -Copyright: 2017-20, Daniel Swarbrick -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 . - . - On Debian systems, 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/dirs b/debian/dirs deleted file mode 100644 index 78de192..0000000 --- a/debian/dirs +++ /dev/null @@ -1 +0,0 @@ -var/lib/fabricmon diff --git a/debian/docs b/debian/docs deleted file mode 100644 index b43bf86..0000000 --- a/debian/docs +++ /dev/null @@ -1 +0,0 @@ -README.md diff --git a/debian/init b/debian/init deleted file mode 100755 index 7faa6c4..0000000 --- a/debian/init +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh -if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then - set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script -fi -### BEGIN INIT INFO -# Provides: fabricmon -# Required-Start: $remote_fs $syslog -# Required-Stop: $remote_fs $syslog -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: FabricMon InfiniBand monitoring daemon -# Description: InfiniBand performance monitoring daemon, written in Go. -### END INIT INFO - -# Author: Daniel Swarbrick - -DESC="FabricMon InfiniBand monitoring daemon" -DAEMON=/usr/bin/fabricmon -NAME=fabricmon - -ARGS="--config=/etc/fabricmon/fabricmon.yml --daemonize" -[ -r /etc/default/$NAME ] && . /etc/default/$NAME - -HELPER=/usr/bin/daemon -HELPER_ARGS="--name=$NAME" - -do_start_cmd() -{ - # Return - # 0 if daemon has been started - # 1 if daemon was already running - # 2 if daemon could not be started - $HELPER $HELPER_ARGS --running && return 1 - $HELPER $HELPER_ARGS -- $DAEMON $ARGS || return 2 - return 0 -} - -do_stop_cmd() -{ - # Return - # 0 if daemon has been stopped - # 1 if daemon was already stopped - # 2 if daemon could not be stopped - # other if a failure occurred - $HELPER $HELPER_ARGS --running || return 1 - $HELPER $HELPER_ARGS --stop || return 2 - # wait for the process to really terminate - for n in 1 2 3 4 5; do - sleep 1 - $HELPER $HELPER_ARGS --running || break - done - $HELPER $HELPER_ARGS --running || return 0 - return 2 -} diff --git a/debian/install b/debian/install deleted file mode 100644 index 80bf58b..0000000 --- a/debian/install +++ /dev/null @@ -1,3 +0,0 @@ -apache.conf etc/fabricmon -fabricmon.yml etc/fabricmon -webui/* usr/share/fabricmon diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 67463fd..0000000 --- a/debian/rules +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/make -f - -#export DH_VERBOSE := 1 -export DH_GOPKG := github.com/dswarbrick/fabricmon - -%: - dh $@ --buildsystem=golang --with=golang,systemd --builddirectory=_build - -override_dh_auto_install: - dh_auto_install -- --no-source - -override_dh_installinit: - dh_installinit --noscripts diff --git a/debian/service b/debian/service deleted file mode 100644 index 3cf7449..0000000 --- a/debian/service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=FabricMon is an InfiniBand performance monitoring daemon -After=network.target - -[Service] -ExecStart=/usr/bin/fabricmon --config=/etc/fabricmon/fabricmon.yml --daemonize - -[Install] -WantedBy=multi-user.target diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 89ae9db..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (native)