From c6c73c3147baf44c657454dc6cdeab2d09bf2b50 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 18 May 2025 13:10:33 +0200 Subject: [PATCH] Adding debian version 1.2.3-1. Signed-off-by: Daniel Baumann --- debian/changelog | 5 +++++ debian/control | 28 ++++++++++++++++++++++++++++ debian/copyright | 37 +++++++++++++++++++++++++++++++++++++ debian/rules | 7 +++++++ debian/source/format | 1 + debian/upstream/metadata | 5 +++++ debian/watch | 2 ++ 7 files changed, 85 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..15c5473 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-github-42wim-httpsig (1.2.3-1) unstable; urgency=low + + * Initial upload to sid, required for forgejo. + + -- Daniel Baumann Sun, 18 May 2025 13:03:45 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e02258e --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: golang-github-42wim-httpsig +Section: golang +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-sequence-golang, + golang-any, + golang-golang-x-crypto-dev, +Rules-Requires-Root: no +Standards-Version: 4.7.2 +Homepage: https://github.com/42wim/httpsig +Vcs-Browser: https://forgejo.debian.net/forgejo/golang-github-42wim-httpsig +Vcs-Git: https://forgejo.debian.net/forgejo/golang-github-42wim-httpsig +Testsuite: autopkgtest-pkg-go +XS-Go-Import-Path: github.com/42wim/httpsig + +Package: golang-github-42wim-httpsig-dev +Section: golang +Architecture: all +Multi-Arch: foreign +Depends: + golang-golang-x-crypto-dev, + ${misc:Depends}, +Description: implementation of the HTTP Signatures RFC draft (Go library) + httpsig is a Go library that implements HTTP Signatures. It supports many + different combinations of MAC, HMAC signing of hash, or RSA signing of hash + schemes. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9fed985 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,37 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: httpsig +Upstream-Contact: https://github.com/42wim/httpsig/issues +Source: https://github.com/42wim/httpsig/tags + +Files: * +Copyright: 2018 go-fed + +Files: debian/* +Copyright: 2025 Daniel Baumann +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: + . + * 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 {organization} 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. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..270bd1e --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh ${@} --builddirectory=_build --buildsystem=golang + +override_dh_auto_test: + # disabled (needs additional depends) 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..6e1b04e --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/42wim/httpsig/issues +Bug-Submit: https://github.com/42wim/httpsig/issues/new +Repository: https://github.com/42wim/httpsig.git +Repository-Browse: https://github.com/42wim/httpsig diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..ab2791e --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/42wim/httpsig/tags .*/v?(\d.*)@ARCHIVE_EXT@