---
name: "dh_varnishabi"
section: "1p"
platform: "linux"
package: "libvarnishapi-dev"
version: "7.7.0-3+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_varnishabi"
---

# dh\_varnishabi(1p)

calculate the Varnish ABI dependencies

## NAME

dh\_varnishabi - calculate the Varnish ABI dependencies

## SYNOPSIS

**dh\_varnishabi** \[*debhelper options*\] \[**--strict**\] \[**--force**\]

## DESCRIPTION

**dh\_varnishabi** is a debhelper program that adds appropriate *varnishabi-\** dependencies on packages that build varnish modules.

By default, a *varnishabi-\** entry is added to **misc:Depends** to ensure that packages which contain modules that are loaded by Varnish depend on an appropriate version of the *varnish* package.

If **--strict** is specified, then a dependency on *varnishabi-strict-\** is added too.

When building the varnish binary package the program will generate instead **misc:Provides** entries for *varnishabi-\** and *varnishabi-strict-\**.

Substvars entries are only added if a Varnish module is detected in the build products, unless **--force** is specified. Modules are detected by searching a package's build products for libraries installed in the Varnish vmods directory and containing a symbol named **vmod\_version**.

Please note there is a **dh** addon named **varnishabi** which can be used to automatically invoke **dh\_varnishabi** for you.

## OPTIONS

- **--force**

  Do not try to detect Varnish modules in the package, and always assume that a module is present. This will cause **misc:Depends** to always be populated.

## NOTES

Note that this command is not idempotent. [**dh\_prep**(1)](/dh_prep/1.md) should be called between invocations of this command (with the same arguments). Otherwise, it may cause multiple instances of the same text to be added to the substition variables.

Note that **dh\_varnishabi** should be run before **dh\_gencontrol**. The **varnishabi** sequence addon for **dh** does the right thing, this note is only relevant when you are calling **dh\_varnishabi** manually.

## SEE ALSO

[**debhelper**(7)](/debhelper/7.md)

## AUTHOR

Originally written by Chris Boot \<bootc@debian.org\> as **dh\_ppp**(7), then Marco d'Itri \<md@linux.it\> modified it for Varnish.
