#1143578 RFS: golang-github-sagernet-sing/0.8.11-1 [ITP] -- Modular networking library with reusable components

Package:
sponsorship-requests
Source:
sponsorship-requests
Submitter:
دانیال بهزادی | Danial Behzadi
Date:
2026-11-09 12:31:02 UTC
Severity:
normal
Tags:
#1143578#5
Date:
2026-08-04 11:56:09 UTC
From:
To:
Dear mentors,

I am looking for a sponsor for my package
"golang-github-sagernet-sing". This is a dependency of 'xray-core'
package which I intend to package:

 * Package name     : golang-github-sagernet-sing
   Version          : 0.8.11-1
   Upstream contact : nekohasekai <contact-sagernet@sekai.icu>
 * URL              : https://github.com/SagerNet/sing
 * License          : BSD-3-clause, GPL-3+, Apache-2.0
 * Vcs              :
https://salsa.debian.org/go-team/packages/golang-github-sagernet-sing
   Section          : golang

The source builds the following binary packages:

  golang-github-sagernet-sing-dev - Modular networking library with
reusable components

To access further information about this package, please visit the
following URL:

https://mentors.debian.net/package/golang-github-sagernet-sing/

Alternatively, you can download the package with 'dget' using this
command:

  dget -x
https://mentors.debian.net/debian/pool/main/g/golang-github-sagernet-sing/golang-github-sagernet-sing_0.8.11-1.dsc

Changes for the initial release:

 golang-github-sagernet-sing (0.8.11-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1143576)

Regards,
--
Danial Behzadi

#1143578#12
Date:
2026-11-09 12:28:59 UTC
From:
To:
Hi Danial,

Just a few things:
- DH_GOPKG should be dropped, the dh-golang already uses the value in
XS-Go-Import-Path from d/control for this.
- d/clean is not needed, dh-golang's dh_auto_clean handles this already.
- d/control Build-Depends should only list *direct* dependencies (i.e.
stuff marked // indirect in go.mod should not be here); apt pulls them
in anyway and they change
- d/control should have a Depends for the -dev package listing the same
golang-*-dev dependencies and ${misc:Depends} (in this case, just
golang-golang-x-sys-dev)
- stretchr-testify is a test-only dep, so should be marked with
<!nocheck> accordingly (and make sure not to list this in Depends)
- d/control should have Multi-Arch: foreign for the -dev package

Everything else is fine. Once these are fixed, I am happy to upload the
package.