diff --git a/debian/.git-dpm b/debian/.git-dpm new file mode 100644 index 0000000..d90c739 --- /dev/null +++ b/debian/.git-dpm @@ -0,0 +1,11 @@ +# see git-dpm(1) from git-dpm package +4e1bfc47109be8b16258b7e7c174f3afe3d35a25 +4e1bfc47109be8b16258b7e7c174f3afe3d35a25 +4e1bfc47109be8b16258b7e7c174f3afe3d35a25 +4e1bfc47109be8b16258b7e7c174f3afe3d35a25 +golang-github-svent-go-nbreader_0~20150201.orig.tar.xz +2bb957694e91aa3d02abc0d77038822399921d43 +2704 +debianTag="debian/%f%v" +patchedTag="patched/%f%v" +upstreamTag="upstream/%u" diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6fe0ca4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-github-svent-go-nbreader (0~20150201-1) unstable; urgency=low + + * Initial release. Closes: #829572 + + -- ChangZhuo Chen (陳昌倬) Mon, 04 Jul 2016 18:29:23 +0800 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..b053bde --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: golang-github-svent-go-nbreader +Section: devel +Priority: extra +Maintainer: Debian Go Packaging Team +Uploaders: ChangZhuo Chen (陳昌倬) +Build-Depends: debhelper (>=9), + dh-golang, + golang-go +Standards-Version: 3.9.8 +Homepage: https://github.com/svent/go-nbreader +Vcs-Browser: https://anonscm.debian.org/git/pkg-go/packages/golang-github-svent-go-nbreader.git +Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-svent-go-nbreader.git +XBS-Go-Import-Path: github.com/svent/go-nbreader + +Package: golang-github-svent-go-nbreader-dev +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Built-Using: ${misc:Built-Using} +Description: non-blocking io.Reader for go + go-nbreader provides a non-blocking io.Reader for go (golang). It + allows one to specify two timeouts: + . + * Timeout: Read() returns after the specified timeout, even if no data + has been read. + . + * ChunkTimeout: Read() returns if no data has been read for the + specified time, even if the overall timeout has not been hit yet. + ChunkTimeout must be smaller than Timeout. + . + When the internal buffer contains at least blockSize bytes, Read() + returns regardless of the specified timeouts. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a2f65c7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,39 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: go-nbreader +Source: https://github.com/svent/go-nbreader + +Files: * +Copyright: Copyright (c) 2014, Sven Taute +License: BSD-3-clause + +Files: debian/* +Copyright: ChangZhuo Chen (陳昌倬) +License: BSD-3-clause + +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 the 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 REGENTS 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 REGENTS 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/rules b/debian/rules new file mode 100755 index 0000000..4f5b5d6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f +#export DH_VERBOSE = 1 + +export DH_GOPKG := github.com/svent/go-nbreaders + +%: + 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..52e2650 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +# You must remove unused comment lines for the released package. +version=3 +https://github.com/svent/go-nbreader/releases .*/[vV]?([\d\.]*)\.tar.gz