1 |
commit: 1f80400cb6fa7db95c34495a165c820e13182669 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 08:54:58 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 08:54:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f80400c |
7 |
|
8 |
net-dns/nsd: ebuild code refactoring. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-dns/nsd/nsd-4.1.14.ebuild | 51 ++++++++++++++++++++++++------------------- |
13 |
1 file changed, 28 insertions(+), 23 deletions(-) |
14 |
|
15 |
diff --git a/net-dns/nsd/nsd-4.1.14.ebuild b/net-dns/nsd/nsd-4.1.14.ebuild |
16 |
index 3719d0f..aa80470 100644 |
17 |
--- a/net-dns/nsd/nsd-4.1.14.ebuild |
18 |
+++ b/net-dns/nsd/nsd-4.1.14.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
@@ -23,7 +23,10 @@ IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit ro |
26 |
RDEPEND=" |
27 |
virtual/yacc |
28 |
libevent? ( dev-libs/libevent ) |
29 |
- ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) ) |
30 |
+ ssl? ( |
31 |
+ !libressl? ( dev-libs/openssl:0= ) |
32 |
+ libressl? ( dev-libs/libressl:= ) |
33 |
+ ) |
34 |
munin? ( net-analyzer/munin ) |
35 |
" |
36 |
DEPEND=" |
37 |
@@ -38,28 +41,30 @@ src_prepare() { |
38 |
} |
39 |
|
40 |
src_configure() { |
41 |
- econf \ |
42 |
- --enable-pie \ |
43 |
- --enable-relro-now \ |
44 |
- --enable-largefile \ |
45 |
- --with-logfile="${EPREFIX}"/var/log/nsd.log \ |
46 |
- --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid \ |
47 |
- --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db \ |
48 |
- --with-xfrdir="${EPREFIX}"/var/db/nsd \ |
49 |
- --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state \ |
50 |
- --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list \ |
51 |
- --with-zonesdir="${EPREFIX}"/var/lib/nsd \ |
52 |
- $(use_enable bind8-stats) \ |
53 |
- $(use_enable bind8-stats zone-stats) \ |
54 |
- $(use_enable ipv6) \ |
55 |
- $(use_enable minimal-responses) \ |
56 |
- $(use_enable mmap) \ |
57 |
- $(use_enable nsec3) \ |
58 |
- $(use_enable ratelimit) \ |
59 |
- $(use_enable root-server) \ |
60 |
- $(use_enable runtime-checks checking) \ |
61 |
- $(use_with libevent) \ |
62 |
+ myeconfargs=( |
63 |
+ --enable-pie |
64 |
+ --enable-relro-now |
65 |
+ --enable-largefile |
66 |
+ --with-logfile="${EPREFIX}"/var/log/nsd.log |
67 |
+ --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid |
68 |
+ --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db |
69 |
+ --with-xfrdir="${EPREFIX}"/var/db/nsd |
70 |
+ --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state |
71 |
+ --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list |
72 |
+ --with-zonesdir="${EPREFIX}"/var/lib/nsd |
73 |
+ $(use_enable bind8-stats) |
74 |
+ $(use_enable bind8-stats zone-stats) |
75 |
+ $(use_enable ipv6) |
76 |
+ $(use_enable minimal-responses) |
77 |
+ $(use_enable mmap) |
78 |
+ $(use_enable nsec3) |
79 |
+ $(use_enable ratelimit) |
80 |
+ $(use_enable root-server) |
81 |
+ $(use_enable runtime-checks checking) |
82 |
+ $(use_with libevent) |
83 |
$(use_with ssl) |
84 |
+ ) |
85 |
+ econf "${myeconfargs[@]}" |
86 |
} |
87 |
|
88 |
src_install() { |