1
0
Fork 0

Adding debian version 0.0~git20191008.06d1c00-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-18 13:24:00 +02:00
parent 6483251b09
commit 819855b869
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
8 changed files with 89 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
golang-forgejo-forgejo-contrib-go-libravatar (0.0~git20191008.06d1c00-1) unstable; urgency=low
* Initial upload to sid, required for forgejo.
-- Daniel Baumann <daniel@debian.org> Sun, 18 May 2025 13:19:15 +0200

24
debian/control vendored Normal file
View file

@ -0,0 +1,24 @@
Source: golang-forgejo-forgejo-contrib-go-libravatar
Section: golang
Priority: optional
Maintainer: Daniel Baumann <daniel@debian.org>
Build-Depends:
debhelper-compat (= 13),
dh-sequence-golang,
golang-any,
Rules-Requires-Root: no
Standards-Version: 4.7.2
Homepage: https://code.forgejo.org/forgejo-contrib/go-libravatar
Vcs-Browser: https://forgejo.debian.net/forgejo/golang-forgejo-forgejo-contrib-go-libravatar
Vcs-Git: https://forgejo.debian.net/forgejo/golang-forgejo-forgejo-contrib-go-libravatar
Testsuite: autopkgtest-pkg-go
XS-Go-Import-Path: code.forgejo.org/forgejo-contrib/go-libravatar
Package: golang-forgejo-forgejo-contrib-go-libravatar-dev
Section: golang
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Description: serving federated avatars (Go library)
go-libravatar is a Go library to serve federated avatars.

31
debian/copyright vendored Normal file
View file

@ -0,0 +1,31 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: go-libravatar
Upstream-Contact: https://code.forgejo.org/forgejo-contrib/go-libravatar/issues
Source: https://code.forgejo.org/forgejo-contrib/go-libravatar/tags
Files: *
Copyright: 2016 Sandro Santilli <strk@kbt.io>
License: MIT
Files: debian/*
Copyright: 2025 Daniel Baumann <daniel@debian.org>
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.

15
debian/patches/debian/0001-import.patch vendored Normal file
View file

@ -0,0 +1,15 @@
Author: Daniel Baumann <daniel@debian.org>
Description: Removing breaking import.
diff -Naurp golang-forgejo-forgejo-contrib-go-libravatar.orig/libravatar.go golang-forgejo-forgejo-contrib-go-libravatar/libravatar.go
--- golang-forgejo-forgejo-contrib-go-libravatar.orig/libravatar.go 2025-05-18 13:16:12.000000000 +0200
+++ golang-forgejo-forgejo-contrib-go-libravatar/libravatar.go 2025-05-18 13:29:32.746587328 +0200
@@ -5,7 +5,7 @@
// Implements support for federated avatars lookup.
// See https://wiki.libravatar.org/api/
-package libravatar // import "strk.kbt.io/projects/go/libravatar"
+package libravatar
import (
"crypto/md5"

1
debian/patches/series vendored Normal file
View file

@ -0,0 +1 @@
debian/0001-import.patch

7
debian/rules vendored Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/make -f
%:
dh ${@} --builddirectory=_build --buildsystem=golang
override_dh_auto_test:
# disabled (needs upstream fixes)

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

5
debian/upstream/metadata vendored Normal file
View file

@ -0,0 +1,5 @@
---
Bug-Database: https://code.forgejo.org/forgejo-contrib/go-libravatar/issues
Bug-Submit: https://code.forgejo.org/forgejo-contrib/go-libravatar/issues/new
Repository: https://code.forgejo.org/forgejo-contrib/go-libravatar.git
Repository-Browse: https://code.forgejo.org/forgejo-contrib/go-libravatar