Hi Luca,

On Sun, 2026-11-22 at 19:36 +0100, Luca Padovan wrote:
> > What is the benefit of packaging portop when other implementations
> > like top, htop, btop and many others are already in Debian? In other
> > words, what makes portop unique?
> 
> portop is not a process monitor like top or htop; it sits next to ss,
> netstat and lsof, which give a one-off listing without context. portop
> shows a live table of TCP and UDP sockets with their process, the
> systemd unit or container behind them (read from cgroups), who can
> reach each listener (every interface, one address or loopback only)
> and what the host firewall (ufw, firewalld, nftables) does with it. It
> can stop the owner of a port safely, checking the process start time
> first, and it is scriptable: --wait and --free for services, --diff
> against a saved baseline with an exit code for cron or CI, a Docker
> Compose port audit, Prometheus metrics and a Cockpit page. I am not
> aware of another tool in Debian that combines these.

You've convinced me :)
At least this will be insanely useful when I'm trying to figure out some
arcane issue on one of my servers.

> > Is there a reason that the package is not being maintained on
> > salsa.debian.org, under go-team/packages/?
> 
> No particular reason, and I agree it is the better place. I have
> prepared the packaging for v0.4.0 in DEP-14 layout (debian/sid,
> upstream/latest, pristine-tar), following the team conventions, with
> the Debian Go Packaging Team as Maintainer and myself in Uploaders, so
> other contributors can work on it freely. It builds in sid against the
> packaged libraries, and passes lintian and autopkgtest. I will ask the
> Go team for access to go-team/packages and reply here with the link
> once the repository is there.

Do you have a Salsa account yet? If yes, what's your username? I may be
able to create a repo for portop and give you access to that
specifically in the meantime.

> While preparing it I also found that GOPATH builds fell back to old Go
> defaults (the Go 1.21 ServeMux, which broke the web dashboard's routes,
> and SHA-1 in TLS); the package carries a small patch for it, and the
> fix will be in the next upstream release so the patch can be dropped.

Have you tried using module aware builds? The Go team is slowly
switching packages over, which should fix this problem.
See https://wiki.debian.org/Teams/DebianGoTeam/ModuleAwareBuilds
In short, remove dh-golang/dh-sequence-golang, add dh-go to Build-
Depends and --with golang to the dh invocation in d/rules.

--
Maytham

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to