diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/ldns/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/ldns/MAKEPKG')
| -rw-r--r-- | opt/ldns/MAKEPKG | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/opt/ldns/MAKEPKG b/opt/ldns/MAKEPKG new file mode 100644 index 0000000..f2cd7d1 --- /dev/null +++ b/opt/ldns/MAKEPKG @@ -0,0 +1,46 @@ +#!/bin/mkpkg +# description: DNS library with drill DNS query tool (dig replacement) +# url: https://www.nlnetlabs.nl/projects/ldns/ + +name=ldns +version=1.9.2 +release=1 +depends=(libressl) +source=(https://www.nlnetlabs.nl/downloads/ldns/$name-$version.tar.gz) +sha256sums=( + "b524fa21994b6e834200ceb8c27f1b84bda5982fe35706f058196c079db94d5d" +) + +build() { + cd $name-$version + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-rpath \ + --disable-shared \ + --disable-dane-ta-usage \ + --disable-gost \ + --with-drill \ + --with-ssl=/ \ + --without-pyldns \ + --without-examples + make + make DESTDIR=$PKG install + + # Remove libtool archive + rm -f $PKG/usr/lib/libldns.la + + # Remove docs + rm -rf $PKG/usr/share/doc + + # drill is the main tool - ensure man page is installed + install -d $PKG/usr/share/man/man1 + install -m 644 drill/drill.1 $PKG/usr/share/man/man1/ 2>/dev/null || true +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
