🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel.mentors
Article #1

Bug#948603: Processed: ITA: approx -- caching proxy server for Debian archive files

#1
From: leonardoluxx
Date: Sat, 10 Oct 2026 20:30
58 lines
5544 bytes
Dear maintainers,

Following up on my earlier message about taking over approx (bug #948603), I have set up a Debian sid build environment and reproduced the current packaging. I am writing to report what I found, because two of my three initial concerns turned out to be non-issues and I would rather correct the record than leave misleading impressions.

Summary of findings:

1. pristine-tar: not broken. My initial report that pristine-tar was broken was my own mistake. I had run "pristine-tar gentar" from a directory outside the git repository; pristine-tar needs the git tree to rebuild the delta base and fails there. Run from inside the repository it works perfectly and reproduces approx_5.13.orig.tar.gz byte-for-byte identically to the copy in the Debian archive. No issue here.

2. systemd-tmpfiles dependency: this one is real. approx ships /usr/lib/tmpfiles.d/approx.conf via debian/approx.tmpfiles. Rebuilding approx from its current git master against sid produces a binary whose Depends field lacks "systemd | systemd-standalone-tmpfiles | systemd-tmpfiles", whereas approx 5.13-3+b1 currently in sid has it. The cause is in debhelper, not in approx: dh_installsysusers adds the sysusers alternative through ${misc:Depends}, but dh_installtmpfiles contains no addsubstvar() call, even though its manpage states that it adds the dependency. I have prepared the one-line debian/control fix and verified that the resulting Depends field is then identical to the official binary. I have not pushed anything.

3. Source format: no change needed. debian/source/format is 3.0 (quilt) while debian/gbp.conf sets pristine-tar = True. I initially read this as an inconsistency, but it is in fact the standard combination: the OCaml team uses git-buildpackage with pristine-tar for upstream tarballs, and pristine-tar exists precisely to supply the .orig tarball that 3.0 (quilt) requires, with bit-identical checksums for dak. I am leaving it alone.

Two questions:

- Should I file a separate bug against debhelper about the dh_installsysusers / dh_installtmpfiles asymmetry? I have a draft ready including reproduction steps, and I would rather not duplicate a report someone may have already filed. I would also appreciate knowing whether the maintainers prefer that affected packages declare the dependency explicitly in the meantime.

- Lintian reports "missing-systemd-timer-for-cron-script" for /etc/cron.weekly/approx. This is pre-existing, as the official binary in sid reports the same warning, so it is not a regression. Would the team prefer it to be addressed now, by converting the cron script into a systemd timer, or left as-is? I can prepare a Merge Request either way.

I have a fix/blockers-wip branch prepared locally with the debhelper workaround and an UNRELEASED changelog entry, but I have deliberately not pushed anything and will hold off on a Merge Request until I hear from you about maintainership.

Happy to provide the debdiff or the draft debhelper bug report if useful.

Best regards,
Leonardo
Technical Details
Message-ID: <NMLRD-4KIM-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NMLeV-4Klr-3@gated-at.bofh.it> <NMLRD-4KIM-3@gated-at.bofh.it> <zn6Tn-4sR-9@gated-at.bofh.it> <NMLRD-4KIM-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: leonardoluxx@proton.me
Newsgroups: linux.debian.bugs.dist,linux.debian.maint.ocaml.maint,linux.debian.devel.mentors
Subject: Bug#948603: Processed: ITA: approx -- caching proxy server for Debian archive files
Date: Sat, 10 Oct 2026 22:30:01 +0200
Message-ID: <NMLRD-4KIM-1@gated-at.bofh.it>
References: <NMLeV-4Klr-3@gated-at.bofh.it> <NMLRD-4KIM-3@gated-at.bofh.it> <zn6Tn-4sR-9@gated-at.bofh.it> <NMLRD-4KIM-3@gated-at.bofh.it>
X-Original-To: "948603@bugs.debian.org" <948603@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 10 20:23:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: leonardoluxx@proton.me, 948603@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: followup 948603
X-Debian-Pr-Package: wnpp
Feedback-ID: 213215884:user:proton
X-Pm-Message-ID: bb16fd6c45f3ccea51f9a161c19dd3160021a49f
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Greylist: delayed 2381 seconds by postgrey-1.37 at buxtehude; Sat, 10 Oct 2026 20:21:16 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996137
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 58
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: "debian-ocaml-maint@lists.debian.org" <debian-ocaml-maint@lists.debian.org>, "debian-mentors@lists.debian.org" <debian-mentors@lists.debian.org>
X-Original-Date: Sat, 10 Oct 2026 20:21:09 +0000
X-Original-Message-ID: <bXcXCN3xRIUzGL4lGR7AtHhFvC4Wob6SV3EJ7hGu9-6_V9LAju7zdMvagSW2XSFCzckB8VS_L0ygtErbP1Jc3MF-FkWx7qt8tCXHLWcknL0=@proton.me>
X-Original-References: <kwSbuWFE9hHCeyF_4DjKqWQBkTI-p952F51xErE4EoijnZGPaA50Q5sA80crjYVnqMAqaUkxFqHNOiLL81vxCLlKuFsHbDXs9cBSnT0N48s=@proton.me> <handler.s.C.17916613961856422.transcript@bugs.debian.org> <157867942638.297650.16207851382413897705.reportbug@stratocaster.home> <handler.s.C.17916613961856422.transcript@bugs.debian.org>