1 # Template file for 'ndhc'
6 make_dirs="/var/lib/ndhc/state 0755 root root
7 /var/lib/ndhc/jail/dev 0755 root root"
8 hostmakedepends="ragel"
9 makedepends="libcap-devel"
10 short_desc="Privilege-seperated secure DHCPv4 client"
11 maintainer="Leah Neukirchen <leah@vuxu.org>"
12 license="2-clause-BSD"
13 homepage="https://github.com/niklata/ndhc"
14 nocross=yes # needs heavy CMakeLists patching
15 _ndhcsum=e08d3b15b53f54ae47993e229bfd40ed3d643f86
16 _libsum=fb9ee14a9e343d83fcf9d761de719d8410168e71
17 distfiles="https://github.com/niklata/ndhc/archive/$_ndhcsum.tar.gz
18 https://github.com/niklata/ncmlib/archive/$_libsum.tar.gz"
19 checksum="704dd0f9a340b7e3faaf054c119832d749525d83b3364114151a88853ea6ae53
20 6b47f624f17616dbebfec223b1b57c745e6d6dbd5d678ee898666651f37e1355"
21 wrksrc="ndhc-$_ndhcsum"
23 # XXX we use only one account for privsep, not three, because they
24 # should have the same primary group. to be verified.
25 system_accounts="ndhc"
26 ndhc_homedir="/var/lib/ndhc/jail"
28 build_options="static"
29 if [ "$build_option_static" ]; then
34 mv $XBPS_BUILDDIR/ncmlib-* $wrksrc/ncmlib