[Debian-ha-commits] [crmsh] 05/05: Initial debian import
Richard Winters
devrik-guest at moszumanska.debian.org
Thu Apr 16 07:32:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
devrik-guest pushed a commit to branch master
in repository crmsh.
commit 864705ad616bd6b7cedd11f6eb5346e3a06a03d2
Author: Richard B Winters <rik at mmogp.com>
Date: Thu Apr 16 03:28:53 2015 -0400
Initial debian import
Change-Id: Ia0dc39132583c74cf694ad8d03532a6b7a4bf9d8
Signed-off-by: Richard B Winters <rik at mmogp.com>
---
debian/changelog | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++
debian/compat | 1 +
debian/control | 41 ++++++++++++++++++
debian/copyright | 81 ++++++++++++++++++++++++++++++++++
debian/postinst | 48 +++++++++++++++++++++
debian/prerm | 43 ++++++++++++++++++
debian/pycompat | 1 +
debian/rules | 30 +++++++++++++
debian/source/format | 1 +
debian/watch | 4 ++
10 files changed, 370 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f9d291e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,120 @@
+crmsh (2.1.3-1) experimental; urgency=low
+
+ * New upstream release
+ * debian/rules: Multiple changes;
+ - Updated hardening implementation
+ - Added an export for ensuring a link against all needed
+ libraries (cf. Policy 10.2)
+ - Added override for dh_installman; fix for copying *.adoc
+ * debian/control: Multiple changes;
+ - Updated uploaders list and formatted for folding
+ - Added Vcs-Git and Vcs-Browser entries
+ - Updated Build-Depends to reflect current dependencies;
+ - Python updated to Python2.7 as > Python27 not supported
+ - Dropped hardening-wrapper; not necessary any longer
+ - Updated Depends with Pacemaker
+ - Formatted Build-Depends and Depends entries for folding
+ - Updated description/Fixed spelling error; snipets, snippets
+ * debian/copyright: Multiple edits
+ - Updates source field to current upstream source location
+ - Consolidated copyright notices for authors added to upstreams
+ author list found in AUTHORS.
+ - Updated debian/* copyright in order to include myself
+ * debian/watch: Added for monitoring upstream releases
+ * debian/pycompat: Added as recommended by packaging tools
+ * debian/postinst: Added to compile bytecode for *.py files
+ * debian/prerm: Added to removed compiled bytecode
+
+ -- Richard B Winters <rik at mmogp.com> Wed, 15 Apr 2015 15:59:25 -0500
+
+crmsh (1.2.6+git+e77add-1.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Build-Depend on docbook-xsl to fix FTBFS
+ Closes: 770132
+
+ -- Johann Felix Soden <johfel at debian.org> Sat, 22 Nov 2014 13:09:35 +0100
+
+crmsh (1.2.6+git+e77add-1.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Depend on python-yaml to fix grave bug (Closes: #745219)
+
+ -- Stefan Bauer (Cubewerk GmbH) <stefan.bauer at cubewerk.de> Fri, 25 Apr 2014 17:46:39 +0200
+
+crmsh (1.2.6+git+e77add-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Add pkg-config to Build-Depends. Closes: 741772
+
+ -- Chris Boot <debian at bootc.net> Sat, 22 Mar 2014 15:50:25 +0000
+
+crmsh (1.2.6+git+e77add-1) unstable; urgency=medium
+
+ * New upstream checkout
+ * debian/control: Bump Standards-Version
+ * debian/control: Add Breaks & Replaces for Pacemaker << 1.1.8
+ Closes: 717986
+ * debian/control: Depend on python-lxml
+ Closes: 738651
+
+ -- Martin Loschwitz <madkiss at debian.org> Fri, 21 Feb 2014 15:51:13 +0000
+
+crmsh (1.2.5+hg1034-1) unstable; urgency=low
+
+ * New upstream checkout
+
+ -- Martin Loschwitz <madkiss at debian.org> Mon, 05 Aug 2013 05:21:29 +0000
+
+crmsh (1.2.5+hg1006-1) unstable; urgency=low
+
+ * New upstream checkout for Pacemaker 1.1.10
+
+ -- Martin Loschwitz <madkiss at debian.org> Fri, 02 Aug 2013 07:37:50 +0000
+
+crmsh (1.2.5+hg953-3) unstable; urgency=low
+
+ * Upload to unstable instead of experimental
+
+ -- Martin Loschwitz <madkiss at debian.org> Fri, 02 Aug 2013 06:52:11 +0000
+
+crmsh (1.2.5+hg953-2) experimental; urgency=low
+
+ * Build-Depend on libcib3-dev instead of libcib2-dev
+
+ -- Martin Loschwitz <madkiss at debian.org> Fri, 19 Apr 2013 07:08:47 +0000
+
+crmsh (1.2.5+hg953-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Martin Loschwitz <madkiss at debian.org> Wed, 20 Mar 2013 23:11:44 +0000
+
+crmsh (1.2.0+hg20121010-1) unstable; urgency=low
+
+ * New upstream checkout to catch some additional bugfixes
+ * debian/control: Depend on version 1.1.8+git20121010 of libcib as well
+ as libcrmcommon and libpengine to make sure we get the versions with
+ proper .pc files (Closes: #690055)
+
+ -- Martin Loschwitz <madkiss at debian.org> Wed, 10 Oct 2012 11:39:06 +0000
+
+crmsh (1.2.0+hg20121009-3) unstable; urgency=low
+
+ * debian/control: Fix possible circular build dependency by using the
+ real library package names instead of pacemaker-dev (Closes: #690055)
+
+ -- Martin Loschwitz <madkiss at debian.org> Tue, 09 Oct 2012 17:29:01 +0000
+
+crmsh (1.2.0+hg20121009-2) unstable; urgency=low
+
+ * debian/control: Set the maintainer field to the HA group instead of me
+ personally. (Closes: #690055)
+
+ -- Martin Loschwitz <madkiss at debian.org> Tue, 09 Oct 2012 16:20:15 +0000
+
+crmsh (1.2.0+hg20121009-1) unstable; urgency=low
+
+ * Initial release (Closes: #690055) <nnnn is the bug number of your ITP>
+
+ -- Martin Loschwitz <madkiss at debian.org> Tue, 09 Oct 2012 14:36:09 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bfbace6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: crmsh
+Section: admin
+Priority: optional
+Maintainer: Debian HA Maintainers <debian-ha-maintainers at lists.alioth.debian.org>
+Uploaders: Martin Loschwitz <madkiss at debian.org>,
+ Richard B Winters <rik at mmogp.com>
+Build-Depends: debhelper (>= 9),
+ autotools-dev,
+ dh-autoreconf (>=10),
+ pkg-config,
+ dh-python,
+ python-all-dev,
+ python-all (>= 2.6.6-3~),
+ python-support,
+ python-setuptools,
+ asciidoc (>=8.6.9),
+ libxml2-utils,
+ docbook-xml,
+ xsltproc,
+ docbook-xsl
+Standards-Version: 3.9.6
+Homepage: http://crmsh.github.io/
+Vcs-Git: https://alioth.debian.org/anonscm/git/debian-ha/crmsh.git
+Vcs-Browser: http://anonscm.debian.org/cgit/debian-ha/crmsh.git
+
+Package: crmsh
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${python:Depends},
+ ${misc:Depends},
+ python2.7 (>=2.7.9),
+ python-support,
+ python-lxml (>=3.4.0),
+ python-yaml
+Description: CLI for HA cluster management
+ Command-line interface for High-Availability cluster management on GNU/Linux
+ systems, written by Dejan Muhamedagic.
+ .
+ crmsh supports the Corosync/Pacemaker cluster stack, offering a means to
+ manipulate the cluster information base (CIB) of a running pacemaker cluster
+ without having to fiddle with XML snippets.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0fa6a39
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,81 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: crmsh
+Source: http://github.com/clusterlabs/crmsh
+
+Files: *
+Copyright: (c) 2008-2015 Upstream Authors (From AUTHORS)
+ afederic <afederic[at]gmail[dot]com>
+ Andrew Beekhof <andrew[at]beekhof[dot]net>
+ Borislav Borisov <borislav[dot]v[dot]borisov[at]gmail[dot]com>
+ Christian Seiler <christian[at]iwakd[dot]de>
+ Dejan Muhamedagic <dejan[at]suse[dot]de>
+ Federica Teodori <federica[dot]teodori[at]googlemail[dot]com>
+ Florian Haas <florian[dot]haas[at]linbit[dot]com>
+ Goldwyn Rodrigues <rgoldwyn[at]novell[dot]com>
+ Hideo Yamauchi <renayama19661014[at]ybb[dot]ne[dot]jp>
+ Holger Teutsch <holger[dot]teutsch[at]web[dot]de>
+ Kazunori INOUE <kazunori[dot]inoue3[at]gmail[dot]com>
+ Keisuke MORI <keisuke[dot]mori+ha[at]gmail[dot]com>
+ Kristoffer Gronlund <kgronlund[at]suse[dot]com>
+ Lars Ellenberg <lars[dot]ellenberg[at]linbit[dot]com>
+ Lars Marowsky-Brée <lmb[at]suse[dot]de>
+ Michael Prokop <devnull[at]localhost>
+ NAKAHIRA Kazutomo <nakahira[dot]kazutomo[at]oss[dot]ntt[dot]co[dot]jp>
+ nozawat <nozawat[at]gmail[dot]com>
+ renayama19661014 <renayama19661014[at]ybb[dot]ne[dot]jp>
+ Richard B Winters <rik[at]mmogp[dot]com>
+ seabres <rainer[dot]brestan[at]gmx[dot]net>
+ Tim Serong <tserong[at]suse[dot]com>
+ Vincenzo Pii <piiv[at]zhaw[dot]ch>
+ Vladislav Bogdanov <bubble[at]hoster-ok[dot]com>
+ Xia Li <XLi[at]suse[dot]com>
+ Xinwei Hu <xwhu[at]novell[dot]com>
+ Yan Gao <ygao[at]suse[dot]com>
+ Yuusuke IIDA <iidayuus[at]intellilink[dot]co[dot]jp>
+License: GPL-2+
+ This package 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 2 of the License, or
+ (at your option) any later version.
+ .
+ This package 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/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+Files: modules/crm_pssh.py
+Copyright: 2003-2008, Brent N. Chun
+ 2009 Andrew McNabb
+License: GPL-2+
+
+Files: test/testcases/Makefile.am test/Makefile.am
+Copyright: 2004 International Business Machines
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2012-2015 Debian-HA Maintainers
+ 2012-2015 Martin Loschwitz <madkiss at debian.org>
+ 2015 Richard B Winters <rik at mmogp.com>
+
+License: GPL-2+
+ This package 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 2 of the License, or
+ (at your option) any later version.
+ .
+ This package 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/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/postinst b/debian/postinst
new file mode 100755
index 0000000..0f768e4
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,48 @@
+#!/bin/sh
+# postinst script for crmsh
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+# source debconf library
+. /usr/share/debconf/confmodule
+
+case "$1" in
+
+ configure)
+ # Compile bytecode for all of the .py files
+ python -m compileall /usr/lib/python2.7/dist-packages/crmsh
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ exit 0
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+db_stop
+
+exit 0
\ No newline at end of file
diff --git a/debian/prerm b/debian/prerm
new file mode 100755
index 0000000..826e12d
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,43 @@
+#!/bin/sh
+# prerm script for crmsh
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+# source debconf library
+. /usr/share/debconf/confmodule
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ # remove compiled bytecode
+ rm -R /usr/lib/python2.7/dist-packages/crmsh/*.pyc 2>/dev/null >/dev/null || true
+ ;;
+
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/pycompat b/debian/pycompat
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/debian/pycompat
@@ -0,0 +1 @@
+2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8f5e6c5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#DH_VERBOSE = 1
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# Ensure that we link against all needed libraries (cf. Policy 10.2)
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs
+
+# main packaging script based on dh7 syntax
+%:
+ dh $@ --with autoreconf,python2 --fail-missing
+
+override_dh_installdocs:
+ dh_installdocs
+# cp $(CURDIR)/doc/*.adoc $(CURDIR)/debian/crmsh/usr/share/crmsh
+# rm -rf $(CURDIR)/doc/*.html
+# rm -rf $(CURDIR)/doc/*.html
+
+override_dh_installman:
+ dh_installman
+ rm -rf $(CURDIR)/doc/*.8
+
+override_dh_compress:
+ find $(CURDIR)/debian/crmsh/ -name '*.pyo' | xargs rm -rf
+ find $(CURDIR)/debian/crmsh/ -name '*.pyc' | xargs rm -rf
+ dh_compress
+
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..0aefa13
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
+ https://github.com/ClusterLabs/crmsh/releases .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/crmsh.git
More information about the Debian-HA-Commits
mailing list