diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d911657 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-github-sean--pager (0.0~git20180208.666be9b-1) unstable; urgency=medium + + * Initial release + + -- Thorsten Alteholz Mon, 18 May 2020 20:40:15 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..541065e --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: golang-github-sean--pager +Section: devel +Priority: optional +Maintainer: Debian Go Packaging Team +Uploaders: Thorsten Alteholz +Build-Depends: debhelper-compat (= 12), + dh-golang, + golang-any +Standards-Version: 4.5.0 +Homepage: https://github.com/sean-/pager +Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-sean--pager +Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-sean--pager.git +XS-Go-Import-Path: github.com/sean-/pager +Testsuite: autopkgtest-pkg-go + +Package: golang-github-sean--pager-dev +Architecture: all +Depends: ${misc:Depends} +Description: pager support for Go + This package contains easy $PAGER support for Go (i.e. less(1), more(1)) + with sane defaults. + . + By default pager uses less(1) with the args: -X -F -R --buffers=65535 + and sets LESSSECURE=1 before starting less(1). + . + If less(1) is unavailable, pager falls back to more(1). + . + The PAGER environment variable is honored. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0dbefa5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pager +Source: https://github.com/sean-/pager +Files-Excluded: + Godeps/_workspace + +Files: * +Copyright: 2018 Sean Chittenden +License: BSD-2-clause + +Files: debian/* +Copyright: 2020 Thorsten Alteholz +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: + . + * 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. + . + 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..cec628c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True 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/watch b/debian/watch new file mode 100644 index 0000000..c334506 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-sean--pager-\$1\.tar\.gz/,\ +uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \ + https://github.com/sean-/pager/tags .*/v?(\d\S*)\.tar\.gz