56 lines
1.8 KiB
YAML
56 lines
1.8 KiB
YAML
# Build .deb and .rpm with nfpm (https://nfpm.goreleaser.com):
|
|
# ARCH=amd64 VERSION=0.1.0 nfpm pkg -f deploy/packaging/nfpm.yaml -p deb
|
|
# ARCH=arm64 VERSION=0.1.0 nfpm pkg -f deploy/packaging/nfpm.yaml -p rpm
|
|
name: easydns
|
|
arch: "${ARCH}"
|
|
platform: linux
|
|
version: "${VERSION}"
|
|
maintainer: "EasyDNS maintainers"
|
|
description: |
|
|
EasyDNS: authoritative (primary/secondary), recursive, forwarding and hybrid DNS
|
|
server with DoT/DoH, DNSSEC and the EasyDNS Tools (easydig, easyhost, ...).
|
|
license: MIT
|
|
contents:
|
|
- src: target/release/easydns
|
|
dst: /usr/bin/easydns
|
|
- src: target/release/easydig
|
|
dst: /usr/bin/easydig
|
|
- src: target/release/easyhost
|
|
dst: /usr/bin/easyhost
|
|
- src: target/release/easynslookup
|
|
dst: /usr/bin/easynslookup
|
|
- src: target/release/easytrace
|
|
dst: /usr/bin/easytrace
|
|
- src: target/release/easydnssec
|
|
dst: /usr/bin/easydnssec
|
|
- src: target/release/easyptr
|
|
dst: /usr/bin/easyptr
|
|
- src: target/release/easyzone
|
|
dst: /usr/bin/easyzone
|
|
- src: target/release/easyconf
|
|
dst: /usr/bin/easyconf
|
|
- src: target/release/easybench
|
|
dst: /usr/bin/easybench
|
|
- src: target/release/easywhois
|
|
dst: /usr/bin/easywhois
|
|
- src: target/release/easydoh
|
|
dst: /usr/bin/easydoh
|
|
- src: target/release/easydot
|
|
dst: /usr/bin/easydot
|
|
- src: target/release/easydiff
|
|
dst: /usr/bin/easydiff
|
|
- src: deploy/systemd/easydns.service
|
|
dst: /usr/lib/systemd/system/easydns.service
|
|
- src: deploy/systemd/easydns.sysusers
|
|
dst: /usr/lib/sysusers.d/easydns.conf
|
|
- src: config/config.yaml
|
|
dst: /etc/easydns/config.yaml
|
|
type: config|noreplace
|
|
- src: config/root.hints
|
|
dst: /etc/easydns/root.hints
|
|
type: config|noreplace
|
|
- src: target/man/easydns.1
|
|
dst: /usr/share/man/man1/easydns.1
|
|
scripts:
|
|
postinstall: deploy/packaging/postinstall.sh
|