From ad35198b85ce960cfb5ac41c86a38e5f40d4a9d9 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 6 May 2013 17:32:30 +0200 Subject: debian: debianization --- debian/.gitignore | 2 ++ debian/bash-completion | 1 + debian/changelog | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 17 ++++++++++ debian/copyright | 26 ++++++++++++++++ debian/rules | 4 +++ 7 files changed, 135 insertions(+) create mode 100644 debian/.gitignore create mode 100644 debian/bash-completion create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..9382cbe --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,2 @@ +hostinfo-tools* +files diff --git a/debian/bash-completion b/debian/bash-completion new file mode 100644 index 0000000..619d81e --- /dev/null +++ b/debian/bash-completion @@ -0,0 +1 @@ +contrib/bash-completion hostinfo diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7db00e3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,84 @@ +hostinfo-tools (0.1.11) unstable; urgency=low + + * Printer: fix renaming of vserver-host to vserver_host + + -- Alexander Sulfrian Mon, 03 Jun 2013 16:20:21 +0200 + +hostinfo-tools (0.1.10) unstable; urgency=low + + * hostinfo: print keys of list elements + * Printer: recursive printing of lists + * Printer: allow to filter plain values + * Printer: fix printing of empty dicts + + -- Alexander Sulfrian Wed, 29 May 2013 19:08:10 +0200 + +hostinfo-tools (0.1.9) unstable; urgency=low + + * Printer: refactoring the whole thing for better pylint result + * bin/hostinfo: use realpath do find relativ lib path + + -- Alexander Sulfrian Wed, 29 May 2013 11:35:59 +0200 + +hostinfo-tools (0.1.8) unstable; urgency=low + + * bin/hostinfo: fix typo + + -- Alexander Sulfrian Fri, 17 May 2013 17:20:41 +0200 + +hostinfo-tools (0.1.7) unstable; urgency=low + + * contrib/bash-completion: add missing command line flags + + -- Alexander Sulfrian Fri, 17 May 2013 16:39:33 +0200 + +hostinfo-tools (0.1.6) unstable; urgency=low + + * bin/hostinfo: write error messages to stderr + * bin/hostinfo: ignore HOSTINFO_PATH if its empty + * bin/hostinfo: add support for --hosts and --short + * some code layout + * hostinfo: basepath for the hostinfo files is configurable now + * hostinfo: add help cmdline parameter + * Printer: add more spaces for better structure of the output + * Printer: refactor the whole thing, add --verbose flag to show keys with value None + + -- Alexander Sulfrian Fri, 17 May 2013 15:42:38 +0200 + +hostinfo-tools (0.1.5) unstable; urgency=low + + * Printer: indent multiline values correctly + * Printer: ignore vserver ips on vserver host + * bin/hostinfo: add --keys to get valid keys for a host + * bin/hostinfo: add --file to get the path of the yaml file with the information + * bin/hostinfo: allow intermixing of option and non-option arguments + + -- Alexander Sulfrian Thu, 16 May 2013 21:18:01 +0200 + +hostinfo-tools (0.1.4) unstable; urgency=low + + * share/bash-completion: add simple bash-completion + + -- Alexander Sulfrian Wed, 08 May 2013 11:23:34 +0200 + +hostinfo-tools (0.1.3) unstable; urgency=low + + * hostinfo: add filter support for sub keys like addresses.eth0 + * bin/hostinfo: add getopt for advanced parameter support + * hostinfo: Prefix class, ports/addresses handling adjusted, new online mode + * hostinfo/printer: new lables + * bin/hostinfo: fix local lib import + + -- Alexander Sulfrian Wed, 08 May 2013 03:46:47 +0200 + +hostinfo-tools (0.1.2) unstable; urgency=low + + * bin/hostinfo: use development libraries if available + + -- Alexander Sulfrian Mon, 06 May 2013 19:57:22 +0200 + +hostinfo-tools (0.1.1) unstable; urgency=low + + * Initial release. + + -- Alexander Sulfrian Mon, 06 May 2013 17:31:41 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..598292e --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: hostinfo-tools +Section: admin +Priority: extra +Maintainer: Alexander Sulfrian +Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6), python (<< 3), + bash-completion +Standards-Version: 3.9.1 +Homepage: http://git.spline.inf.fu-berlin.de/hostinfo-tools/ +Vcs-Git: git://git.spline.inf.fu-berlin.de/hostinfo-tools + +Package: hostinfo-tools +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.6), python (<< 2.7), + python-dnspython, python-yaml +Description: scripts to query the hostinfo database + With this script you could query the autogenerated hostinfo + database with the information bcfg2 knows about the hosts. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..553273d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +This work was packaged for Debian by: + + Alexander Sulfrian on Mon, 06 May 2013 17:30:15 +0200 + +It was downloaded from: + + http://git.spline.inf.fu-berlin.de/hostinfo-tools/ + +Upstream Author(s): + + Alexander Sulfrian + +Copyright: + + Copyright (C) 2013 Alexander Sulfrian + +License: + + as-is + +The Debian packaging is: + + Copyright (C) 2013 Alexander Sulfrian + +and is licensed under the GPL version 3, +see "/usr/share/common-licenses/GPL-3". diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..79ed9c9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh --with python-support --with bash-completion $@ -- cgit v1.2.3-1-g7c22