From b6c4de117f81c4614a793638fb83d187896d1b28 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 31 Jan 2014 18:20:48 +0100 Subject: [PATCH] bind: update to 9.9.5. --- srcpkgs/bind/template | 47 ++++++++++++++----------------------------- 1 file changed, 15 insertions(+), 32 deletions(-) diff --git a/srcpkgs/bind/template b/srcpkgs/bind/template index d62a45fe5eb..8b8b9a2b7f6 100644 --- a/srcpkgs/bind/template +++ b/srcpkgs/bind/template @@ -1,21 +1,24 @@ # Template file for 'bind' pkgname=bind -_distver=9.9.4 -_patchver=P2 -version=${_distver}${_patchver} -wrksrc=${pkgname}-${_distver}-${_patchver} +#_distver=9.9.4 +#_patchver=P2 +#version=${_distver}${_patchver} +#wrksrc=${pkgname}-${_distver}-${_patchver} +version=9.9.5 revision=1 short_desc="Berkeley Internet Name Domain server" maintainer="Juan RP " license="ISC" homepage="http://www.isc.org/software/bind/" -distfiles="http://ftp.isc.org/isc/bind9/${_distver}-${_patchver}/bind-${_distver}-${_patchver}.tar.gz" -checksum=50f3c6431e26d3f322b69092a49c92e163e73029fe4a1933ce532dc97ec40a89 -long_desc=" - BIND is by far the most widely used DNS software on the Internet. It provides - a robust and stable platform on top of which organizations can build - distributed computing systems with the knowledge that those systems are fully - compliant with published DNS standards." +distfiles="http://ftp.isc.org/isc/bind9/${version}/bind-${version}.tar.gz" +checksum=d4b64c1dde442145a316679acff2df4008aa117ae52dfa3a6bc69efecc7840d1 + +build_style=gnu-configure +configure_args="--disable-static --enable-threads --enable-largefile + --with-libtool --enable-atomic --sysconfdir=/etc/named --enable-epoll --with-gost=no + --enable-ipv6 --with-randomdev=/dev/urandom --with-ecdsa=yes --with-libtool + --with-openssl=$XBPS_CROSS_BASE/usr --with-gssapi=$XBPS_CROSS_BASE/usr + --with-libxml2=$XBPS_CROSS_BASE/usr" hostmakedepends="automake libtool perl libxml2-devel" makedepends="openssl-devel mit-krb5-devel libxml2-devel libcap-devel readline-devel shadow" @@ -35,27 +38,7 @@ pre_configure() { autoreconf -fi } -do_configure() { - if [ "$CROSS_BUILD" ]; then - configure_args+=" --with-openssl=$XBPS_CROSS_BASE - --with-gssapi=$XBPS_CROSS_BASE - --with-libxml2=$XBPS_CROSS_BASE" - fi - - ./configure ${configure_args} --disable-static \ - --enable-threads --enable-largefile \ - --with-libtool --enable-atomic --sysconfdir=/etc/named \ - --enable-epoll --with-gost=no --enable-ipv6 \ - --with-randomdev=/dev/urandom --with-ecdsa=yes -} - -do_build() { - make ${makejobs} -} - -do_install() { - make DESTDIR=$DESTDIR install - +post_install() { vinstall ${FILESDIR}/named.service 644 usr/lib/systemd/system vinstall ${FILESDIR}/named.logrotate 600 etc/logrotate.d named vinstall ${FILESDIR}/named.conf 640 etc/named