diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e097e6c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-forgejo-go-chi-cache (1.0.0-1) unstable; urgency=low + + * Initial upload to sid, required for forgejo. + + -- Daniel Baumann Sun, 18 May 2025 14:18:39 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7b27094 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: golang-forgejo-go-chi-cache +Section: golang +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-sequence-golang, + golang-any, + golang-github-bradfitz-gomemcache-dev, + golang-github-stretchr-testify-dev, +Rules-Requires-Root: no +Standards-Version: 4.7.2 +Homepage: https://code.forgejo.org/go-chi/cache +Vcs-Browser: https://forgejo.debian.net/forgejo/golang-forgejo-go-chi-cache +Vcs-Git: https://forgejo.debian.net/forgejo/golang-forgejo-go-chi-cache +Testsuite: autopkgtest-pkg-go +XS-Go-Import-Path: code.forgejo.org/go-chi/cache + +Package: golang-forgejo-go-chi-cache-dev +Architecture: all +Multi-Arch: foreign +Depends: + golang-github-bradfitz-gomemcache-dev, + golang-github-stretchr-testify-dev, + ${misc:Depends}, +Description: transparent interface for different cache implementations (Go library) + cache is a Go library to have a transparent interface for a lot of cache + implementations, such as memory and Memcache. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d3b3eb9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,40 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cache +Upstream-Contact: https://code.forgejo.org/go-chi/cache/issues +Source: https://code.forgejo.org/go-chi/cache/tags + +Files: * +Copyright: 2014 The Macaron Authors +License: Apache-2.0 + +Files: cache.go +Copyright: 2013 Beego Authors + 2014 The Macaron Authors +License: Apache-2.0 + +Files: memcache/memcache.go + memory.go +Copyright: 2013 Beego Authors + 2014 The Macaron Authors + 2024 The Forgejo Authors +License: Apache-2.0 + +Files: debian/* +Copyright: 2025 Daniel Baumann +License: 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 + . + https://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. + . + The complete text of the Apache-2.0 License + can be found in /usr/share/common-licenses/Apache-2.0 file. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d4fd41 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh ${@} --builddirectory=_build --buildsystem=golang + +override_dh_auto_test: + # disabled (needs upstream fixes) 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..9c3644b --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://code.forgejo.org/go-chi/cache/issues +Bug-Submit: https://code.forgejo.org/go-chi/cache/issues/new +Repository: https://code.forgejo.org/go-chi/cache.git +Repository-Browse: https://code.forgejo.org/go-chi/cache