mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-23 12:15:11 +02:00
New package: nsd-4.1.3
This commit is contained in:
parent
9c4eab2499
commit
3870305206
2 changed files with 27 additions and 0 deletions
3
srcpkgs/nsd/files/nsd/run
Executable file
3
srcpkgs/nsd/files/nsd/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
install -d -m 0755 -o nsd -g nsd /run/nsd
|
||||||
|
exec nsd -d 2>/dev/null
|
24
srcpkgs/nsd/template
Normal file
24
srcpkgs/nsd/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'nsd'
|
||||||
|
pkgname=nsd
|
||||||
|
version=4.1.3
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
build_pie=yes
|
||||||
|
configure_args="--enable-ratelimit"
|
||||||
|
makedepends="libevent-devel libressl-devel"
|
||||||
|
system_accounts="nsd"
|
||||||
|
nsd_homedir="/var/db/nsd"
|
||||||
|
make_dirs="/var/db/nsd 0755 nsd nsd"
|
||||||
|
short_desc="Authoritative only, high performance and simple DNS server"
|
||||||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
|
license="BSD"
|
||||||
|
homepage="http://www.nlnetlabs.nl/projects/nsd/"
|
||||||
|
distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=097cb295cdd3e8a73a8afac343caf0fca11b72b2214b022689ddc423312d17e5
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv nsd
|
||||||
|
vlicense LICENSE
|
||||||
|
rm -f ${DESTDIR}/etc/nsd/nsd.conf.sample
|
||||||
|
vsconf nsd.conf.sample
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue