Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns/
Date: Mon, 26 Mar 2018 19:33:24
Message-Id: 1522092790.11122d424ed9dbb56a81dbc339cbb8d8be445e9a.mgorny@gentoo
1 commit: 11122d424ed9dbb56a81dbc339cbb8d8be445e9a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 26 22:21:07 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 26 19:33:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11122d42
7
8 net-dns/pdns: [QA] Use standard meaning of USE=luajit
9
10 Fix the package to use standard meaning for USE=luajit instead of making
11 it exclusive with USE=lua.
12
13 net-dns/pdns/metadata.xml | 1 -
14 net-dns/pdns/pdns-4.0.5.ebuild | 12 +++++++-----
15 net-dns/pdns/pdns-4.1.0.ebuild | 12 +++++++-----
16 net-dns/pdns/pdns-4.1.1.ebuild | 12 +++++++-----
17 4 files changed, 21 insertions(+), 16 deletions(-)
18
19 diff --git a/net-dns/pdns/metadata.xml b/net-dns/pdns/metadata.xml
20 index 36c754fdabc..57e0d147b33 100644
21 --- a/net-dns/pdns/metadata.xml
22 +++ b/net-dns/pdns/metadata.xml
23 @@ -12,7 +12,6 @@ standards documents. Furthermore, PowerDNS interfaces with almost any database.
24 </longdescription>
25 <use>
26 <flag name="botan">Make it possible to use the <pkg>dev-libs/botan</pkg> library for crypto-related stuff (like DNSSec) which can be significantly faster than PolarSSL.</flag>
27 - <flag name="luajit">Enable support for <pkg>dev-lang/luajit</pkg></flag>
28 <flag name="mydns">Making it possible to use a MyDNS MySQL database with PowerDNS (not recommended for new deployments).</flag>
29 <flag name="opendbx">Use a database supported by <pkg>dev-db/opendbx</pkg> as backend.</flag>
30 <flag name="protobuf">Enable support for <pkg>dev-libs/protobuf</pkg>.</flag>
31
32 diff --git a/net-dns/pdns/pdns-4.0.5.ebuild b/net-dns/pdns/pdns-4.0.5.ebuild
33 index 90ac1b5b330..bd6f0e93330 100644
34 --- a/net-dns/pdns/pdns-4.0.5.ebuild
35 +++ b/net-dns/pdns/pdns-4.0.5.ebuild
36 @@ -20,15 +20,17 @@ KEYWORDS="amd64 x86"
37
38 IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test"
39
40 -REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )"
41 +REQUIRED_USE="mydns? ( mysql )"
42
43 RDEPEND="
44 libressl? ( dev-libs/libressl:= )
45 !libressl? ( dev-libs/openssl:= )
46 >=dev-libs/boost-1.35:=
47 botan? ( dev-libs/botan:2= )
48 - lua? ( dev-lang/lua:= )
49 - luajit? ( dev-lang/luajit:= )
50 + lua? (
51 + !luajit? ( dev-lang/lua:= )
52 + luajit? ( dev-lang/luajit:= )
53 + )
54 mysql? ( virtual/mysql )
55 postgres? ( dev-db/postgresql:= )
56 ldap? ( >=net-nds/openldap-2.0.27-r4 )
57 @@ -74,8 +76,8 @@ src_configure() {
58 $(use_enable test unit-tests) \
59 $(use_enable tools) \
60 $(use_enable systemd) \
61 - $(use_with lua) \
62 - $(use_with luajit) \
63 + $(usex lua "$(use_with !luajit lua) $(use_with luajit)" \
64 + '--without-lua --without-luajit') \
65 $(use_with protobuf) \
66 ${myconf}
67 }
68
69 diff --git a/net-dns/pdns/pdns-4.1.0.ebuild b/net-dns/pdns/pdns-4.1.0.ebuild
70 index 476a969f8a9..60d5320f505 100644
71 --- a/net-dns/pdns/pdns-4.1.0.ebuild
72 +++ b/net-dns/pdns/pdns-4.1.0.ebuild
73 @@ -20,15 +20,17 @@ KEYWORDS="~amd64 ~x86"
74
75 IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sodium sqlite systemd tools tinydns test"
76
77 -REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )"
78 +REQUIRED_USE="mydns? ( mysql )"
79
80 RDEPEND="
81 libressl? ( dev-libs/libressl:= )
82 !libressl? ( dev-libs/openssl:= )
83 >=dev-libs/boost-1.35:=
84 botan? ( dev-libs/botan:2= )
85 - lua? ( dev-lang/lua:= )
86 - luajit? ( dev-lang/luajit:= )
87 + lua? (
88 + !luajit? ( dev-lang/lua:= )
89 + luajit? ( dev-lang/luajit:= )
90 + )
91 mysql? ( virtual/mysql )
92 postgres? ( dev-db/postgresql:= )
93 ldap? ( >=net-nds/openldap-2.0.27-r4 app-crypt/mit-krb5 )
94 @@ -74,8 +76,8 @@ src_configure() {
95 $(use_enable tools) \
96 $(use_enable systemd) \
97 $(use_enable sodium libsodium) \
98 - $(use_with lua) \
99 - $(use_with luajit) \
100 + $(usex lua "$(use_with !luajit lua) $(use_with luajit)" \
101 + '--without-lua --without-luajit') \
102 $(use_with protobuf) \
103 ${myconf}
104 }
105
106 diff --git a/net-dns/pdns/pdns-4.1.1.ebuild b/net-dns/pdns/pdns-4.1.1.ebuild
107 index 7ec5508cb26..1dd30fc1895 100644
108 --- a/net-dns/pdns/pdns-4.1.1.ebuild
109 +++ b/net-dns/pdns/pdns-4.1.1.ebuild
110 @@ -20,15 +20,17 @@ KEYWORDS="~amd64 ~x86"
111
112 IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sodium sqlite systemd tools tinydns test"
113
114 -REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )"
115 +REQUIRED_USE="mydns? ( mysql )"
116
117 RDEPEND="
118 libressl? ( dev-libs/libressl:= )
119 !libressl? ( dev-libs/openssl:= )
120 >=dev-libs/boost-1.35:=
121 botan? ( dev-libs/botan:2= )
122 - lua? ( dev-lang/lua:= )
123 - luajit? ( dev-lang/luajit:= )
124 + lua? (
125 + !luajit? ( dev-lang/lua:= )
126 + luajit? ( dev-lang/luajit:= )
127 + )
128 mysql? ( virtual/mysql )
129 postgres? ( dev-db/postgresql:= )
130 ldap? ( >=net-nds/openldap-2.0.27-r4 app-crypt/mit-krb5 )
131 @@ -74,8 +76,8 @@ src_configure() {
132 $(use_enable tools) \
133 $(use_enable systemd) \
134 $(use_enable sodium libsodium) \
135 - $(use_with lua) \
136 - $(use_with luajit) \
137 + $(usex lua "$(use_with !luajit lua) $(use_with luajit)" \
138 + '--without-lua --without-luajit') \
139 $(use_with protobuf) \
140 ${myconf}
141 }