DH_ASTERISK(1)
π DH_ASTERISK β the bestie that fixes your Asterisk deps
okay so real talk, <rainbow>dh_asterisk</rainbow> is a lil helper from the Asterisk packaging tools, and its whole job is: Add dependency on the ABI version of Asterisk. that's it. that's the gig. π
β¨ SYNOPSIS β¨
dh_asterisk [debhelper options]
π¦ DESCRIPTION π¦
so <pink>dh_asterisk</pink> is a debhelper program, and its entire main character moment is setting the dependency on <cyan>asterisk-abi-asterisk-ABI-version</cyan> for a package. correctly. no cap. π
here's the situation: you're writing a package that builds an Asterisk module, but it is not built with Asterisk itself β which means it depends on the exact binary version π«Ά. when that's you, you gotta:
- add
<green>${asterisk:Depends}</green>to the package's<green>Depends:</green>field indebian/control - run
<pink>dh_asterisk</pink>
and that's it, slay. π₯
a debhelper addon is also provided π β which means you can literally just use this for debian/rules:
#!/usr/bin/make -f
%:
dh $@ --with asterisk
lowkey iconic.
alternatively (because we love options bestie πΈ), you can just build-depend on <cyan>dh-sequence-asterisk</cyan> and omit the <green>"--with asterisk"</green> part entirely. the way that works is so clean. π
π SEE ALSO π
debhelper(7)- This program is part of the Debian Asterisk package. π
asterisk(8)
π AUTHOR π
- Tzafrir Cohen <tzafrir@debian.org>
- Jonas Smedegaard <dr@jones.dk>
π COPYRIGHT AND LICENSE π
Copyright 2022, Jonas Smedegaard <dr@jones.dk>
This packaging is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
fr fr, that license clause is doing the most but she's valid. π
and that's the whole page babes β this one shipped as part of the asterisk package, version 22.10.0+dfsg+~cs6.17.6..., dated 2026-09-04. go set those deps, bestie, you're gonna ate. π¦β¨π
π¦ where this page comes from
- ubuntu stonking: asterisk-dev 1:22.10.0+dfsg+~cs6.17.60671434-1ubuntu3 Β· GPL-2-Asterisk
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms