Date: Friday, February 24, 2017 @ 08:04:28 Author: bisson Revision: 213685
upstream update Modified: unbound/trunk/PKGBUILD ----------+ PKGBUILD | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-02-24 07:43:05 UTC (rev 213684) +++ PKGBUILD 2017-02-24 08:04:28 UTC (rev 213685) @@ -4,8 +4,8 @@ # Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service> pkgname=unbound -pkgver=1.6.0 -pkgrel=3 +pkgver=1.6.1 +pkgrel=1 pkgdesc='Validating, recursive, and caching DNS resolver' url='https://unbound.net/' license=('custom:BSD') @@ -19,8 +19,7 @@ 'service' 'hook' 'conf') -sha1sums=('9b7606b016b447dc837efc108cee94f3fecf4ede' - 'SKIP' +sha1sums=('41369fcfd37844b02b7293b37ec78e69f0db34c7' 'SKIP' 'b543ae6f8b87423bec095fca6b335a9ee43739a8' '098d680a06e730330e3ccbdd58234d07ad1837dc' '98515708441cb831890a0b6d1986fd40649646c0') @@ -29,6 +28,11 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" + + # Build against embedded flex instead of system one, see: + # https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=1223 + export LEX=: + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -35,12 +39,12 @@ --localstatedir=/var \ --sbindir=/usr/bin \ --disable-rpath \ - --with-libevent \ - --with-rootkey-file=/etc/trusted-key.key \ + --enable-pie \ + --enable-relro-now \ --with-conf-file=/etc/unbound/unbound.conf \ --with-pidfile=/run/unbound.pid \ - --enable-relro-now \ - --enable-pie \ + --with-rootkey-file=/etc/trusted-key.key \ + --with-libevent \ make }
