diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b6def3c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-forgejo-go-chi-captcha (1.0.1-1) unstable; urgency=medium + + * Initial upload to sid, required for forgejo. + + -- Daniel Baumann Sun, 18 May 2025 14:30:48 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5910c93 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: golang-forgejo-go-chi-captcha +Section: golang +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-sequence-golang, + golang-any, +Rules-Requires-Root: no +Standards-Version: 4.7.2 +Homepage: https://code.forgejo.org/go-chi/captcha +Vcs-Browser: https://forgejo.debian.net/forgejo/golang-forgejo-go-chi-captcha +Vcs-Git: https://forgejo.debian.net/forgejo/golang-forgejo-go-chi-captcha +Testsuite: autopkgtest-pkg-go +XS-Go-Import-Path: code.forgejo.org/go-chi/captcha + +Package: golang-forgejo-go-chi-captcha-dev +Section: golang +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Description: generation and verification of image CAPTCHAs (Go library) + captcha is a Go library implementing generation and verification of image + CAPTCHAs. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6b37ca9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: captcha +Upstream-Contact: https://code.forgejo.org/go-chi/captcha/issues +Source: https://code.forgejo.org/go-chi/captcha/tags + +Files: * +Copyright: 2011-2014 Dmitry Chestnykh +License: MIT + +Files: debian/* +Copyright: 2025 Daniel Baumann +License: MIT + +License: MIT + 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/rules b/debian/rules new file mode 100755 index 0000000..f53a378 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh ${@} --builddirectory=_build --buildsystem=golang + +execute_after_dh_auto_install: + # removing unused files + rm -rf debian/golang-forgejo-go-chi-captcha-dev/usr/bin 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..609a6ef --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://code.forgejo.org/go-chi/captcha/issues +Bug-Submit: https://code.forgejo.org/go-chi/captcha/issues/new +Repository: https://code.forgejo.org/go-chi/captcha.git +Repository-Browse: https://code.forgejo.org/go-chi/captcha