commit:     bcacc1b10859dd4bcee4c494378eba8b2dc1b173
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  5 10:45:32 2023 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Mon Jun  5 11:03:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcacc1b1

net-dns/pdns: remove lua USE flag, bug #907676

Besides the lua backend, pdns always requires lua for internal functions.

Closes: https://bugs.gentoo.org/907676
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 net-dns/pdns/pdns-4.7.4.ebuild | 4 ++--
 net-dns/pdns/pdns-4.8.0.ebuild | 9 ++++-----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/net-dns/pdns/pdns-4.7.4.ebuild b/net-dns/pdns/pdns-4.7.4.ebuild
index d5fc1d607c57..a488c22893d4 100644
--- a/net-dns/pdns/pdns-4.7.4.ebuild
+++ b/net-dns/pdns/pdns-4.7.4.ebuild
@@ -23,9 +23,9 @@ KEYWORDS="amd64 x86"
 IUSE="debug doc geoip ldap lmdb lua-records mysql postgres remote sodium 
sqlite systemd tools tinydns test"
 RESTRICT="!test? ( test )"
 
-REQUIRED_USE="lua-records? ( ${LUA_REQUIRED_USE} )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
 
-DEPEND="lua-records? ( ${LUA_DEPS} )
+DEPEND="${LUA_DEPS}
        dev-libs/openssl:=
        dev-libs/boost:=
        lmdb? ( >=dev-db/lmdb-0.9.29 )

diff --git a/net-dns/pdns/pdns-4.8.0.ebuild b/net-dns/pdns/pdns-4.8.0.ebuild
index 5640b0019192..f4cd9f633ea0 100644
--- a/net-dns/pdns/pdns-4.8.0.ebuild
+++ b/net-dns/pdns/pdns-4.8.0.ebuild
@@ -16,12 +16,12 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-IUSE="debug doc geoip ldap lmdb lua lua-records mysql odbc postgres remote 
sodium sqlite systemd tools tinydns test"
+IUSE="debug doc geoip ldap lmdb lua-records mysql odbc postgres remote sodium 
sqlite systemd tools tinydns test"
 RESTRICT="!test? ( test )"
 
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) lua-records? ( lua )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
 
-DEPEND="lua? ( ${LUA_DEPS} )
+DEPEND="${LUA_DEPS}
        dev-libs/openssl:=
        dev-libs/boost:=
        lmdb? ( >=dev-db/lmdb-0.9.29 )
@@ -52,12 +52,11 @@ pkg_setup() {
 }
 
 src_configure() {
-       local cnf_dynmodules="pipe bind" # the default backends, always enabled
+       local cnf_dynmodules="bind lua2 pipe" # the default backends, always 
enabled
 
        use geoip && cnf_dynmodules+=" geoip"
        use ldap && cnf_dynmodules+=" ldap"
        use lmdb && cnf_dynmodules+=" lmdb"
-       use lua && cnf_dynmodules+=" lua2"
        use mysql && cnf_dynmodules+=" gmysql"
        use odbc && cnf_dynmodules+=" godbc"
        use postgres && cnf_dynmodules+=" gpgsql"

Reply via email to