dhcp: update to 4.3.3.

This commit is contained in:
Juan RP 2016-01-11 20:20:32 +01:00
parent 79d89a1c3f
commit ad13f6e60c
2 changed files with 6 additions and 14 deletions

View File

@ -1,13 +1,3 @@
--- dst/dst_internal.h
+++ dst/dst_internal.h
@@ -20,6 +20,7 @@
*/
#include <limits.h>
#include <sys/param.h>
+#include <sys/types.h>
#ifndef PATH_MAX
# ifdef POSIX_PATH_MAX
--- includes/arpa/nameser.h
+++ includes/arpa/nameser.h
@@ -61,6 +61,8 @@

View File

@ -1,16 +1,18 @@
# Template file for 'dhcp'
pkgname=dhcp
version=4.3.2
revision=5
version=4.3.3
revision=1
build_style=gnu-configure
disable_parallel_build=yes
hostmakedepends="perl"
makedepends="bind-devel"
conf_files="/etc/dhcpd.conf"
short_desc="Server from the Internet Software Consortium's implementation of DHCP"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="ISC"
homepage="https://www.isc.org/software/dhcp"
distfiles="http://ftp.isc.org/isc/dhcp/${version}/dhcp-${version}.tar.gz"
checksum=6246c9b358759f6cdcc45104caaf76e732a211dbbbbf64a21f499c8db1298165
checksum=553c4945b09b1c1b904c4780f34f72aaefa2fc8c6556715de0bc9d4e3d255ede
pre_configure() {
local _args=" --sbindir=/usr/bin --enable-paranoia
@ -21,7 +23,7 @@ pre_configure() {
local cargs="$(echo $configure_args | tr '\n' ' ')"
# patching bind Makefile to patch with a cross fix while building (WTF?!)
sed -i "s#./configure#patch -p0 < $FILESDIR/003_cross_fix.patch \&\& ./configure --with-randomdev=/dev/urandom $cargs#" bind/Makefile
sed -i "s#./configure#patch -p0 < $FILESDIR/003_cross_fix.patch \&\& ./configure --with-randomdev=/dev/random $cargs#" bind/Makefile.in
# set real configure_args
export configure_args+="${_args}"