summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package-build/pdns-recursor/package.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/package-build/pdns-recursor/package.toml b/scripts/package-build/pdns-recursor/package.toml
index 127b3b8c..2819f939 100644
--- a/scripts/package-build/pdns-recursor/package.toml
+++ b/scripts/package-build/pdns-recursor/package.toml
@@ -2,3 +2,11 @@
name = "pdns-recursor"
commit_id = "c24eb42e31172dc71b36e822915e802f489fe9ee" # debian/bookworm, 4.8.8-1+deb12u1
scm_url = "https://salsa.debian.org/debian/pdns-recursor.git"
+
+# Our rebuild must not share its version with the Debian package, otherwise APT
+# cannot tell the installed build apart and reports a downgrade on dist-upgrade
+pre_build_hook = """
+export DEBEMAIL="maintainers@vyos.net"
+export DEBFULLNAME="VyOS Package Maintainers"
+dch -v "4.8.8-1+deb12u1+vyos0" "Rebuild with VyOS patches"
+"""