Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: go...@packages.debian.org
Control: affects -1 + src:gortr

Please unblock package gortr

I do not want to ship gortr in bookworm because it is unmaintained, but 
other software needs the Go library which comes from this same package.
So I made minimal changes to the package to only build the library.

Full diff attached.

unblock gortr/0.14.7-2

-- 
ciao,
Marco
diff -Nru gortr-0.14.7/debian/changelog gortr-0.14.7/debian/changelog
--- gortr-0.14.7/debian/changelog	2021-01-03 09:17:16.000000000 +0100
+++ gortr-0.14.7/debian/changelog	2023-03-27 22:43:29.000000000 +0200
@@ -1,3 +1,10 @@
+gortr (0.14.7-2) unstable; urgency=medium
+
+  * Stop building gortr because it is unmaintained and has been generally
+    replaced by stayrtr.
+
+ -- Marco d'Itri <m...@linux.it>  Mon, 27 Mar 2023 22:43:29 +0200
+
 gortr (0.14.7-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru gortr-0.14.7/debian/control gortr-0.14.7/debian/control
--- gortr-0.14.7/debian/control	2021-01-03 09:16:21.000000000 +0100
+++ gortr-0.14.7/debian/control	2023-03-27 22:42:40.000000000 +0200
@@ -4,36 +4,27 @@
 Section: net
 Testsuite: autopkgtest-pkg-go
 Priority: optional
-Build-Depends: debhelper-compat (= 12), dh-golang,
+Build-Depends: debhelper-compat (= 13), dh-golang,
  golang-any,
  golang-github-prometheus-client-golang-dev,
  golang-github-stretchr-testify-dev,
  golang-golang-x-crypto-dev,
  golang-logrus-dev,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.2.0
 Vcs-Browser: https://salsa.debian.org/md/gortr
 Vcs-Git: https://salsa.debian.org/md/gortr.git
 Homepage: https://github.com/cloudflare/gortr
 Rules-Requires-Root: no
 XS-Go-Import-Path: github.com/cloudflare/gortr
 
-Package: gortr
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends},
- adduser
-Built-Using: ${misc:Built-Using}
-Description: Cloudflare's RPKI to Router server
- GoRTR is an implementation of the RPKI to Router protocol (RFC 6810):
- it can be used to publish Resource Public Key Infrastructure (RFC 6480)
- prefix origin data from a trusted cache to BGP routers.
-
 Package: golang-github-cloudflare-gortr-dev
 Architecture: all
-Section: devel
+Section: golang
 Depends: ${misc:Depends},
  golang-github-prometheus-client-golang-dev,
  golang-github-stretchr-testify-dev,
  golang-golang-x-crypto-dev,
  golang-logrus-dev,
+Multi-Arch: foreign
 Description: Cloudflare's RPKI to router library
  GoRTR is an implementation of the RPKI to router protocol (RFC 6810).
diff -Nru gortr-0.14.7/debian/rules gortr-0.14.7/debian/rules
--- gortr-0.14.7/debian/rules	2021-01-03 09:16:21.000000000 +0100
+++ gortr-0.14.7/debian/rules	2023-03-27 22:33:18.000000000 +0200
@@ -1,5 +1,11 @@
 #!/usr/bin/make -f
 
+# only build the library
+export DH_GOLANG_EXCLUDES := cmd/
+
 %:
 	dh $@ --builddirectory=_build --buildsystem=golang --with=golang
 
+override_dh_auto_install:
+	dh_auto_install --destdir=debian/tmp
+

Attachment: signature.asc
Description: PGP signature

Reply via email to