ndhc: update to 20170224.

This commit is contained in:
Leah Neukirchen 2017-02-27 14:31:21 +01:00
parent 49e6a022fa
commit b72b4bcbeb
1 changed files with 10 additions and 11 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'ndhc'
pkgname=ndhc
version=20160506
version=20170224
revision=1
build_style=cmake
make_dirs="/var/lib/ndhc/state 0755 root root
@ -8,10 +8,17 @@ make_dirs="/var/lib/ndhc/state 0755 root root
hostmakedepends="ragel"
makedepends="libcap-devel"
short_desc="Privilege-seperated secure DHCPv4 client"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="2-clause-BSD"
homepage="https://github.com/niklata/ndhc"
nocross=yes # needs heavy CMakeLists patching
_ndhcsum=2a26acacdd61671f5440a5c1d361c1da4ce60a0e
_libsum=6c9f48031a5408eb6775f86e9f86e5d5f2895ed1
distfiles="https://github.com/niklata/ndhc/archive/$_ndhcsum.tar.gz
https://github.com/niklata/ncmlib/archive/$_libsum.tar.gz"
checksum="45f7edddd5c42fa2c5f5f5943a1c789895f0deccb82bb2fd4fff70493d10148b
1ff1e8a6159337093ea45d512460ab8ffa41e3b893ae838bcb203bd730b37a3f"
wrksrc="ndhc-$_ndhcsum"
# XXX we use only one account for privsep, not three, because they
# should have the same primary group. to be verified.
@ -23,14 +30,6 @@ if [ "$build_option_static" ]; then
LDFLAGS+=" -static"
fi
_ndhcsum=1fc7bd31448a284b8b3dc7ade5436d586de06fb5
_libsum=6c9f48031a5408eb6775f86e9f86e5d5f2895ed1
distfiles="https://github.com/niklata/ndhc/archive/$_ndhcsum.tar.gz
https://github.com/niklata/ncmlib/archive/$_libsum.tar.gz"
checksum="1b819e96aa8a63eee2f4417a8fd0e9d2d4b3e6fb427ec5b376eea1e4818943fd 1ff1e8a6159337093ea45d512460ab8ffa41e3b893ae838bcb203bd730b37a3f"
wrksrc="ndhc-$_ndhcsum"
post_extract() {
mv $XBPS_BUILDDIR/ncmlib-* $wrksrc/ncmlib
}