Files
dns-updater/packaging/nfpm.yaml
T
unkinben 02e3e0315d
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Initial implementation: dns-updater daemon
RFC2136 dynamic-DNS updater. Watches a records file (inotify) and new
interface addresses and pushes TSIG-signed updates to BIND per zone, sending
only the delta. Native miekg/dns (structured per-zone RCODEs), local status
API + facter fact, systemd unit, nfpm RPM, Woodpecker CI.

Replaces the puppet dns-update shell script; keeps the same records-file and
TSIG-key contract.
2026-07-17 23:24:49 +10:00

46 lines
1.0 KiB
YAML

# nfpm packaging for dns-updater. Rendered by scripts/build-rpm.sh (envsubst)
# after `make build` produces dist/dns-updater.
name: ${PACKAGE_NAME}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
section: net
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
description: "${PACKAGE_DESCRIPTION}"
provides:
- dns-updater
contents:
- src: ./dist/dns-updater
dst: /usr/bin/dns-updater
file_info:
mode: 0755
- src: ./packaging/dns-updater.service
dst: /usr/lib/systemd/system/dns-updater.service
file_info:
mode: 0644
- src: ./packaging/facts.d/dns_updater.sh
dst: /opt/puppetlabs/facter/facts.d/dns_updater.sh
file_info:
mode: 0755
- src: ./packaging/env.sample
dst: /etc/dns-updater/env
type: config|noreplace
file_info:
mode: 0644
scripts:
postinstall: ./packaging/scripts/postinstall.sh
preremove: ./packaging/scripts/preremove.sh
overrides:
rpm:
depends:
- systemd