diff options
author | Roger Shimizu <rosh@debian.org> | 2020-07-16 17:44:17 +0200 |
---|---|---|
committer | Roger Shimizu <rosh@debian.org> | 2020-07-16 17:44:17 +0200 |
commit | 57471f18afbd5ac2456c12d17dc3ba85fcd443d4 (patch) | |
tree | 24ac9ce530e5437e7c779a6d00c6e29e07f6e258 | |
parent | 5ee2ee086bbdaf4702807ae24c52fadab1036391 (diff) | |
parent | 9c2a2d81d5143777a630f7e306d836970eca7420 (diff) |
golang-github-openprinting-goipp (0.0~git20200517.da79ff1-2) unstable; urgency=medium
* debian/control:
- Add back myself as uploader.
[dgit import unpatched golang-github-openprinting-goipp 0.0~git20200517.da79ff1-2]
-rw-r--r-- | debian/changelog | 12 | ||||
-rw-r--r-- | debian/control | 31 | ||||
-rw-r--r-- | debian/copyright | 39 | ||||
-rw-r--r-- | debian/gbp.conf | 3 | ||||
-rw-r--r-- | debian/gitlab-ci.yml | 26 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 5 | ||||
-rw-r--r-- | debian/watch | 11 |
9 files changed, 132 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0fac877 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,12 @@ +golang-github-openprinting-goipp (0.0~git20200517.da79ff1-2) unstable; urgency=medium + + * debian/control: + - Add back myself as uploader. + + -- Roger Shimizu <rosh@debian.org> Fri, 17 Jul 2020 00:44:17 +0900 + +golang-github-openprinting-goipp (0.0~git20200517.da79ff1-1) unstable; urgency=low + + * Initial release (Closes: #964590) + + -- Didier Raboud <odyx@debian.org> Thu, 09 Jul 2020 22:12:08 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3faa957 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: golang-github-openprinting-goipp +Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> +Uploaders: + Didier Raboud <odyx@debian.org>, + Debian Printing Team <debian-printing@lists.debian.org>, + Roger Shimizu <rosh@debian.org> +Section: devel +Testsuite: autopkgtest-pkg-go +Priority: optional +Build-Depends: + debhelper-compat (= 13), + dh-golang, + golang-any +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-openprinting-goipp +Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-openprinting-goipp.git +Homepage: https://github.com/OpenPrinting/goipp +Rules-Requires-Root: no +XS-Go-Import-Path: github.com/OpenPrinting/goipp + +Package: golang-github-openprinting-goipp-dev +Architecture: all +Depends: ${misc:Depends} +Description: IPP core protocol in pure Go Library (RFC 8010) + The goipp library is fairly complete implementation of IPP core protocol + in pure Go. Essentially, it is IPP messages parser/composer. Transport + is not implemented here, because Go standard library has an excellent + built-in HTTP client, and it doesn't make a lot of sense to wrap it here. + . + High-level requests, like "print a file" are also not implemented, + only the low-level stuff. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4da5da0 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,39 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: goipp +Upstream-Contact: Alexander Pevzner <pzz@apevzner.com> +Source: https://github.com/OpenPrinting/goipp + +Files: * +Copyright: + 2020 OpenPrinting + 2020 Alexander Pevzner +License: BSD-2-clause + +Files: debian/* +Copyright: + 2020 Roger Shimizu <rosh@debian.org> + 2020 Didier Raboud <odyx@debian.org> +License: BSD-2-clause +Comment: Debian packaging is licensed under the same terms as upstream + +License: BSD-2-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. + . + 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/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..3d450c2 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +debian-branch = debian/sid +dist = DEP14 diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml new file mode 100644 index 0000000..03e820d --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,26 @@ +# auto-generated, DO NOT MODIFY. +# The authoritative copy of this file lives at: +# https://salsa.debian.org/go-team/ci/blob/master/config/gitlabciyml.go + +image: stapelberg/ci2 + +test_the_archive: + artifacts: + paths: + - before-applying-commit.json + - after-applying-commit.json + script: + # Create an overlay to discard writes to /srv/gopath/src after the build: + - "rm -rf /cache/overlay/{upper,work}" + - "mkdir -p /cache/overlay/{upper,work}" + - "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src" + - "export GOPATH=/srv/gopath" + - "export GOCACHE=/cache/go" + # Build the world as-is: + - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json" + # Copy this package into the overlay: + - "GBP_CONF_FILES=:debian/gbp.conf gbp buildpackage --git-no-pristine-tar --git-ignore-branch --git-ignore-new --git-export-dir=/tmp/export --git-no-overlay --git-tarball-dir=/nonexistant --git-cleaner=/bin/true --git-builder='dpkg-buildpackage -S -d --no-sign'" + - "pgt-gopath -dsc /tmp/export/*.dsc" + # Rebuild the world: + - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json" + - "ci-diff before-applying-commit.json after-applying-commit.json" 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..5721c96 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +Homepage: https://github.com/OpenPrinting/goipp +Repository: https://github.com/OpenPrinting/goipp.git +Repository-Browse: https://github.com/OpenPrinting/goipp +Bug-Database: https://github.com/OpenPrinting/goipp/issues +Bug-Submit: https://github.com/OpenPrinting/goipp/issues/new diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..607325b --- /dev/null +++ b/debian/watch @@ -0,0 +1,11 @@ +version=4 +opts="mode=git, pgpmode=none" \ + https://github.com/OpenPrinting/goipp.git \ + HEAD debian + +# Use the following when upstream starts to tag releases: +# +#version=4 +#opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%golang-github-openprinting-goipp_$1.orig.tar.gz%,\ +# uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/" \ +# https://github.com/OpenPrinting/goipp/tags .*/v?(\d\S*)\.tar\.gz debian |