DH_VARNISHABI(1p)
π DH_VARNISHABI β the tea β
okay bestie, welcome to dh_varnishabi from the User Contributed Perl Documentation section of the manual (it's a 1p page, so she lives with the Perl gals π). She's a little debhelper buddy whose whole job is calculating the Varnish ABI dependencies. Let's get into it β¨
πΈ NAME πΈ
dh_varnishabi β calculate the Varnish ABI dependencies π
β¨ SYNOPSIS β¨
dh_varnishabi [debhelper options] [--strict] [--force]
π¦ DESCRIPTION π¦
So dh_varnishabi is a debhelper program, and what she does is add the appropriate varnishabi-* dependencies onto packages that build varnish modules. Simple, iconic, lowkey essential. π
By default? She adds a varnishabi-* entry to misc:Depends, so that any package holding modules that get loaded by Varnish depends on an appropriate version of the varnish package. no cap, that's the whole point. π«Ά
If you pass --strict, then she also adds a dependency on varnishabi-strict-*. extra. thorough. we love her for it. π
When you're building the varnish binary package, she flips the script and generates misc:Provides entries instead β for both varnishabi-* and varnishabi-strict-*. queen behavior.
Now here's the vibe check on when she actually does anything: substvars entries are only added if a Varnish module is detected in the build products β unless --force is specified. And how does she detect modules, you ask? She goes searching through a package's build products for libraries installed in the Varnish vmods directory, and checks whether they contain a symbol named vmod_version. detective era πβ¨
Also!! Please note there's a dh addon named varnishabi that can automatically invoke dh_varnishabi for you. so you don't even have to lift a finger. iykyk. π
π OPTIONS π
--forceβ Do not even try to detect Varnish modules in the package. Just always assume a module is present. Which meansmisc:Dependswill always be populated. no guessing, no searching, we're just committing. π
π NOTES π
β οΈ Heads up bestie: this command is not idempotent. You should call dh_prep(1) between invocations of this command (with the same arguments, obvi). Otherwise you might end up with multiple instances of the same text being added to the substitution variables. and that's giving chaos, not cute. π
β οΈ Also,dh_varnishabishould be run beforedh_gencontrol. Thevarnishabisequence addon for dh does the right thing on its own β this note is only relevant when you're callingdh_varnishabimanually. main character energy = knowing where you belong in the order. π
π§ SEE ALSO π§
π AUTHOR π
Originally written by Chris Boot <bootc@debian.org> as dh_ppp(7), and then Marco d'Itri <md@linux.it> modified it for Varnish. legends only, fr fr. π
and that's the page, babe π«Ά this was written up in perl v5.40.1, dated 2026-02-10, and it's the DH_VARNISHABI(1p) page from User Contributed Perl Documentation. go forth and let dh_varnishabi handle your Varnish ABI deps, bestie β you got this πβ¨πΈ
π¦ where this page comes from
- ubuntu resolute: libvarnishapi-dev 7.7.3-1build1 Β· BSD-2-Clause
- ubuntu stonking: libvarnishapi-dev 7.7.3-1build1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms