From c851b3686e101c085f3080976ff99183e4e73557 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 6 Jul 2014 17:52:29 +0200 Subject: [PATCH] New package: unbound-1.4.22 --- srcpkgs/unbound-devel | 1 + srcpkgs/unbound/files/unbound.conf | 3 +++ srcpkgs/unbound/template | 32 ++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 120000 srcpkgs/unbound-devel create mode 100644 srcpkgs/unbound/files/unbound.conf create mode 100644 srcpkgs/unbound/template diff --git a/srcpkgs/unbound-devel b/srcpkgs/unbound-devel new file mode 120000 index 00000000000..f53a1fd5a8d --- /dev/null +++ b/srcpkgs/unbound-devel @@ -0,0 +1 @@ +unbound \ No newline at end of file diff --git a/srcpkgs/unbound/files/unbound.conf b/srcpkgs/unbound/files/unbound.conf new file mode 100644 index 00000000000..3c604848553 --- /dev/null +++ b/srcpkgs/unbound/files/unbound.conf @@ -0,0 +1,3 @@ +server: + use-syslog: yes + diff --git a/srcpkgs/unbound/template b/srcpkgs/unbound/template new file mode 100644 index 00000000000..a05c2fe06e4 --- /dev/null +++ b/srcpkgs/unbound/template @@ -0,0 +1,32 @@ +# Template file for 'unbound' +pkgname=unbound +version=1.4.22 +revision=1 +build_style=gnu-configure +configure_args="--with-libevent --with-conf-file=/etc/unbound/unbound.conf + --with-pidfile=/run/unbound.pid" +conf_file="/etc/unbound/unbound.conf" +makedepends="openssl-devel expat-devel libevent-devel" +system_accounts="unbound" +short_desc="Validating, recursive, and caching DNS resolver" +maintainer="Christian Neukirchen " +license="BSD" +homepage="http://unbound.net/" +distfiles="http://unbound.net/downloads/${pkgname}-${version}.tar.gz" +checksum=1caf5081b2190ecdb23fc4d998b7999e28640c941f53baff7aee03c092a7d29f + +post_install() { + vsconf doc/example.conf unbound.conf + vinstall ${FILESDIR}/unbound.conf 644 etc/unbound +} + +unbound-devel_package() { + depends="unbound>=$version $makedepends" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/share/man/man3/*.3" + } +} +