diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-16 17:39:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-16 17:39:05 +0000 |
commit | ed4895983ab452c6a3ac5b038d57fe93a7361326 (patch) | |
tree | 21e392d92e56f7c7832427ba8da0ddcd7bb89543 | |
parent | Adding upstream version 0.6.1. (diff) | |
download | golang-github-theupdateframework-go-tuf-debian.tar.xz golang-github-theupdateframework-go-tuf-debian.zip |
Adding debian version 0.6.1-1.debian/0.6.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/changelog | 37 | ||||
-rw-r--r-- | debian/control | 45 | ||||
-rw-r--r-- | debian/copyright | 89 | ||||
-rw-r--r-- | debian/fix.scanned.copyright | 7 | ||||
-rw-r--r-- | debian/gbp.conf | 3 | ||||
-rw-r--r-- | debian/gitlab-ci.yml | 6 | ||||
-rw-r--r-- | debian/golang-github-theupdateframework-go-tuf-dev.lintian-overrides | 3 | ||||
-rw-r--r-- | debian/patches/docopt.patch | 312 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 9 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 5 | ||||
-rw-r--r-- | debian/watch | 4 |
13 files changed, 522 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2b4fb7a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,37 @@ +golang-github-theupdateframework-go-tuf (0.6.1-1) unstable; urgency=medium + + * New upstream release + + -- Reinhard Tartler <siretart@tauware.de> Mon, 20 Nov 2023 22:55:28 +0000 + +golang-github-theupdateframework-go-tuf (0.5.2-5) unstable; urgency=medium + + * Revert "Delete unncessary testdata from package" and lintian override + instead. This unbreaks autopkgtests + + -- Reinhard Tartler <siretart@tauware.de> Tue, 12 Sep 2023 06:54:01 -0400 + +golang-github-theupdateframework-go-tuf (0.5.2-4) unstable; urgency=medium + + * compile against flynn/docopt -> docopt/docopt + + -- Reinhard Tartler <siretart@tauware.de> Mon, 11 Sep 2023 20:43:08 -0400 + +golang-github-theupdateframework-go-tuf (0.5.2-3) unstable; urgency=medium + + * Upload to unstable + + -- Reinhard Tartler <siretart@tauware.de> Tue, 22 Aug 2023 20:14:28 -0400 + +golang-github-theupdateframework-go-tuf (0.5.2-2) experimental; urgency=medium + + * Incorportated ftp-master review for debian/copyright + * Target experimental + + -- Reinhard Tartler <siretart@tauware.de> Wed, 12 Jul 2023 07:26:45 -0400 + +golang-github-theupdateframework-go-tuf (0.5.2-1) unstable; urgency=medium + + * Initial release (Closes: #1030557) + + -- Reinhard Tartler <siretart@tauware.de> Sat, 04 Feb 2023 19:07:03 -0500 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..15d4875 --- /dev/null +++ b/debian/control @@ -0,0 +1,45 @@ +Source: golang-github-theupdateframework-go-tuf +Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> +Uploaders: Reinhard Tartler <siretart@tauware.de> +Section: golang +Testsuite: autopkgtest-pkg-go +Priority: optional +Build-Depends: debhelper-compat (= 13), + dh-golang, + golang-any, + golang-github-docopt-docopt-go-dev, + golang-github-dustin-go-humanize-dev, + golang-github-golang-leveldb-dev, + golang-github-google-gofuzz-dev, + golang-github-secure-systems-lab-go-securesystemslib-dev, + golang-github-stretchr-testify-dev, + golang-github-syndtr-goleveldb-dev, + golang-golang-x-crypto-dev, + golang-golang-x-term-dev, + golang-gopkg-check.v1-dev, +Standards-Version: 4.6.2 +Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-theupdateframework-go-tuf +Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-theupdateframework-go-tuf.git +Homepage: https://github.com/theupdateframework/go-tuf +Rules-Requires-Root: no +XS-Go-Import-Path: github.com/theupdateframework/go-tuf + +Package: golang-github-theupdateframework-go-tuf-dev +Architecture: all +Multi-Arch: foreign +Depends: golang-github-dustin-go-humanize-dev, + golang-github-docopt-docopt-go-dev, + golang-github-golang-leveldb-dev, + golang-github-google-gofuzz-dev, + golang-github-secure-systems-lab-go-securesystemslib-dev, + golang-github-stretchr-testify-dev, + golang-github-syndtr-goleveldb-dev, + golang-golang-x-crypto-dev, + golang-golang-x-term-dev, + golang-gopkg-check.v1-dev, + ${misc:Depends} +Description: Securing software in golang (library) + The Update Framework (TUF) helps developers maintain the security of software + update systems, providing protection even against attackers that compromise + the repository or signing keys. TUF provides a flexible framework and + specification that developers can adopt into any software update system. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e073d46 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,89 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Copyright: 2014-2020, Prime Directive, Inc. + +Files: * +Copyright: 2014-2020, Prime Directive, Inc. +License: BSD-3-clause + +Files: client/python_interop/testdata/* +Copyright: 2012-2023, New York University and the TUF contributors, + 2010, Justin Samuel and Justin Cappos. +License: Expat or Apache-2.0 + +Files: client/python_interop/testdata/python-tuf-v2.0.0/client.py +Copyright: 2012-2023, New York University and the TUF contributors +License: Expat or Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". + +License: BSD-3-clause + The BSD License + . + 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 the copyright holder 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: Expat + The MIT License + . + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated + documentation files (the "Software"), to deal in the Software + without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to + whom the Software is furnished to do so, subject to the + following conditions: + . + The above copyright notice and this permission notice shall + be included in all copies or substantial portions of the + Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT + WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NONINFRINGEMENT. IN NO EVENT + SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/fix.scanned.copyright b/debian/fix.scanned.copyright new file mode 100644 index 0000000..6f2b35c --- /dev/null +++ b/debian/fix.scanned.copyright @@ -0,0 +1,7 @@ +! Copyright="2014-2020, Prime Directive, Inc." +! Files:"client/python_interop/testdata/*" + Copyright="2012-2023, New York University and the TUF contributors, +2010, Justin Samuel and Justin Cappos." + License short_name="Expat or Apache-2.0" +! Files:~"client/python_interop/testdata/python-tuf-v2.0.0/client.py" + License short_name="Expat or Apache-2.0" 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..594e14e --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,6 @@ +# auto-generated, DO NOT MODIFY. +# The authoritative copy of this file lives at: +# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go +--- +include: + - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml diff --git a/debian/golang-github-theupdateframework-go-tuf-dev.lintian-overrides b/debian/golang-github-theupdateframework-go-tuf-dev.lintian-overrides new file mode 100644 index 0000000..948355d --- /dev/null +++ b/debian/golang-github-theupdateframework-go-tuf-dev.lintian-overrides @@ -0,0 +1,3 @@ +# the client contains "testdata" for python interoperability, which comes with files that look like documentation +golang-github-theupdateframework-go-tuf-dev: package-contains-documentation-outside-usr-share-doc +golang-github-theupdateframework-go-tuf-dev: bash-term-in-posix-shell diff --git a/debian/patches/docopt.patch b/debian/patches/docopt.patch new file mode 100644 index 0000000..277981d --- /dev/null +++ b/debian/patches/docopt.patch @@ -0,0 +1,312 @@ +Index: golang-github-theupdateframework-go-tuf/cmd/tuf-client/get.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf-client/get.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf-client/get.go +@@ -4,7 +4,7 @@ import ( + "io" + "os" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + tuf "github.com/theupdateframework/go-tuf/client" + "github.com/theupdateframework/go-tuf/util" + ) +Index: golang-github-theupdateframework-go-tuf/cmd/tuf-client/init.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf-client/init.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf-client/init.go +@@ -4,7 +4,7 @@ import ( + "io" + "os" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + tuf "github.com/theupdateframework/go-tuf/client" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf-client/list.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf-client/list.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf-client/list.go +@@ -6,7 +6,7 @@ import ( + "text/tabwriter" + + "github.com/dustin/go-humanize" +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + tuf "github.com/theupdateframework/go-tuf/client" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf-client/main.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf-client/main.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf-client/main.go +@@ -5,7 +5,7 @@ import ( + "log" + "os" + +- docopt "github.com/flynn/go-docopt" ++ docopt "github.com/docopt/go-docopt" + tuf "github.com/theupdateframework/go-tuf/client" + tuf_leveldbstore "github.com/theupdateframework/go-tuf/client/leveldbstore" + ) +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/add.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/add.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/add.go +@@ -3,7 +3,7 @@ package main + import ( + "encoding/json" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/add_signatures.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/add_signatures.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/add_signatures.go +@@ -5,7 +5,7 @@ import ( + "fmt" + "os" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + "github.com/theupdateframework/go-tuf/data" + ) +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/change_passphrase.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/change_passphrase.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/change_passphrase.go +@@ -1,7 +1,7 @@ + package main + + import ( +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/clean.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/clean.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/clean.go +@@ -4,7 +4,7 @@ import ( + "fmt" + "os" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/commit.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/commit.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/commit.go +@@ -1,7 +1,7 @@ + package main + + import ( +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/gen_key.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/gen_key.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/gen_key.go +@@ -5,7 +5,7 @@ import ( + "os" + "time" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + "github.com/theupdateframework/go-tuf/data" + ) +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/get_threshold.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/get_threshold.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/get_threshold.go +@@ -4,7 +4,7 @@ import ( + "fmt" + "os" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/init.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/init.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/init.go +@@ -1,7 +1,7 @@ + package main + + import ( +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/main.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/main.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/main.go +@@ -11,7 +11,7 @@ import ( + "syscall" + "time" + +- docopt "github.com/flynn/go-docopt" ++ docopt "github.com/docopt/go-docopt" + tuf "github.com/theupdateframework/go-tuf" + "github.com/theupdateframework/go-tuf/util" + "golang.org/x/term" +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/payload.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/payload.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/payload.go +@@ -4,7 +4,7 @@ import ( + "fmt" + "os" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/regenerate.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/regenerate.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/regenerate.go +@@ -3,7 +3,7 @@ package main + import ( + "log" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/remove.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/remove.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/remove.go +@@ -3,7 +3,7 @@ package main + import ( + "errors" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/revoke_key.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/revoke_key.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/revoke_key.go +@@ -1,7 +1,7 @@ + package main + + import ( +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/root_keys.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/root_keys.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/root_keys.go +@@ -5,7 +5,7 @@ import ( + "fmt" + "os" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/set_threshold.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/set_threshold.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/set_threshold.go +@@ -5,7 +5,7 @@ import ( + "os" + "strconv" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/sign.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/sign.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/sign.go +@@ -1,7 +1,7 @@ + package main + + import ( +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/sign_payload.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/sign_payload.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/sign_payload.go +@@ -5,7 +5,7 @@ import ( + "fmt" + "os" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + tuf "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/snapshot.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/snapshot.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/snapshot.go +@@ -1,7 +1,7 @@ + package main + + import ( +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/status.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/status.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/status.go +@@ -4,7 +4,7 @@ import ( + "fmt" + "time" + +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + +Index: golang-github-theupdateframework-go-tuf/cmd/tuf/timestamp.go +=================================================================== +--- golang-github-theupdateframework-go-tuf.orig/cmd/tuf/timestamp.go ++++ golang-github-theupdateframework-go-tuf/cmd/tuf/timestamp.go +@@ -1,7 +1,7 @@ + package main + + import ( +- "github.com/flynn/go-docopt" ++ "github.com/docopt/go-docopt" + "github.com/theupdateframework/go-tuf" + ) + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..90e27c2 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +docopt.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..96a61fa --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +export DH_GOLANG_EXCLUDES := python_interop go-tuf/cmd/tuf + +%: + dh $@ --builddirectory=_build --buildsystem=golang --with=golang + +override_dh_auto_test: + dh_auto_test -O--builddirectory=_build -O--buildsystem=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..b060628 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/theupdateframework/go-tuf/issues +Bug-Submit: https://github.com/theupdateframework/go-tuf/issues/new +Repository: https://github.com/theupdateframework/go-tuf.git +Repository-Browse: https://github.com/theupdateframework/go-tuf diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..f842468 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%,\ + uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/" \ + https://github.com/theupdateframework/go-tuf/tags .*/v?(\d\S*)\.tar\.gz debian |