From e0321a21770beb2917d0a2e5c0a6712c907158cc Mon Sep 17 00:00:00 2001 From: bugcrazy <39757967+bugcrazy@users.noreply.github.com> Date: Tue, 26 Jul 2022 21:26:24 -0300 Subject: [PATCH] New package: delphinusdnsd-1.5.3 --- srcpkgs/delphinusdnsd/template | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 srcpkgs/delphinusdnsd/template diff --git a/srcpkgs/delphinusdnsd/template b/srcpkgs/delphinusdnsd/template new file mode 100644 index 000000000000..96a011dea794 --- /dev/null +++ b/srcpkgs/delphinusdnsd/template @@ -0,0 +1,39 @@ +# Template file for 'delphinusdnsd' +pkgname=delphinusdnsd +version=1.5.3 +revision=1 +_delphinusdnsVersion=1_5_3 +wrksrc="${pkgname}-RELEASE_${_delphinusdnsVersion}" +build_style=configure +configure_script="./configure" +conf_files="/etc/delphinusdns/delphinusdns.conf" +hostmakedepends="mk-configure bison" +makedepends="openssl-devel libbsd-devel" +short_desc="Delphinusdns is a small authoritative nameserver" +maintainer="MarcoAPC " +license="BSD-3-Clause" +homepage="https://delphinusdns.org" +distfiles="https://github.com/delphinusdns/${pkgname}/archive/RELEASE_${_delphinusdnsVersion}.tar.gz" +checksum=0cd11f04ddb8743ac1efaba280fe44e5d33089cda995c1bbe24b1d189ebb13d5 + +system_accounts="_ddd" + +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + +do_install() { + vbin dddctl/dddctl + vbin delphinusdnsd/delphinusdnsd + vmkdir etc/delphinusdns/ + vmkdir usr/share/examples/delphinusdnsd + mv examples/Master/* ${DESTDIR}/usr/share/examples/delphinusdnsd + mv examples/Replicant/* ${DESTDIR}/usr/share/examples/delphinusdnsd + chmod 0644 ${DESTDIR}/usr/share/examples/delphinusdnsd/* + vinstall delphinusdns.conf 0644 etc/delphinusdns/ + vman delphinusdns.conf.5 + vman delphinusdnsd.8 + vman dddctl.8 + sed -n '2,25p' < ddd-dns.h > LICENSE.BSD-3-Clause + vlicense LICENSE.BSD-3-Clause +}