mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
ndhc: update to 20220308.
This commit is contained in:
parent
d3ad6fa53a
commit
f5e472c354
1 changed files with 13 additions and 11 deletions
|
@ -1,20 +1,22 @@
|
||||||
# Template file for 'ndhc'
|
# Template file for 'ndhc'
|
||||||
pkgname=ndhc
|
pkgname=ndhc
|
||||||
version=20201020
|
version=20220308
|
||||||
revision=1
|
revision=1
|
||||||
_dashversion=2020-10-20
|
_dashversion="${version:0:4}-${version:4:2}-${version:6:2}"
|
||||||
build_style=cmake
|
wrksrc="ndhc-${_dashversion}"
|
||||||
make_dirs="/var/lib/ndhc/state 0755 root root
|
build_style=gnu-makefile
|
||||||
|
make_dirs="
|
||||||
|
/var/lib/ndhc/state 0755 root root
|
||||||
/var/lib/ndhc/jail/dev 0755 root root"
|
/var/lib/ndhc/jail/dev 0755 root root"
|
||||||
hostmakedepends="ragel"
|
|
||||||
makedepends="libcap-devel"
|
makedepends="libcap-devel"
|
||||||
short_desc="Privilege-seperated secure DHCPv4 client"
|
short_desc="Privilege-seperated secure DHCPv4 client"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
license="BSD-2-Clause"
|
license="MIT"
|
||||||
homepage="https://github.com/niklata/ndhc"
|
homepage="https://github.com/niklata/ndhc"
|
||||||
distfiles="https://github.com/niklata/ndhc/archive/v${_dashversion}.tar.gz"
|
distfiles="https://github.com/niklata/ndhc/archive/v${_dashversion}.tar.gz"
|
||||||
checksum=ca5a37afc3f30c9fd110e97339a10b3c8ed08ae6cad388cec6bdd7f3bb146da0
|
checksum=30f595b7c1cc2e60599b8c6aa82e0b1ee4ef2243a67fcebf812b60746db7de4d
|
||||||
wrksrc="ndhc-${_dashversion}"
|
|
||||||
|
export CFLAGS="-std=gnu99 -D_GNU_SOURCE -DNK_USE_CAPABILITY"
|
||||||
|
|
||||||
# XXX we use only one account for privsep, not three, because they
|
# XXX we use only one account for privsep, not three, because they
|
||||||
# should have the same primary group. to be verified.
|
# should have the same primary group. to be verified.
|
||||||
|
@ -27,8 +29,8 @@ if [ "$build_option_static" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin build/ndhc
|
vbin ndhc
|
||||||
vman src/ndhc.8
|
vman ndhc.8
|
||||||
vsv ndhc
|
vsv ndhc
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue