[libweb-mrest-perl] 01/01: Initial packaging.

Jonas Smedegaard dr at jones.dk
Wed Mar 9 19:42:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libweb-mrest-perl.

commit 875fa752b3ec0ac7cc5f145314f83b2ec0a9433f
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Mar 9 20:28:43 2016 +0100

    Initial packaging.
---
 debian/README.source            | 11 ++++++
 debian/changelog                |  6 ++++
 debian/compat                   |  1 +
 debian/control                  | 52 ++++++++++++++++++++++++++++
 debian/control.in               | 27 +++++++++++++++
 debian/copyright                | 51 ++++++++++++++++++++++++++++
 debian/copyright_hints          | 75 +++++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf                 |  5 +++
 debian/rules                    | 53 +++++++++++++++++++++++++++++
 debian/source/format            |  1 +
 debian/source/lintian-overrides |  8 +++++
 debian/watch                    |  4 +++
 12 files changed, 294 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..f88449e
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,11 @@
+CDBS+git-buildpackage
+---------------------
+
+This source package uses CDBS and git-buildpackage.  NMUs need not (but
+are encouraged to) make special use of these tools.  In particular, the
+debian/control.in file can be completely ignored.
+
+More info here: http://wiki.debian.org/CDBS+git-buildpackage
+
+
+ -- Jonas Smedegaard <dr at jones.dk>  Mon, 18 Feb 2013 12:55:37 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..50c7d59
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libweb-mrest-perl (0.284-1) unstable; urgency=low
+
+  * Initial packaging release.
+    Closes: bug#817261.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Wed, 09 Mar 2016 20:28:19 +0100
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..ed31caa
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: libweb-mrest-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ devscripts,
+ perl,
+ libmodule-build-perl,
+ debhelper,
+ dh-buildinfo,
+ libapp-cell-perl,
+ libfile-sharedir-perl,
+ libhttp-message-perl,
+ libjson-perl,
+ liblwp-protocol-https-perl,
+ libwww-perl,
+ libmodule-runtime-perl,
+ libparams-validate-perl,
+ libpath-router-perl,
+ libplack-middleware-logerrors-perl,
+ libplack-middleware-session-perl,
+ libplack-perl,
+ libtry-tiny-perl,
+ liburi-perl,
+ libweb-mrest-cli-perl,
+ libweb-machine-perl,
+ libtest-deep-perl,
+ libtest-fatal-perl,
+ libtest-json-perl,
+ libtest-warnings-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libweb-mrest-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libweb-mrest-perl.git
+Homepage: https://metacpan.org/pod/Web::MREST
+
+Package: libweb-mrest-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: minimalistic REST server
+ MREST stands for "minimalistic" or "mechanical" REST server.
+ (Mechanical because it relies on Web::Machine.)
+ .
+ Web::MREST provides a fully functional REST server that can be started
+ with a simple command. Without modification, the server provides a set
+ of. generalized resources that can be used to demonstrate how the REST
+ server works, or for testing.
+ .
+ Developers can use Web::MREST as a platform for implementing their own
+ REST servers.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..b47423d
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,27 @@
+Source: libweb-mrest-perl
+Section: perl
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libweb-mrest-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libweb-mrest-perl.git
+Homepage: https://metacpan.org/pod/Web::MREST
+
+Package: libweb-mrest-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: minimalistic REST server
+ MREST stands for "minimalistic" or "mechanical" REST server.
+ (Mechanical because it relies on Web::Machine.)
+ .
+ Web::MREST provides a fully functional REST server that can be started
+ with a simple command. Without modification, the server provides a set
+ of. generalized resources that can be used to demonstrate how the REST
+ server works, or for testing.
+ .
+ Developers can use Web::MREST as a platform for implementing their own
+ REST servers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..750436f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Web::MREST
+Upstream-Contact: mailto:bug-Web-MREST at rt.cpan.org
+ https://rt.cpan.org/Public/Dist/Display.html?Name=Web-MREST
+ https://github.com/smithfarm/mrest/issues
+Source: https://github.com/smithfarm/mrest
+ git://github.com/smithfarm/mrest
+
+Files: *
+Copyright: 2014-2015, SUSE LLC
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016, Jonas Smedegaard <dr at jones.dk>
+License-Grant:
+ 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, or (at your option) any
+ later version.
+License: GPL-3+
+
+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:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. 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.
+ .
+ 3. Neither the name of SUSE LLC 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.
+
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..0cef1a5
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,75 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: LICENSE
+ bin/mrest
+ bin/mrest-standalone
+ config/HTTP_Status_Message_en.conf
+ config/MREST_Config.pm
+ config/MREST_Message_en.conf
+ config/dispatch_Message_en.conf
+ lib/Web/MREST.pm
+ lib/Web/MREST/Dispatch.pm
+ lib/Web/MREST/Entity.pm
+ lib/Web/MREST/InitRouter.pm
+ lib/Web/MREST/Resource.pm
+ lib/Web/MREST/Test.pm
+ lib/Web/MREST/Test/503.pm
+ lib/Web/MREST/Test/Forbidden.pm
+ lib/Web/MREST/Test/Unauthorized.pm
+ lib/Web/MREST/Util.pm
+ lib/Web/MREST/WebServicesIntro.pm
+ t/2xx/200-OK.t
+ t/2xx/201-Created.t
+ t/4xx/400-Bad-Request.t
+ t/4xx/401-Unauthorized.t
+ t/4xx/403-Forbidden.t
+ t/4xx/405-Method-Not-Allowed.t
+ t/4xx/406-Not-Acceptable.t
+ t/4xx/413-Request-Entity-Too-Large.t
+ t/4xx/414-Request-URI-Too-Long.t
+ t/4xx/415-Unsupported-Media-Type.t
+ t/5xx/501-Not-Implemented.t
+ t/5xx/503-Service-Unavailable.t
+ t/config.t
+ t/dispatch/bugreport.t
+ t/dispatch/docu.t
+ t/dispatch/echo.t
+ t/dispatch/noop.t
+ t/dispatch/param.t
+ t/dispatch/root_resource.t
+ t/dispatch/version.t
+ t/mrest_declare_status.t
+ t/request_body_read.t
+Copyright: 2014-2015, SUSE LLC
+License: BSD-3-clause
+ FIXME
+
+Files: Build.PL
+ Changes
+ MANIFEST
+ META.json
+ META.yml
+ README
+ README.md
+ config/favicon.ico
+ debian/README.source
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/source/format
+ debian/source/lintian-overrides
+ debian/watch
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: debian/rules
+Copyright: 2016, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..a7281f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..03f45f7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright 2016, Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for Web::MREST
+#
+# 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, 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 <http://www.gnu.org/licenses/>.
+
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/perl-build.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+DEB_UPSTREAM_PACKAGE = Web-MREST
+DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Web
+
+# Build-depend unversioned on debhelper
+#  TODO: Drop when adopted in cdbs
+CDBS_BUILD_DEPENDS_rules_debhelper_v9 = debhelper
+
+# Needed by upstream build and (always) at runtime
+perl-deps = app-cell file-sharedir http-message json lwp-protocol-https
+perl-deps += www module-runtime params-validate path-router
+perl-deps += plack-middleware-logerrors plack-middleware-session plack
+perl-deps += try-tiny uri web-mrest-cli web-machine
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
+
+# Needed by upstream testsuite
+perl-bdeps-test = deep fatal json warnings
+bdeps-test = $(patsubst %,$(comma) libtest-%-perl,$(perl-bdeps-test))
+
+CDBS_BUILD_DEPENDS +=, $(deps), $(bdeps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
+
+#testsuite needs writable $HOME (see bug#696262)
+fakehome = $(CURDIR)/debian/home
+debian/stamp-perl-check: HOME=$(fakehome)
+pre-build::
+	mkdir -p "$(fakehome)"
+clean::
+	rm -rf "$(fakehome)"
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..dce4650
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,8 @@
+# License is in License-Reference field (see bug#786450)
+missing-license-text-in-dep5-copyright
+
+# License is in License-Reference field (see bug#786450)
+missing-license-paragraph-in-dep5-copyright
+
+# Debhelper 9 is satisfied even in oldstable
+package-needs-versioned-debhelper-build-depends 9
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..064b58f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=4
+https://metacpan.org/release/Web-MREST/ .*/Web-MREST-([\d.]+)\.tar\.gz
+http://www.cpan.org/modules/by-module/Web/Web-MREST-([\d.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libweb-mrest-perl.git



More information about the Pkg-perl-cvs-commits mailing list