This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch master in repository libmonitoring-icinga2-client-rest-perl.
commit ecd2b25ad0ad6853253b7baec5f44a54e7d127ac Author: Salvatore Bonaccorso <[email protected]> Date: Wed Jan 31 14:25:15 2018 +0100 Initial packaging by dh-make-perl 0.99 --- debian/changelog | 5 +++ debian/compat | 1 + debian/control | 28 +++++++++++++ debian/copyright | 56 ++++++++++++++++++++++++++ debian/patches/series | 1 + debian/patches/spelling-error-in-manpage.patch | 27 +++++++++++++ debian/rules | 11 +++++ debian/source/format | 1 + debian/upstream/metadata | 4 ++ debian/watch | 2 + 10 files changed, 136 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2da8960 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libmonitoring-icinga2-client-rest-perl (2.0.0-1) unstable; urgency=low + + * Initial release (Closes: #888948). + + -- Salvatore Bonaccorso <[email protected]> Wed, 31 Jan 2018 14:37:15 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..9c41ed0 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: libmonitoring-icinga2-client-rest-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group <[email protected]> +Uploaders: Salvatore Bonaccorso <[email protected]> +Build-Depends: debhelper (>= 10) +Build-Depends-Indep: libhttp-message-perl, + libjson-perl, + liburi-perl, + libwww-perl, + perl +Standards-Version: 4.1.3 +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libmonitoring-icinga2-client-rest-perl.git +Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libmonitoring-icinga2-client-rest-perl.git +Homepage: https://metacpan.org/release/Monitoring-Icinga2-Client-REST +Testsuite: autopkgtest-pkg-perl +Rules-Requires-Root: no + +Package: libmonitoring-icinga2-client-rest-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, + libhttp-message-perl, + libjson-perl, + liburi-perl, + libwww-perl +Description: Perl module providing REST integration with icinga2 + Monitoring::Icinga2::Client::REST is used to integrate with the REST API that + Icinga2 provides. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d67bf6e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,56 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://metacpan.org/release/Monitoring-Icinga2-Client-REST +Upstream-Contact: Johan Carlquist <[email protected]> +Upstream-Name: Monitoring-Icinga2-Client-REST + +Files: * +Copyright: 2016, IT Services, Stockholm University +License: BSD-3-clause + +Files: debian/* +Copyright: 2018, Salvatore Bonaccorso <[email protected]> +License: Artistic or GPL-1+ or BSD-3-clause + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + . + On Debian systems, the complete text of the Artistic License can be + found in `/usr/share/common-licenses/Artistic'. + +License: GPL-1+ + 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 1, or (at your option) + any later version. + . + On Debian systems, the complete text of version 1 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. + +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 Stockholm University 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. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..f7c4b35 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +spelling-error-in-manpage.patch diff --git a/debian/patches/spelling-error-in-manpage.patch b/debian/patches/spelling-error-in-manpage.patch new file mode 100644 index 0000000..c9e1862 --- /dev/null +++ b/debian/patches/spelling-error-in-manpage.patch @@ -0,0 +1,27 @@ +Description: Fix spelling errors in manpage +Origin: vendor +Author: Salvatore Bonaccorso <[email protected]> +Last-Update: 2018-01-31 +Forwarded: https://rt.cpan.org/Ticket/Display.html?id=124285 +Bug: https://rt.cpan.org/Ticket/Display.html?id=124285 + +--- a/lib/Monitoring/Icinga2/Client/REST.pod ++++ b/lib/Monitoring/Icinga2/Client/REST.pod +@@ -128,7 +128,7 @@ Returns the result in a perl reference. + + =item export (FULL, API_ONLY) + +-Returns a Perl Data structure without unneccessary meta data. $icinga->export can ++Returns a Perl Data structure without unnecessary meta data. $icinga->export can + only be called after do_request. The name of the object is stored in + $object->{attrs}{vars}{__export_name} so that you can access if you need it, please + note that you can't use this variable name for other things if you whis to use this library +@@ -136,7 +136,7 @@ as it will be overwritten in the exporte + + "FULL" is optional and if it is true, write once attributes will be included in + the export. Objects exported with FULL set to true can be converted to json and be +-used for PUT requests, but not neccessarily for POST requests. ++used for PUT requests, but not necessarily for POST requests. + + "API_ONLY" is optional and if it is true only objects created via the API + will be exported. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..06af5fa --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +%: + dh $@ + +override_dh_auto_install: + dh_auto_install + rm --verbose $(TMP)/usr/share/perl5/Monitoring/Icinga2/Client/README.pod 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..40430c1 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +--- +Archive: CPAN +Contact: Johan Carlquist <[email protected]> +Name: Monitoring-Icinga2-Client-REST diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..5501180 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://metacpan.org/release/Monitoring-Icinga2-Client-REST .*/Monitoring-Icinga2-Client-REST-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmonitoring-icinga2-client-rest-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
