diff --git a/srcpkgs/ndhc/template b/srcpkgs/ndhc/template index 0dc34f466dc..01173c8477a 100644 --- a/srcpkgs/ndhc/template +++ b/srcpkgs/ndhc/template @@ -1,7 +1,8 @@ # Template file for 'ndhc' pkgname=ndhc -version=20180218 -revision=2 +version=20201020 +revision=1 +_dashversion=2020-10-20 build_style=cmake make_dirs="/var/lib/ndhc/state 0755 root root /var/lib/ndhc/jail/dev 0755 root root" @@ -11,13 +12,9 @@ short_desc="Privilege-seperated secure DHCPv4 client" maintainer="Leah Neukirchen <leah@vuxu.org>" license="BSD-2-Clause" homepage="https://github.com/niklata/ndhc" -_ndhcsum=e08d3b15b53f54ae47993e229bfd40ed3d643f86 -_libsum=fb9ee14a9e343d83fcf9d761de719d8410168e71 -distfiles="https://github.com/niklata/ndhc/archive/$_ndhcsum.tar.gz - https://github.com/niklata/ncmlib/archive/$_libsum.tar.gz" -checksum="704dd0f9a340b7e3faaf054c119832d749525d83b3364114151a88853ea6ae53 - 6b47f624f17616dbebfec223b1b57c745e6d6dbd5d678ee898666651f37e1355" -wrksrc="ndhc-$_ndhcsum" +distfiles="https://github.com/niklata/ndhc/archive/v${_dashversion}.tar.gz" +checksum=ca5a37afc3f30c9fd110e97339a10b3c8ed08ae6cad388cec6bdd7f3bb146da0 +wrksrc="ndhc-${_dashversion}" # XXX we use only one account for privsep, not three, because they # should have the same primary group. to be verified. @@ -29,12 +26,8 @@ if [ "$build_option_static" ]; then LDFLAGS+=" -static" fi -post_extract() { - mv $XBPS_BUILDDIR/ncmlib-* $wrksrc/ncmlib -} - do_install() { - vbin build/src/ndhc + vbin build/ndhc vman src/ndhc.8 vsv ndhc vlicense LICENSE