bind: update to 9.10.4P6.

Allow getrandom(2) from seccomp.
This commit is contained in:
Leah Neukirchen 2017-02-09 17:52:48 +01:00
parent 77fe619116
commit 1f6bb398e8
2 changed files with 37 additions and 3 deletions

View file

@ -0,0 +1,34 @@
--- bin/named/include/named/seccomp.h.orig
+++ bin/named/include/named/seccomp.h
@@ -58,6 +58,7 @@
SCMP_SYS(fstat),
SCMP_SYS(epoll_ctl),
SCMP_SYS(gettimeofday),
+ SCMP_SYS(getrandom),
SCMP_SYS(unlink),
SCMP_SYS(socket),
SCMP_SYS(sendto),
@@ -121,6 +122,7 @@
"fstat",
"epoll_ctl",
"gettimeofday",
+ "getrandom",
"unlink",
"socket",
"sendto",
@@ -190,6 +192,7 @@
SCMP_SYS(fstat64),
SCMP_SYS(epoll_ctl),
SCMP_SYS(gettimeofday),
+ SCMP_SYS(getrandom),
SCMP_SYS(unlink),
#ifndef ISC_PLATFORM_USETHREADS
SCMP_SYS(fcntl64),
@@ -226,6 +229,7 @@
"fstat64",
"epoll_ctl",
"gettimeofday",
+ "getrandom",
"unlink",
#ifndef ISC_PLATFORM_USETHREADS
"fcntl64",

View file

@ -1,16 +1,16 @@
# Template file for 'bind'
pkgname=bind
_distver=9.10.4
_patchver=P3
_patchver=P6
version="${_distver}${_patchver}"
revision=3
revision=1
wrksrc="${pkgname}-${_distver}-${_patchver}"
short_desc="Berkeley Internet Name Domain server"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="http://www.isc.org/software/bind/"
distfiles="http://ftp.isc.org/isc/bind9/${_distver}-${_patchver}/bind-${_distver}-${_patchver}.tar.gz"
checksum=a075e5ce89fddccb0e64d1777d59161387dd5151cf4e7d1a93875a487812baef
checksum=a1dfbfd1d11cb52f2d9e5af0def25763798bda243841722dd0b319086a73ee65
build_options="geoip seccomp"
build_options_default="geoip"