/[gentoo-x86]/net-dns/knot/knot-1.0.6-r1.ebuild
Gentoo

Contents of /net-dns/knot/knot-1.0.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Jul 26 14:00:35 2012 UTC (2 years ago) by scarabeus
Branch: MAIN
Revision bump to fix non-root runs. Thanks to Ondrej Caletka for the patch and info about the issue.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 scarabeus 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-dns/knot/knot-1.0.6.ebuild,v 1.1 2012/06/21 18:08:30 scarabeus Exp $
4    
5     EAPI=4
6    
7     inherit eutils autotools
8    
9     DESCRIPTION="High-performance authoritative-only DNS server"
10     HOMEPAGE="http://www.knot-dns.cz/"
11     SRC_URI="http://public.nic.cz/files/knot-dns/${P}.tar.gz"
12    
13     LICENSE="GPL-3"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16     IUSE="debug"
17    
18     RDEPEND="
19     dev-libs/openssl
20     dev-libs/userspace-rcu
21     "
22     # sys-libs/glibc
23     DEPEND="${RDEPEND}
24     virtual/pkgconfig
25     sys-devel/flex
26     virtual/yacc
27     "
28    
29     src_prepare() {
30     epatch \
31     "${FILESDIR}"/${PN}-move-pidfile-to-var.patch \
32     "${FILESDIR}"/${PN}-braindead-lto.patch \
33     "${FILESDIR}"/${P}-userpriv.patch
34     sed -i \
35     -e 's:-Werror::g' \
36     configure.ac || die
37     eautoreconf
38     }
39    
40     src_configure() {
41     econf \
42     --sysconfdir="${EPREFIX}/etc/${PN}" \
43     --libexecdir="${EPREFIX}/usr/libexec/${PN}" \
44     --enable-recvmmsg \
45     $(use_enable debug debug verbose)
46     }
47    
48     src_install() {
49     default
50    
51     newinitd "${FILESDIR}/knot.init" knot-dns
52     }

  ViewVC Help
Powered by ViewVC 1.1.20