diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5cd4e36 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-github-dcso-fluxline (0.0~git20180222.25ae683-1) unstable; urgency=medium + + * Initial release (Closes: #891137) + + -- Sascha Steinbiss Thu, 22 Feb 2018 16:01:10 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..fe8d032 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: golang-github-dcso-fluxline +Section: devel +Priority: optional +Maintainer: Debian Go Packaging Team +Uploaders: Sascha Steinbiss +Build-Depends: debhelper (>= 11), + dh-golang, + golang-any, + golang-github-showmax-go-fqdn-dev +Standards-Version: 4.1.3 +Homepage: https://github.com/DCSO/fluxline +Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-dcso-fluxline +Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-dcso-fluxline.git +XS-Go-Import-Path: github.com/DCSO/fluxline +Testsuite: autopkgtest-pkg-go + +Package: golang-github-dcso-fluxline-dev +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends}, + golang-github-showmax-go-fqdn-dev +Description: Golang library to prepare sets of metrics in InfluxDB's Line Protocol format + The fluxline library provides an encoder for Golang to prepare sets of + metrics in InfluxDB's Line Protocol format. As input, structs annotated with + the 'influx' tag are used, similarly to how the encoding/json module works. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8427ee2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,39 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: fluxline +Source: https://github.com/DCSO/fluxline +Files-Excluded: vendor Godeps/_workspace + +Files: * +Copyright: 2017, 2018 DCSO Deutsche Cyber-Sicherheitsorganisation GmbH +License: BSD-3-clause + +Files: debian/* +Copyright: 2018 Sascha Steinbiss +License: BSD-3-clause +Comment: Debian packaging is licensed under the same terms as upstream + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + . + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + * Neither the name of the DCSO Deutsche Cyber-Sicherheitsorganisation GmbH + nor the names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8cce5e0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=golang --with=golang 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..ba8a8be --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-dcso-fluxline-\$1\.tar\.gz/,\ +uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \ + https://github.com/DCSO/fluxline/tags .*/v?(\d\S*)\.tar\.gz