From 28efa0d0e545b62d35f361670ea3c07d6ccdcd6e Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 23 Sep 2019 09:26:53 +0200 Subject: net-irc/anope: Improve USE flag naming MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kill meaningless 'anope_modules_' prefix from flags, and replace underscores with hyphens. Closes: https://bugs.gentoo.org/695170 Signed-off-by: Michał Górny --- net-irc/anope/anope-2.0.6.ebuild | 65 ++++++++++++++++++++-------------------- net-irc/anope/metadata.xml | 18 +++++------ 2 files changed, 41 insertions(+), 42 deletions(-) diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild index aba8b1f9d11f..1cf036e12d83 100644 --- a/net-irc/anope/anope-2.0.6.ebuild +++ b/net-irc/anope/anope-2.0.6.ebuild @@ -12,21 +12,20 @@ SRC_URI="https://github.com/anope/anope/releases/download/${PV}/${P}-source.tar. LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="mysql sqlite pcre posix gnutls ssl tre ldap anope_modules_sql_auth - anope_modules_sql_log anope_modules_sql_oper anope_modules_ldap_auth - anope_modules_ldap_oper anope_modules_irc2sql anope_modules_chanstats - anope_modules_cs_fantasy_stats anope_modules_cs_fantasy_top" +IUSE="chanstats cs-fantasy-stats cs-fantasy-top gnutls irc2sql ldap + ldap-auth ldap-oper mysql pcre posix sql-auth sql-log sql-oper + sqlite ssl tre" REQUIRED_USE=" - anope_modules_sql_auth? ( || ( mysql sqlite ) ) - anope_modules_sql_oper? ( mysql ) - anope_modules_sql_log? ( mysql ) - anope_modules_cs_fantasy_stats? ( anope_modules_chanstats mysql ) - anope_modules_cs_fantasy_top? ( anope_modules_chanstats mysql ) - anope_modules_chanstats? ( mysql ) - anope_modules_irc2sql? ( mysql ) - anope_modules_ldap_auth? ( ldap ) - anope_modules_ldap_oper? ( ldap )" + chanstats? ( mysql ) + cs-fantasy-stats? ( chanstats mysql ) + cs-fantasy-top? ( chanstats mysql ) + irc2sql? ( mysql ) + ldap-auth? ( ldap ) + ldap-oper? ( ldap ) + sql-auth? ( || ( mysql sqlite ) ) + sql-log? ( mysql ) + sql-oper? ( mysql )" BDEPEND="sys-devel/gettext" DEPEND="${BDEPEND} @@ -75,26 +74,26 @@ src_prepare() { fi } - anope_use_extra mysql "m_mysql.cpp" - anope_use_extra sqlite "m_sqlite.cpp" - anope_use_extra ssl "m_ssl_openssl.cpp" - anope_use_extra gnutls "m_ssl_gnutls.cpp" - anope_use_extra posix "m_regex_posix.cpp" - anope_use_extra pcre "m_regex_pcre.cpp" - anope_use_extra tre "m_regex_tre.cpp" - anope_use_extra ldap "m_ldap.cpp" - anope_use_extra anope_modules_sql_auth "m_sql_authentication.cpp" - anope_use_extra anope_modules_sql_log "m_sql_log.cpp" - anope_use_extra anope_modules_sql_oper "m_sql_oper.cpp" - anope_use_extra anope_modules_ldap_auth "m_ldap_authentication.cpp" - anope_use_extra anope_modules_ldap_oper "m_ldap_oper.cpp" - anope_use_extra anope_modules_chanstats "stats/m_chanstats.cpp" - anope_use_extra anope_modules_cs_fantasy_top "stats/cs_fantasy_top.cpp" - anope_use_extra anope_modules_cs_fantasy_stats "stats/cs_fantasy_stats.cpp" - anope_use_extra anope_modules_irc2sql "stats/irc2sql/irc2sql.cpp" - anope_use_extra anope_modules_irc2sql "stats/irc2sql/irc2sql.h" - anope_use_extra anope_modules_irc2sql "stats/irc2sql/tables.cpp" - anope_use_extra anope_modules_irc2sql "stats/irc2sql/utils.cpp" + anope_use_extra mysql "m_mysql.cpp" + anope_use_extra sqlite "m_sqlite.cpp" + anope_use_extra ssl "m_ssl_openssl.cpp" + anope_use_extra gnutls "m_ssl_gnutls.cpp" + anope_use_extra posix "m_regex_posix.cpp" + anope_use_extra pcre "m_regex_pcre.cpp" + anope_use_extra tre "m_regex_tre.cpp" + anope_use_extra ldap "m_ldap.cpp" + anope_use_extra sql-auth "m_sql_authentication.cpp" + anope_use_extra sql-log "m_sql_log.cpp" + anope_use_extra sql-oper "m_sql_oper.cpp" + anope_use_extra ldap-auth "m_ldap_authentication.cpp" + anope_use_extra ldap-oper "m_ldap_oper.cpp" + anope_use_extra chanstats "stats/m_chanstats.cpp" + anope_use_extra cs-fantasy-top "stats/cs_fantasy_top.cpp" + anope_use_extra cs-fantasy-stats "stats/cs_fantasy_stats.cpp" + anope_use_extra irc2sql "stats/irc2sql/irc2sql.cpp" + anope_use_extra irc2sql "stats/irc2sql/irc2sql.h" + anope_use_extra irc2sql "stats/irc2sql/tables.cpp" + anope_use_extra irc2sql "stats/irc2sql/utils.cpp" # Avoid a silly sandbox error - tries to delete /usr/lib/modules sed -i '/install.*REMOVE_RECURSE.*/d' CMakeLists.txt || die diff --git a/net-irc/anope/metadata.xml b/net-irc/anope/metadata.xml index 078496567f21..ddb7e3c5b209 100644 --- a/net-irc/anope/metadata.xml +++ b/net-irc/anope/metadata.xml @@ -8,16 +8,16 @@ anope/anope - Authorize through SQL - Additional log target in SQL - Allows granting users services operator privileges from SQL - Authorize through LDAP - Dynamically ties users to Anope opertypes via LDAP - Stores channel statistics in a mysql database - Channel Statistics - Enables the STATS and GSTATS commands - Enables the (G)TOP and (G)TOP10 commands + Channel Statistics + Enables the STATS and GSTATS commands + Enables the (G)TOP and (G)TOP10 commands + Stores channel statistics in a mysql database + Authorize through LDAP + Dynamically ties users to Anope opertypes via LDAP Add support for POSIX Compatible Regular Expressions + Authorize through SQL + Additional log target in SQL + Allows granting users services operator privileges from SQL Provide SSL services using OpenSSL Use dev-libs/tre for regular expressions -- cgit v1.2.3-65-gdbad