[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 523fc39cae753f150c620c660798c1d1f86de87e Author: Sam James gentoo org> AuthorDate: Sat Jul 15 06:08:09 2023 + Commit: Sam James gentoo org> CommitDate: Sat Jul 15 06:08:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=523fc39c net-irc/anope: Stabilize 2.0.13 arm, #910275 Signed-off-by: Sam James gentoo.org> net-irc/anope/anope-2.0.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.13.ebuild b/net-irc/anope/anope-2.0.13.ebuild index 2f40bfaf5471..88159b72e6e0 100644 --- a/net-irc/anope/anope-2.0.13.ebuild +++ b/net-irc/anope/anope-2.0.13.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" +KEYWORDS="amd64 arm arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 75911fe51e4f944ff481ee88565ecded4cba701d Author: Sam James gentoo org> AuthorDate: Sat Jul 15 03:08:02 2023 + Commit: Sam James gentoo org> CommitDate: Sat Jul 15 03:10:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75911fe5 net-irc/anope: Stabilize 2.0.13 arm64, #910275 Signed-off-by: Sam James gentoo.org> net-irc/anope/anope-2.0.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.13.ebuild b/net-irc/anope/anope-2.0.13.ebuild index e9d802124ff8..2f40bfaf5471 100644 --- a/net-irc/anope/anope-2.0.13.ebuild +++ b/net-irc/anope/anope-2.0.13.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 3bea1421e32f98cbd145b142da518476c4bbfb03 Author: Sam James gentoo org> AuthorDate: Thu Jul 13 06:53:40 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jul 13 06:53:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bea1421 net-irc/anope: Stabilize 2.0.13 amd64, #910275 Signed-off-by: Sam James gentoo.org> net-irc/anope/anope-2.0.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.13.ebuild b/net-irc/anope/anope-2.0.13.ebuild index 5481ad49d61a..f8d608f42333 100644 --- a/net-irc/anope/anope-2.0.13.ebuild +++ b/net-irc/anope/anope-2.0.13.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 7ecda6f98d1b6b6ebe2b67f099de3d75226d773e Author: Sam James gentoo org> AuthorDate: Thu Jul 13 06:53:42 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jul 13 06:53:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ecda6f9 net-irc/anope: Stabilize 2.0.13 x86, #910275 Signed-off-by: Sam James gentoo.org> net-irc/anope/anope-2.0.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.13.ebuild b/net-irc/anope/anope-2.0.13.ebuild index f8d608f42333..e9d802124ff8 100644 --- a/net-irc/anope/anope-2.0.13.ebuild +++ b/net-irc/anope/anope-2.0.13.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 355ff39a64b0be99e016017dec482e5610a3de80 Author: Sam James gentoo org> AuthorDate: Fri Sep 23 01:34:00 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 23 01:35:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=355ff39a net-irc/anope: drop 2.0.10-r1 Signed-off-by: Sam James gentoo.org> net-irc/anope/Manifest | 1 - net-irc/anope/anope-2.0.10-r1.ebuild | 150 --- 2 files changed, 151 deletions(-) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index 5e83254d4c54..db5af0191baa 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1,2 +1 @@ -DIST anope-2.0.10.tar.gz 1809378 BLAKE2B d10323ace767aff19194f7cff353aecbced6122ef72d379d050c8dab3c7013adf6b3e649ffd95edc03bc8ca4873f60ad84991ef0f5c9c454b27ec0eda29edc6d SHA512 2a0e4f14a275a6b986fd22444966584de92509770311262076bd659ba0bbd6e2726fc7a22a6edef57ade5268756ac0c56e6f220fb953ed83e72017d1c67b DIST anope-2.0.11.tar.gz 1812305 BLAKE2B cb1579f5483df1207482458d63d5293375310f8a54ed528b749f8355f122a1a71a0c17b9ef82477bd429f0c672746f5d5c28d51e12d8695c8c1c8368fd651307 SHA512 120588a815600abb93b77d3e9cb18527a61e955e9dbc947e4e62c97bac871325863f519d20535882f3eff136743454c08af62fd3cd4825e5a956fd1a4ac4d728 diff --git a/net-irc/anope/anope-2.0.10-r1.ebuild b/net-irc/anope/anope-2.0.10-r1.ebuild deleted file mode 100644 index f85dd8410448.. --- a/net-irc/anope/anope-2.0.10-r1.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Anope IRC Services" -HOMEPAGE="https://anope.org/ https://github.com/anope/anope/; -SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 x86" -IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" -REQUIRED_USE="sql? ( || ( mysql sqlite ) )" - -DEPEND=" - acct-group/anope - acct-user/anope - mysql? ( dev-db/mysql-connector-c:0= ) - ssl? ( dev-libs/openssl:0= ) - gnutls? ( - net-libs/gnutls:0= - dev-libs/libgcrypt:0= - ) - ldap? ( net-nds/openldap:= ) - pcre? ( dev-libs/libpcre ) - sqlite? ( dev-db/sqlite:3 ) - tre? ( dev-libs/tre ) - virtual/libintl -" -RDEPEND="${DEPEND}" -BDEPEND="sys-devel/gettext" - -PATCHES=( - "${FILESDIR}/${PN}-2.0.6-example.conf-pid-path.patch" - "${FILESDIR}/${PN}-2.0.7-example.conf-user.patch" -) - -src_prepare() { - anope_enable_mod() { - local modulefile=${1} - ln -s "extra/${modulefile}" "modules/" || \ - die "Failed to use ${modulefile}" - } - - # These all require MySQL specifically - if use mysql ; then - anope_enable_mod "m_mysql.cpp" - anope_enable_mod "stats/irc2sql/irc2sql.cpp" - anope_enable_mod "stats/irc2sql/irc2sql.h" - anope_enable_mod "stats/irc2sql/tables.cpp" - anope_enable_mod "stats/irc2sql/utils.cpp" - anope_enable_mod "stats/m_chanstats.cpp" - anope_enable_mod "stats/cs_fantasy_top.cpp" - anope_enable_mod "stats/cs_fantasy_stats.cpp" - anope_enable_mod "m_sql_log.cpp" - anope_enable_mod "m_sql_oper.cpp" - fi - - use sqlite && anope_enable_mod "m_sqlite.cpp" - - # Any SQL implementation - if use sql ; then - anope_enable_mod "m_sql_authentication.cpp" - fi - - if use ldap ; then - anope_enable_mod "m_ldap.cpp" - anope_enable_mod "m_ldap_authentication.cpp" - anope_enable_mod "m_ldap_oper.cpp" - fi - - use gnutls && anope_enable_mod "m_ssl_gnutls.cpp" - use pcre && anope_enable_mod "m_regex_pcre.cpp" - use ssl && anope_enable_mod "m_ssl_openssl.cpp" - use tre && anope_enable_mod "m_regex_tre.cpp" - - # Unconditional modules - anope_enable_mod "m_regex_posix.cpp" - - # Avoid a silly sandbox error - tries to delete /usr/lib/modules - sed -i '/install.*REMOVE_RECURSE.*/d' CMakeLists.txt || die - - # Copy anope.conf for fixup to comply w/ prefix - cp "${FILESDIR}"/anope-conf.d-v2 "${T}" || die - - # Look in the right place for modules - sed -i "s~%LIBDIR%~${EPREFIX}/usr/$(get_libdir)/anope/~" \ - "${T}"/anope-conf.d-v2 || die - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DBIN_DIR="libexec/anope" - -DDB_DIR="../var/lib/anope" - -DDOC_DIR="share/doc/${PF}" - -DLIB_DIR="$(get_libdir)/anope" - -DLOCALE_DIR="share/locale" - -DCONF_DIR="/etc/anope" - -DLOGS_DIR="../var/log/anope/" - ) - -
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: eb2e0c4ff0cadded8751e3bfdb66bd088d7f7601 Author: Jakov Smolić gentoo org> AuthorDate: Sat May 28 16:07:35 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat May 28 16:07:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb2e0c4f net-irc/anope: Stabilize 2.0.11 arm64, #847868 Signed-off-by: Jakov Smolić gentoo.org> net-irc/anope/anope-2.0.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.11.ebuild b/net-irc/anope/anope-2.0.11.ebuild index 5324abf01480..5638effab5e0 100644 --- a/net-irc/anope/anope-2.0.11.ebuild +++ b/net-irc/anope/anope-2.0.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm ~arm64 x86" +KEYWORDS="amd64 arm arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: c692fb35f3c16371e4d96dec13753ca796813594 Author: Jakov Smolić gentoo org> AuthorDate: Sat May 28 10:03:15 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat May 28 10:03:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c692fb35 net-irc/anope: Stabilize 2.0.11 amd64, #847868 Signed-off-by: Jakov Smolić gentoo.org> net-irc/anope/anope-2.0.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.11.ebuild b/net-irc/anope/anope-2.0.11.ebuild index 90c115943b38..dfa2e6d082e0 100644 --- a/net-irc/anope/anope-2.0.11.ebuild +++ b/net-irc/anope/anope-2.0.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~x86" +KEYWORDS="amd64 arm ~arm64 ~x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 52fe5ffe821d07cd47af5550aa5f266ec4f33f5b Author: Jakov Smolić gentoo org> AuthorDate: Sat May 28 10:03:27 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat May 28 10:03:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52fe5ffe net-irc/anope: Stabilize 2.0.11 x86, #847868 Signed-off-by: Jakov Smolić gentoo.org> net-irc/anope/anope-2.0.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.11.ebuild b/net-irc/anope/anope-2.0.11.ebuild index dfa2e6d082e0..5324abf01480 100644 --- a/net-irc/anope/anope-2.0.11.ebuild +++ b/net-irc/anope/anope-2.0.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~x86" +KEYWORDS="amd64 arm ~arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 65efbf023c5a5c1b244aa01c069eaaa83c119ba2 Author: Jakov Smolić gentoo org> AuthorDate: Sat May 28 10:02:33 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat May 28 10:02:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65efbf02 net-irc/anope: Stabilize 2.0.11 arm, #847868 Signed-off-by: Jakov Smolić gentoo.org> net-irc/anope/anope-2.0.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.11.ebuild b/net-irc/anope/anope-2.0.11.ebuild index d692a1a5536c..90c115943b38 100644 --- a/net-irc/anope/anope-2.0.11.ebuild +++ b/net-irc/anope/anope-2.0.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 arm ~arm64 ~x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 6a5ce0fceb68d87ae813399ffa4c62ab5b97151e Author: Sam James gentoo org> AuthorDate: Sat Apr 23 01:38:38 2022 + Commit: Sam James gentoo org> CommitDate: Sat Apr 23 01:52:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a5ce0fc net-irc/anope: add 2.0.11 Closes: https://bugs.gentoo.org/836156 Closes: https://bugs.gentoo.org/839240 Signed-off-by: Sam James gentoo.org> net-irc/anope/Manifest| 1 + net-irc/anope/anope-2.0.11.ebuild | 150 ++ 2 files changed, 151 insertions(+) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index 53252edc6751..5e83254d4c54 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1 +1,2 @@ DIST anope-2.0.10.tar.gz 1809378 BLAKE2B d10323ace767aff19194f7cff353aecbced6122ef72d379d050c8dab3c7013adf6b3e649ffd95edc03bc8ca4873f60ad84991ef0f5c9c454b27ec0eda29edc6d SHA512 2a0e4f14a275a6b986fd22444966584de92509770311262076bd659ba0bbd6e2726fc7a22a6edef57ade5268756ac0c56e6f220fb953ed83e72017d1c67b +DIST anope-2.0.11.tar.gz 1812305 BLAKE2B cb1579f5483df1207482458d63d5293375310f8a54ed528b749f8355f122a1a71a0c17b9ef82477bd429f0c672746f5d5c28d51e12d8695c8c1c8368fd651307 SHA512 120588a815600abb93b77d3e9cb18527a61e955e9dbc947e4e62c97bac871325863f519d20535882f3eff136743454c08af62fd3cd4825e5a956fd1a4ac4d728 diff --git a/net-irc/anope/anope-2.0.11.ebuild b/net-irc/anope/anope-2.0.11.ebuild new file mode 100644 index ..d692a1a5536c --- /dev/null +++ b/net-irc/anope/anope-2.0.11.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Anope IRC Services" +HOMEPAGE="https://anope.org/ https://github.com/anope/anope/; +SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" +REQUIRED_USE="sql? ( || ( mysql sqlite ) )" + +DEPEND=" + acct-group/anope + acct-user/anope + mysql? ( dev-db/mysql-connector-c:0= ) + ssl? ( dev-libs/openssl:0= ) + gnutls? ( + net-libs/gnutls:0= + dev-libs/libgcrypt:0= + ) + ldap? ( net-nds/openldap:= ) + pcre? ( dev-libs/libpcre ) + sqlite? ( dev-db/sqlite:3 ) + tre? ( dev-libs/tre ) + virtual/libintl +" +RDEPEND="${DEPEND}" +BDEPEND="sys-devel/gettext" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.6-example.conf-pid-path.patch" + "${FILESDIR}/${PN}-2.0.7-example.conf-user.patch" +) + +src_prepare() { + anope_enable_mod() { + local modulefile=${1} + ln -s "extra/${modulefile}" "modules/" || \ + die "Failed to use ${modulefile}" + } + + # These all require MySQL specifically + if use mysql ; then + anope_enable_mod "m_mysql.cpp" + anope_enable_mod "stats/irc2sql/irc2sql.cpp" + anope_enable_mod "stats/irc2sql/irc2sql.h" + anope_enable_mod "stats/irc2sql/tables.cpp" + anope_enable_mod "stats/irc2sql/utils.cpp" + anope_enable_mod "stats/m_chanstats.cpp" + anope_enable_mod "stats/cs_fantasy_top.cpp" + anope_enable_mod "stats/cs_fantasy_stats.cpp" + anope_enable_mod "m_sql_log.cpp" + anope_enable_mod "m_sql_oper.cpp" + fi + + use sqlite && anope_enable_mod "m_sqlite.cpp" + + # Any SQL implementation + if use sql ; then + anope_enable_mod "m_sql_authentication.cpp" + fi + + if use ldap ; then + anope_enable_mod "m_ldap.cpp" + anope_enable_mod "m_ldap_authentication.cpp" + anope_enable_mod "m_ldap_oper.cpp" + fi + + use gnutls && anope_enable_mod "m_ssl_gnutls.cpp" + use pcre && anope_enable_mod "m_regex_pcre.cpp" + use ssl && anope_enable_mod "m_ssl_openssl.cpp" + use tre && anope_enable_mod "m_regex_tre.cpp" + + # Unconditional modules + anope_enable_mod "m_regex_posix.cpp" + + # Avoid a silly sandbox error - tries to delete /usr/lib/modules + sed -i '/install.*REMOVE_RECURSE.*/d' CMakeLists.txt || die + + # Copy anope.conf for fixup to comply w/ prefix + cp "${FILESDIR}"/anope-conf.d-v2 "${T}" || die + + # Look in the right place for modules + sed -i "s~%LIBDIR%~${EPREFIX}/usr/$(get_libdir)/anope/~" \ + "${T}"/anope-conf.d-v2 || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBIN_DIR="libexec/anope" + -DDB_DIR="../var/lib/anope" + -DDOC_DIR="share/doc/${PF}" + -DLIB_DIR="$(get_libdir)/anope" + -DLOCALE_DIR="share/locale" + -DCONF_DIR="/etc/anope" +
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 77e5721186a832af9c3d279bfa9777d13cf1d97e Author: Sam James gentoo org> AuthorDate: Wed Mar 23 00:32:45 2022 + Commit: Sam James gentoo org> CommitDate: Wed Mar 23 00:44:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77e57211 net-irc/anope: add subslot dep on OpenLDAP New OpenLDAP breaks ABI (changes SONAME) Signed-off-by: Sam James gentoo.org> net-irc/anope/{anope-2.0.10.ebuild => anope-2.0.10-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.10.ebuild b/net-irc/anope/anope-2.0.10-r1.ebuild similarity index 99% rename from net-irc/anope/anope-2.0.10.ebuild rename to net-irc/anope/anope-2.0.10-r1.ebuild index cccfac4907f2..f85dd8410448 100644 --- a/net-irc/anope/anope-2.0.10.ebuild +++ b/net-irc/anope/anope-2.0.10-r1.ebuild @@ -24,7 +24,7 @@ DEPEND=" net-libs/gnutls:0= dev-libs/libgcrypt:0= ) - ldap? ( net-nds/openldap ) + ldap? ( net-nds/openldap:= ) pcre? ( dev-libs/libpcre ) sqlite? ( dev-db/sqlite:3 ) tre? ( dev-libs/tre )
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 731cca78875244884d2fa2ca49551d8d92bb Author: Sam James gentoo org> AuthorDate: Fri Feb 25 20:53:14 2022 + Commit: Sam James gentoo org> CommitDate: Fri Feb 25 20:53:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=731cca78 net-irc/anope: Stabilize 2.0.10 arm64, #829523 Signed-off-by: Sam James gentoo.org> net-irc/anope/anope-2.0.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.10.ebuild b/net-irc/anope/anope-2.0.10.ebuild index 0c847fd54a22..cccfac4907f2 100644 --- a/net-irc/anope/anope-2.0.10.ebuild +++ b/net-irc/anope/anope-2.0.10.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm ~arm64 x86" +KEYWORDS="amd64 arm arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 2f1b2bd3f2e28a30bf6caaf07c4849aa3d32f8eb Author: Sam James gentoo org> AuthorDate: Sat Jan 1 11:06:36 2022 + Commit: Sam James gentoo org> CommitDate: Sat Jan 1 11:06:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f1b2bd3 net-irc/anope: Stabilize 2.0.10 arm, #829523 Signed-off-by: Sam James gentoo.org> net-irc/anope/anope-2.0.10.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-irc/anope/anope-2.0.10.ebuild b/net-irc/anope/anope-2.0.10.ebuild index 359f169c3e6f..0c847fd54a22 100644 --- a/net-irc/anope/anope-2.0.10.ebuild +++ b/net-irc/anope/anope-2.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 arm ~arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: bca08e9bf1a7ca5e1ae95323a11919966973e171 Author: Sam James gentoo org> AuthorDate: Sat Jan 1 09:28:18 2022 + Commit: Sam James gentoo org> CommitDate: Sat Jan 1 09:38:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca08e9b net-irc/anope: drop 2.0.9 Signed-off-by: Sam James gentoo.org> net-irc/anope/Manifest | 1 - net-irc/anope/anope-2.0.9.ebuild | 152 --- 2 files changed, 153 deletions(-) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index fe6207869db7..53252edc6751 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1,2 +1 @@ DIST anope-2.0.10.tar.gz 1809378 BLAKE2B d10323ace767aff19194f7cff353aecbced6122ef72d379d050c8dab3c7013adf6b3e649ffd95edc03bc8ca4873f60ad84991ef0f5c9c454b27ec0eda29edc6d SHA512 2a0e4f14a275a6b986fd22444966584de92509770311262076bd659ba0bbd6e2726fc7a22a6edef57ade5268756ac0c56e6f220fb953ed83e72017d1c67b -DIST anope-2.0.9.tar.gz 1808866 BLAKE2B db5755dbb88edb9fcc2f00c1dc324894f22b9e6bc97c9cf57b40d2296014341fe3ade8a8e1b64879b852aef6637e1bb89947deb7a41e009e25101a0a992515e7 SHA512 0ce2caa5ede2831215781a333d896f1169f90bbb515078912f32beaff1699b7957384974cca7c86f1d584d624cb43c76769299ce245ee1fb6836ce7f14ada3e0 diff --git a/net-irc/anope/anope-2.0.9.ebuild b/net-irc/anope/anope-2.0.9.ebuild deleted file mode 100644 index 1d6c41175cc7.. --- a/net-irc/anope/anope-2.0.9.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Anope IRC Services" -HOMEPAGE="https://anope.org/ https://github.com/anope/anope/; -SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" -REQUIRED_USE="sql? ( || ( mysql sqlite ) )" - -BDEPEND="sys-devel/gettext" -DEPEND=" - acct-group/anope - acct-user/anope - mysql? ( dev-db/mysql-connector-c:0= ) - ssl? ( dev-libs/openssl:0= ) - gnutls? ( - net-libs/gnutls:0= - dev-libs/libgcrypt:0= - ) - ldap? ( net-nds/openldap ) - pcre? ( dev-libs/libpcre ) - sqlite? ( dev-db/sqlite:3 ) - tre? ( dev-libs/tre ) - virtual/libintl -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-2.0.6-example.conf-pid-path.patch" - "${FILESDIR}/${PN}-2.0.7-example.conf-user.patch" -) - -src_prepare() { - anope_enable_mod() { - local modulefile=${1} - ln -s "extra/${modulefile}" "modules/" || \ - die "Failed to use ${modulefile}" - } - - # These all require MySQL specifically - if use mysql ; then - anope_enable_mod "m_mysql.cpp" - anope_enable_mod "stats/irc2sql/irc2sql.cpp" - anope_enable_mod "stats/irc2sql/irc2sql.h" - anope_enable_mod "stats/irc2sql/tables.cpp" - anope_enable_mod "stats/irc2sql/utils.cpp" - anope_enable_mod "stats/m_chanstats.cpp" - anope_enable_mod "stats/cs_fantasy_top.cpp" - anope_enable_mod "stats/cs_fantasy_stats.cpp" - anope_enable_mod "m_sql_log.cpp" - anope_enable_mod "m_sql_oper.cpp" - fi - - use sqlite && anope_enable_mod "m_sqlite.cpp" - - # Any SQL implementation - if use sql ; then - anope_enable_mod "m_sql_authentication.cpp" - fi - - if use ldap ; then - anope_enable_mod "m_ldap.cpp" - anope_enable_mod "m_ldap_authentication.cpp" - anope_enable_mod "m_ldap_oper.cpp" - fi - - use gnutls && anope_enable_mod "m_ssl_gnutls.cpp" - use pcre && anope_enable_mod "m_regex_pcre.cpp" - use ssl && anope_enable_mod "m_ssl_openssl.cpp" - use tre && anope_enable_mod "m_regex_tre.cpp" - - # Unconditional modules - anope_enable_mod "m_regex_posix.cpp" - - # Avoid a silly sandbox error - tries to delete /usr/lib/modules - sed -i '/install.*REMOVE_RECURSE.*/d' CMakeLists.txt || die - - # Copy anope.conf for fixup to comply w/ prefix - cp "${FILESDIR}/anope-conf.d-v2" "${T}" || die - - # Look in the right place for modules - sed -i "s~%LIBDIR%~${EPREFIX}/usr/$(get_libdir)/anope/~" \ - "${T}/anope-conf.d-v2" || die - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DBIN_DIR="libexec/anope" - -DDB_DIR="../var/lib/anope" - -DDOC_DIR="share/doc/${PF}" - -DLIB_DIR="$(get_libdir)/anope" - -DLOCALE_DIR="share/locale" - -DCONF_DIR="/etc/anope" - -DLOGS_DIR="../var/log/anope/" - ) - - cmake_src_configure -} - -src_install()
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 7e0c43fd91bdb4adc4ec2cf0e4d83ec875f17d0f Author: Sam James gentoo org> AuthorDate: Sun Sep 12 22:59:32 2021 + Commit: Sam James gentoo org> CommitDate: Sun Sep 12 22:59:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e0c43fd net-irc/anope: Stabilize 2.0.10 amd64, #812818 Signed-off-by: Sam James gentoo.org> net-irc/anope/anope-2.0.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.10.ebuild b/net-irc/anope/anope-2.0.10.ebuild index b9938645cb9..bc09559fa8c 100644 --- a/net-irc/anope/anope-2.0.10.ebuild +++ b/net-irc/anope/anope-2.0.10.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 8583ba8ba79bbb1093f1083bd13540d5006690ff Author: Sam James gentoo org> AuthorDate: Sun Sep 12 22:59:58 2021 + Commit: Sam James gentoo org> CommitDate: Sun Sep 12 22:59:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8583ba8b net-irc/anope: Stabilize 2.0.10 x86, #812818 Signed-off-by: Sam James gentoo.org> net-irc/anope/anope-2.0.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.10.ebuild b/net-irc/anope/anope-2.0.10.ebuild index bc09559fa8c..359f169c3e6 100644 --- a/net-irc/anope/anope-2.0.10.ebuild +++ b/net-irc/anope/anope-2.0.10.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: b76db27c6a1df649c61a72b67a95825735087c54 Author: Sam James gentoo org> AuthorDate: Mon Aug 9 21:59:17 2021 + Commit: Sam James gentoo org> CommitDate: Mon Aug 9 22:21:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b76db27c net-irc/anope: add 2.0.10 Signed-off-by: Sam James gentoo.org> net-irc/anope/Manifest| 1 + net-irc/anope/anope-2.0.10.ebuild | 150 ++ 2 files changed, 151 insertions(+) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index db202f75903..fe6207869db 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1 +1,2 @@ +DIST anope-2.0.10.tar.gz 1809378 BLAKE2B d10323ace767aff19194f7cff353aecbced6122ef72d379d050c8dab3c7013adf6b3e649ffd95edc03bc8ca4873f60ad84991ef0f5c9c454b27ec0eda29edc6d SHA512 2a0e4f14a275a6b986fd22444966584de92509770311262076bd659ba0bbd6e2726fc7a22a6edef57ade5268756ac0c56e6f220fb953ed83e72017d1c67b DIST anope-2.0.9.tar.gz 1808866 BLAKE2B db5755dbb88edb9fcc2f00c1dc324894f22b9e6bc97c9cf57b40d2296014341fe3ade8a8e1b64879b852aef6637e1bb89947deb7a41e009e25101a0a992515e7 SHA512 0ce2caa5ede2831215781a333d896f1169f90bbb515078912f32beaff1699b7957384974cca7c86f1d584d624cb43c76769299ce245ee1fb6836ce7f14ada3e0 diff --git a/net-irc/anope/anope-2.0.10.ebuild b/net-irc/anope/anope-2.0.10.ebuild new file mode 100644 index 000..b9938645cb9 --- /dev/null +++ b/net-irc/anope/anope-2.0.10.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Anope IRC Services" +HOMEPAGE="https://anope.org/ https://github.com/anope/anope/; +SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" +REQUIRED_USE="sql? ( || ( mysql sqlite ) )" + +DEPEND=" + acct-group/anope + acct-user/anope + mysql? ( dev-db/mysql-connector-c:0= ) + ssl? ( dev-libs/openssl:0= ) + gnutls? ( + net-libs/gnutls:0= + dev-libs/libgcrypt:0= + ) + ldap? ( net-nds/openldap ) + pcre? ( dev-libs/libpcre ) + sqlite? ( dev-db/sqlite:3 ) + tre? ( dev-libs/tre ) + virtual/libintl +" +RDEPEND="${DEPEND}" +BDEPEND="sys-devel/gettext" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.6-example.conf-pid-path.patch" + "${FILESDIR}/${PN}-2.0.7-example.conf-user.patch" +) + +src_prepare() { + anope_enable_mod() { + local modulefile=${1} + ln -s "extra/${modulefile}" "modules/" || \ + die "Failed to use ${modulefile}" + } + + # These all require MySQL specifically + if use mysql ; then + anope_enable_mod "m_mysql.cpp" + anope_enable_mod "stats/irc2sql/irc2sql.cpp" + anope_enable_mod "stats/irc2sql/irc2sql.h" + anope_enable_mod "stats/irc2sql/tables.cpp" + anope_enable_mod "stats/irc2sql/utils.cpp" + anope_enable_mod "stats/m_chanstats.cpp" + anope_enable_mod "stats/cs_fantasy_top.cpp" + anope_enable_mod "stats/cs_fantasy_stats.cpp" + anope_enable_mod "m_sql_log.cpp" + anope_enable_mod "m_sql_oper.cpp" + fi + + use sqlite && anope_enable_mod "m_sqlite.cpp" + + # Any SQL implementation + if use sql ; then + anope_enable_mod "m_sql_authentication.cpp" + fi + + if use ldap ; then + anope_enable_mod "m_ldap.cpp" + anope_enable_mod "m_ldap_authentication.cpp" + anope_enable_mod "m_ldap_oper.cpp" + fi + + use gnutls && anope_enable_mod "m_ssl_gnutls.cpp" + use pcre && anope_enable_mod "m_regex_pcre.cpp" + use ssl && anope_enable_mod "m_ssl_openssl.cpp" + use tre && anope_enable_mod "m_regex_tre.cpp" + + # Unconditional modules + anope_enable_mod "m_regex_posix.cpp" + + # Avoid a silly sandbox error - tries to delete /usr/lib/modules + sed -i '/install.*REMOVE_RECURSE.*/d' CMakeLists.txt || die + + # Copy anope.conf for fixup to comply w/ prefix + cp "${FILESDIR}"/anope-conf.d-v2 "${T}" || die + + # Look in the right place for modules + sed -i "s~%LIBDIR%~${EPREFIX}/usr/$(get_libdir)/anope/~" \ + "${T}"/anope-conf.d-v2 || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBIN_DIR="libexec/anope" + -DDB_DIR="../var/lib/anope" + -DDOC_DIR="share/doc/${PF}" + -DLIB_DIR="$(get_libdir)/anope" + -DLOCALE_DIR="share/locale" + -DCONF_DIR="/etc/anope" + -DLOGS_DIR="../var/log/anope/" + ) + + cmake_src_configure +} + +src_install()
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/files/
commit: a85ea0f42c2f7d7d5f4e80478092b864ce14d64a Author: Michael Mair-Keimberger gmail com> AuthorDate: Mon Dec 21 16:05:36 2020 + Commit: Sam James gentoo org> CommitDate: Mon Dec 21 18:15:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a85ea0f4 net-irc/anope: remove unused patch Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Sam James gentoo.org> net-irc/anope/files/anope-2.0.7-musl-libintl.patch | 22 -- 1 file changed, 22 deletions(-) diff --git a/net-irc/anope/files/anope-2.0.7-musl-libintl.patch b/net-irc/anope/files/anope-2.0.7-musl-libintl.patch deleted file mode 100644 index f14e494e0c1..000 --- a/net-irc/anope/files/anope-2.0.7-musl-libintl.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/language.cpp b/src/language.cpp -index 1915378..c1eeea5 100644 a/src/language.cpp -+++ b/src/language.cpp -@@ -75,7 +75,7 @@ const char *Language::Translate(const NickCore *nc, const char *string) - - #if GETTEXT_FOUND - --#ifdef __USE_GNU_GETTEXT -+#if defined(__GLIBC__) - extern "C" int _nl_msg_cat_cntr; - #endif - -@@ -87,7 +87,7 @@ const char *Language::Translate(const char *lang, const char *string) - if (!lang || !*lang) - lang = Config->DefLanguage.c_str(); - --#ifdef __USE_GNU_GETTEXT -+#if defined(__GLIBC__) - ++_nl_msg_cat_cntr; - #endif -
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 413caca27b689fd28ae964cd4802802b1ee5d32d Author: Sam James gentoo org> AuthorDate: Sun Dec 20 06:26:28 2020 + Commit: Sam James gentoo org> CommitDate: Sun Dec 20 06:26:28 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413caca2 net-irc/anope: cleanup old Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> net-irc/anope/Manifest | 1 - net-irc/anope/anope-2.0.7.ebuild | 154 --- 2 files changed, 155 deletions(-) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index 1e406ccf6b6..db202f75903 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1,2 +1 @@ -DIST anope-2.0.7-source.tar.gz 1817484 BLAKE2B 13a4628db8cb885d4636ab1897aab322f7846740e4a3fccd02a417d84a8eb3c942aebf5e0a51f8ca1108f455b44b4e280e7386b42e03f640c9b0e68943252814 SHA512 22a9f3e0d9fe7f68304062829a19b693a3414f94c90f8da601ab98995cbff7310dc22ca40749d50d6722dfb4649817d2f4b1dbe4afa3254b28980f03a491de65 DIST anope-2.0.9.tar.gz 1808866 BLAKE2B db5755dbb88edb9fcc2f00c1dc324894f22b9e6bc97c9cf57b40d2296014341fe3ade8a8e1b64879b852aef6637e1bb89947deb7a41e009e25101a0a992515e7 SHA512 0ce2caa5ede2831215781a333d896f1169f90bbb515078912f32beaff1699b7957384974cca7c86f1d584d624cb43c76769299ce245ee1fb6836ce7f14ada3e0 diff --git a/net-irc/anope/anope-2.0.7.ebuild b/net-irc/anope/anope-2.0.7.ebuild deleted file mode 100644 index f00b232f80b..000 --- a/net-irc/anope/anope-2.0.7.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Anope IRC Services" -HOMEPAGE="https://anope.org/ https://github.com/anope/anope/; -SRC_URI="https://github.com/anope/anope/releases/download/${PV}/${P}-source.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" -REQUIRED_USE=" - sql? ( || ( mysql sqlite ) ) -" - -BDEPEND="sys-devel/gettext" -DEPEND=" - acct-group/anope - acct-user/anope - mysql? ( dev-db/mysql-connector-c:0= ) - ssl? ( dev-libs/openssl:0= ) - gnutls? ( net-libs/gnutls:0= dev-libs/libgcrypt:0= ) - ldap? ( net-nds/openldap ) - pcre? ( dev-libs/libpcre ) - sqlite? ( dev-db/sqlite:3 ) - tre? ( dev-libs/tre ) - virtual/libintl -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-2.0.6-example.conf-pid-path.patch" - "${FILESDIR}/${PN}-2.0.7-example.conf-user.patch" - "${FILESDIR}/${PN}-2.0.7-musl-libintl.patch" -) - -S="${WORKDIR}/${P}-source" - -src_prepare() { - anope_enable_mod() { - local modulefile=${1} - ln -s "extra/${modulefile}" "modules/" || \ - die "Failed to use ${modulefile}" - } - - # These all require MySQL specifically - if use mysql ; then - anope_enable_mod "m_mysql.cpp" - anope_enable_mod "stats/irc2sql/irc2sql.cpp" - anope_enable_mod "stats/irc2sql/irc2sql.h" - anope_enable_mod "stats/irc2sql/tables.cpp" - anope_enable_mod "stats/irc2sql/utils.cpp" - anope_enable_mod "stats/m_chanstats.cpp" - anope_enable_mod "stats/cs_fantasy_top.cpp" - anope_enable_mod "stats/cs_fantasy_stats.cpp" - anope_enable_mod "m_sql_log.cpp" - anope_enable_mod "m_sql_oper.cpp" - fi - - use sqlite && anope_enable_mod "m_sqlite.cpp" - - # Any SQL implementation - if use sql ; then - anope_enable_mod "m_sql_authentication.cpp" - fi - - if use ldap ; then - anope_enable_mod "m_ldap.cpp" - anope_enable_mod "m_ldap_authentication.cpp" - anope_enable_mod "m_ldap_oper.cpp" - fi - - use gnutls && anope_enable_mod "m_ssl_gnutls.cpp" - use pcre && anope_enable_mod "m_regex_pcre.cpp" - use ssl && anope_enable_mod "m_ssl_openssl.cpp" - use tre && anope_enable_mod "m_regex_tre.cpp" - - # Unconditional modules - anope_enable_mod "m_regex_posix.cpp" - - # Avoid a silly sandbox error - tries to delete /usr/lib/modules - sed -i '/install.*REMOVE_RECURSE.*/d' CMakeLists.txt || die - - # Copy anope.conf for fixup to comply w/ prefix - cp "${FILESDIR}/anope-conf.d-v2" "${T}" || die - - # Look in the right place for modules - sed -i "s~%LIBDIR%~${EPREFIX}/usr/$(get_libdir)/anope/~" \ - "${T}/anope-conf.d-v2" || die - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DBIN_DIR="libexec/anope" - -DDB_DIR="../var/lib/anope" - -DDOC_DIR="share/doc/${PF}" - -DLIB_DIR="$(get_libdir)/anope" - -DLOCALE_DIR="share/locale" - -DCONF_DIR="/etc/anope" -
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 822d8ec28f31814e9100a7e84069b7d79d0cdd48 Author: Sam James gentoo org> AuthorDate: Wed Dec 16 20:34:25 2020 + Commit: Sam James gentoo org> CommitDate: Wed Dec 16 20:34:36 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=822d8ec2 net-irc/anope: Stabilize 2.0.9 amd64, #758821 Signed-off-by: Sam James gentoo.org> net-irc/anope/anope-2.0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.9.ebuild b/net-irc/anope/anope-2.0.9.ebuild index fc82ca2c2f7..1d6c41175cc 100644 --- a/net-irc/anope/anope-2.0.9.ebuild +++ b/net-irc/anope/anope-2.0.9.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE="sql? ( || ( mysql sqlite ) )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: ff24f981b3a1c80276da21cdbf0fb3aa17af14ba Author: Sam James gentoo org> AuthorDate: Sat Oct 24 06:34:27 2020 + Commit: Sam James gentoo org> CommitDate: Sat Oct 24 06:39:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff24f981 net-irc/anope: bump to 2.0.9 Fixes a regression in 2.0.8 with MySQL usage. See: https://github.com/anope/anope/compare/2.0.8...2.0.9 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> net-irc/anope/Manifest | 2 +- net-irc/anope/{anope-2.0.8.ebuild => anope-2.0.9.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index 7f9843c097e..1e406ccf6b6 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1,2 +1,2 @@ DIST anope-2.0.7-source.tar.gz 1817484 BLAKE2B 13a4628db8cb885d4636ab1897aab322f7846740e4a3fccd02a417d84a8eb3c942aebf5e0a51f8ca1108f455b44b4e280e7386b42e03f640c9b0e68943252814 SHA512 22a9f3e0d9fe7f68304062829a19b693a3414f94c90f8da601ab98995cbff7310dc22ca40749d50d6722dfb4649817d2f4b1dbe4afa3254b28980f03a491de65 -DIST anope-2.0.8.tar.gz 1808747 BLAKE2B f4413fdd151498c7521df175b88cc693a00de8ee3960962f79affd8cb821d428f12145dcc444c75e5940ea80ea22591048c313d7cda32570ed7a941e37e27334 SHA512 ddb42a453d72327d2256e5963f720bb310a7524c01661a0a136f18c539813649889e9fb764077c86e0854de8e3da095ebabb1ba53a0538d679bd42ea6403823b +DIST anope-2.0.9.tar.gz 1808866 BLAKE2B db5755dbb88edb9fcc2f00c1dc324894f22b9e6bc97c9cf57b40d2296014341fe3ade8a8e1b64879b852aef6637e1bb89947deb7a41e009e25101a0a992515e7 SHA512 0ce2caa5ede2831215781a333d896f1169f90bbb515078912f32beaff1699b7957384974cca7c86f1d584d624cb43c76769299ce245ee1fb6836ce7f14ada3e0 diff --git a/net-irc/anope/anope-2.0.8.ebuild b/net-irc/anope/anope-2.0.9.ebuild similarity index 100% rename from net-irc/anope/anope-2.0.8.ebuild rename to net-irc/anope/anope-2.0.9.ebuild
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 4bf674c6b01a14cb375cbdbb495822f3aa2a0a7f Author: Sam James gentoo org> AuthorDate: Mon Oct 12 20:05:34 2020 + Commit: Sam James gentoo org> CommitDate: Mon Oct 12 20:05:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bf674c6 net-irc/anope: bump to 2.0.8 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> net-irc/anope/Manifest | 1 + net-irc/anope/anope-2.0.8.ebuild | 152 +++ 2 files changed, 153 insertions(+) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index 335593c6ec6..7f9843c097e 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1 +1,2 @@ DIST anope-2.0.7-source.tar.gz 1817484 BLAKE2B 13a4628db8cb885d4636ab1897aab322f7846740e4a3fccd02a417d84a8eb3c942aebf5e0a51f8ca1108f455b44b4e280e7386b42e03f640c9b0e68943252814 SHA512 22a9f3e0d9fe7f68304062829a19b693a3414f94c90f8da601ab98995cbff7310dc22ca40749d50d6722dfb4649817d2f4b1dbe4afa3254b28980f03a491de65 +DIST anope-2.0.8.tar.gz 1808747 BLAKE2B f4413fdd151498c7521df175b88cc693a00de8ee3960962f79affd8cb821d428f12145dcc444c75e5940ea80ea22591048c313d7cda32570ed7a941e37e27334 SHA512 ddb42a453d72327d2256e5963f720bb310a7524c01661a0a136f18c539813649889e9fb764077c86e0854de8e3da095ebabb1ba53a0538d679bd42ea6403823b diff --git a/net-irc/anope/anope-2.0.8.ebuild b/net-irc/anope/anope-2.0.8.ebuild new file mode 100644 index 000..d7c7c0caf69 --- /dev/null +++ b/net-irc/anope/anope-2.0.8.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Anope IRC Services" +HOMEPAGE="https://anope.org/ https://github.com/anope/anope/; +SRC_URI="https://github.com/anope/anope/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" +REQUIRED_USE="sql? ( || ( mysql sqlite ) )" + +BDEPEND="sys-devel/gettext" +DEPEND=" + acct-group/anope + acct-user/anope + mysql? ( dev-db/mysql-connector-c:0= ) + ssl? ( dev-libs/openssl:0= ) + gnutls? ( + net-libs/gnutls:0= + dev-libs/libgcrypt:0= + ) + ldap? ( net-nds/openldap ) + pcre? ( dev-libs/libpcre ) + sqlite? ( dev-db/sqlite:3 ) + tre? ( dev-libs/tre ) + virtual/libintl +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.6-example.conf-pid-path.patch" + "${FILESDIR}/${PN}-2.0.7-example.conf-user.patch" +) + +src_prepare() { + anope_enable_mod() { + local modulefile=${1} + ln -s "extra/${modulefile}" "modules/" || \ + die "Failed to use ${modulefile}" + } + + # These all require MySQL specifically + if use mysql ; then + anope_enable_mod "m_mysql.cpp" + anope_enable_mod "stats/irc2sql/irc2sql.cpp" + anope_enable_mod "stats/irc2sql/irc2sql.h" + anope_enable_mod "stats/irc2sql/tables.cpp" + anope_enable_mod "stats/irc2sql/utils.cpp" + anope_enable_mod "stats/m_chanstats.cpp" + anope_enable_mod "stats/cs_fantasy_top.cpp" + anope_enable_mod "stats/cs_fantasy_stats.cpp" + anope_enable_mod "m_sql_log.cpp" + anope_enable_mod "m_sql_oper.cpp" + fi + + use sqlite && anope_enable_mod "m_sqlite.cpp" + + # Any SQL implementation + if use sql ; then + anope_enable_mod "m_sql_authentication.cpp" + fi + + if use ldap ; then + anope_enable_mod "m_ldap.cpp" + anope_enable_mod "m_ldap_authentication.cpp" + anope_enable_mod "m_ldap_oper.cpp" + fi + + use gnutls && anope_enable_mod "m_ssl_gnutls.cpp" + use pcre && anope_enable_mod "m_regex_pcre.cpp" + use ssl && anope_enable_mod "m_ssl_openssl.cpp" + use tre && anope_enable_mod "m_regex_tre.cpp" + + # Unconditional modules + anope_enable_mod "m_regex_posix.cpp" + + # Avoid a silly sandbox error - tries to delete /usr/lib/modules + sed -i '/install.*REMOVE_RECURSE.*/d' CMakeLists.txt || die + + # Copy anope.conf for fixup to comply w/ prefix + cp "${FILESDIR}/anope-conf.d-v2" "${T}" || die + + # Look in the right place for modules + sed -i "s~%LIBDIR%~${EPREFIX}/usr/$(get_libdir)/anope/~" \ + "${T}/anope-conf.d-v2" || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBIN_DIR="libexec/anope" + -DDB_DIR="../var/lib/anope" + -DDOC_DIR="share/doc/${PF}" + -DLIB_DIR="$(get_libdir)/anope" + -DLOCALE_DIR="share/locale" + -DCONF_DIR="/etc/anope" + -DLOGS_DIR="../var/log/anope/" + )
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 116fd7172d5d7d66933c32aac322218181907a00 Author: Sam James gentoo org> AuthorDate: Sun Aug 30 05:43:46 2020 + Commit: Sam James gentoo org> CommitDate: Sun Aug 30 05:43:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116fd717 net-irc/anope: cleanup old Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> net-irc/anope/Manifest | 1 - net-irc/anope/anope-2.0.6.ebuild | 158 --- net-irc/anope/metadata.xml | 12 --- 3 files changed, 171 deletions(-) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index 38d65bf722f..335593c6ec6 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1,2 +1 @@ -DIST anope-2.0.6-source.tar.gz 1792912 BLAKE2B 00c70723c887821d2dda065f9fdb4c4fc79a1534217dd567c2247c3ae9d0b3c1c07a9e1e9d87bfdf5f7f9be212af5139e29710224e02e80154290dd6d4b5ee7c SHA512 c100758d6159023832bc7a4dceb7d554a9b3cd9120b033efc9a93c7ff28e76a086d0594b66b9cd2946b231421217674990f2a3ebaa8a6598c2a25e2dafd1b65b DIST anope-2.0.7-source.tar.gz 1817484 BLAKE2B 13a4628db8cb885d4636ab1897aab322f7846740e4a3fccd02a417d84a8eb3c942aebf5e0a51f8ca1108f455b44b4e280e7386b42e03f640c9b0e68943252814 SHA512 22a9f3e0d9fe7f68304062829a19b693a3414f94c90f8da601ab98995cbff7310dc22ca40749d50d6722dfb4649817d2f4b1dbe4afa3254b28980f03a491de65 diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild deleted file mode 100644 index 1d78f2271b9..000 --- a/net-irc/anope/anope-2.0.6.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake user - -DESCRIPTION="Anope IRC Services" -HOMEPAGE="https://anope.org; -SRC_URI="https://github.com/anope/anope/releases/download/${PV}/${P}-source.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -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=" - 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} - mysql? ( dev-db/mysql-connector-c:0= ) - ssl? ( dev-libs/openssl:0= ) - gnutls? ( net-libs/gnutls:0= dev-libs/libgcrypt:0= ) - ldap? ( net-nds/openldap ) - pcre? ( dev-libs/libpcre ) - sqlite? ( dev-db/sqlite:3 ) - tre? ( dev-libs/tre )" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/anope-2.0.6-example.conf-pid-path.patch" ) - -S="${WORKDIR}/${P}-source" - -pkg_pretend() { - local replaced_version - for replaced_version in ${REPLACING_VERSIONS} ; do - if ver_test ${replaced_version} -lt 1.8.7 && [[ -f ${ROOT}/opt/anope/data/nick.db ]]; then - eerror "It looks like you have an older version of Anope installed." - eerror "To upgrade, shut down Anope and copy your databases to" - eerror "${ROOT}/var/lib/anope and your configuration to ${ROOT}/etc/anope" - eerror "You can do this by:" - eerror "# mkdir -p ${ROOT}/var/lib/anope ${ROOT}/etc/anope" - eerror "# chown anope:anope ${ROOT}/var/lib/anope" - eerror "# mv ${ROOT}/opt/anope/data/*.db ${ROOT}/var/lib/anope" - eerror "# mv ${ROOT}/opt/anope/data/services.conf ${ROOT}/etc/anope" - die "Please move your anope database files from /opt/anope/data" - fi - done -} - -pkg_setup() { - enewgroup anope - enewuser anope -1 -1 -1 anope -} - -src_prepare() { - anope_use_extra() { - local useflag=$1 - local modulefile=$2 - if use $useflag; then - ln -s "extra/${modulefile}" "modules/" || \ - die "Failed to use ${modulefile}" - 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 sql-auth"m_sql_authentication.cpp" - anope_use_extra sql-log "m_sql_log.cpp" - anope_use_extra
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 057d1f2758a1fca4b6ba54e16c8ed20c530e5626 Author: Sam James gentoo org> AuthorDate: Wed Jul 8 20:40:00 2020 + Commit: Sam James gentoo org> CommitDate: Wed Jul 8 20:49:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=057d1f27 net-irc/anope: update sam's email Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Sam James gentoo.org> net-irc/anope/metadata.xml | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net-irc/anope/metadata.xml b/net-irc/anope/metadata.xml index 0ca16f3bed0..9826ad83c45 100644 --- a/net-irc/anope/metadata.xml +++ b/net-irc/anope/metadata.xml @@ -2,13 +2,9 @@ http://www.gentoo.org/dtd/metadata.dtd;> - s...@cmpct.info + s...@gentoo.org Sam James - - proxy-ma...@gentoo.org - Proxy Maintainers - Anope IRC Services provide user and channel management services for an IRC server. It is a well-known package which continues to be actively
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: ea3cd46572a5932926cc52a31caab97958725bf7 Author: Sam James (sam_c) cmpct info> AuthorDate: Sat Jun 6 14:08:42 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 6 18:01:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3cd465 net-irc/anope: arm keyworded (bug #720822) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Michał Górny gentoo.org> net-irc/anope/anope-2.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.7.ebuild b/net-irc/anope/anope-2.0.7.ebuild index c97d65e1d2a..f00b232f80b 100644 --- a/net-irc/anope/anope-2.0.7.ebuild +++ b/net-irc/anope/anope-2.0.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/releases/download/${PV}/${P}-source.tar. LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE=" sql? ( || ( mysql sqlite ) )
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: b4c2491fb60f8d51bc26c727b3a31b497d035a78 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 11:31:07 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 11:31:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c2491f net-irc/anope: x86 stable wrt bug #722792 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-irc/anope/anope-2.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.7.ebuild b/net-irc/anope/anope-2.0.7.ebuild index ab1646d66f1..c97d65e1d2a 100644 --- a/net-irc/anope/anope-2.0.7.ebuild +++ b/net-irc/anope/anope-2.0.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/releases/download/${PV}/${P}-source.tar. LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE=" sql? ( || ( mysql sqlite ) )
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 07f1e3d9eb2b2084880d556059435b717fbd3672 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 11:27:20 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 11:27:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f1e3d9 net-irc/anope: amd64 stable wrt bug #722792 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-irc/anope/anope-2.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.7.ebuild b/net-irc/anope/anope-2.0.7.ebuild index dfe3ccb755e..ab1646d66f1 100644 --- a/net-irc/anope/anope-2.0.7.ebuild +++ b/net-irc/anope/anope-2.0.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/releases/download/${PV}/${P}-source.tar. LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE=" sql? ( || ( mysql sqlite ) )
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 36b8fab3bf4d9581ca5bcee6dab1c5644fc40518 Author: Sam James (sam_c) cmpct info> AuthorDate: Thu May 14 22:06:03 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Fri May 8 06:23:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b8fab3 net-irc/anope: arm64 keyworded (bug #720822) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Mart Raudsepp gentoo.org> net-irc/anope/anope-2.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/anope/anope-2.0.7.ebuild b/net-irc/anope/anope-2.0.7.ebuild index 1d5f4d67658..dfe3ccb755e 100644 --- a/net-irc/anope/anope-2.0.7.ebuild +++ b/net-irc/anope/anope-2.0.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/anope/anope/releases/download/${PV}/${P}-source.tar. LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" REQUIRED_USE=" sql? ( || ( mysql sqlite ) )
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/files/, net-irc/anope/
commit: fad3398f2af43b94a28e677a7d318526e194bffb Author: Sam James (sam_c) cmpct info> AuthorDate: Tue May 5 13:13:08 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue May 5 13:30:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad3398f net-irc/anope: Fix patch filenames Adhere to the standards for patch file naming. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/15654 Signed-off-by: Thomas Deutschmann gentoo.org> net-irc/anope/anope-2.0.6.ebuild| 2 +- net-irc/anope/anope-2.0.7.ebuild| 6 +++--- .../{pid-patch.patch => anope-2.0.6-example.conf-pid-path.patch}| 0 ...{example.conf-user.patch => anope-2.0.7-example.conf-user.patch} | 0 .../files/{musl-libintl.patch => anope-2.0.7-musl-libintl.patch}| 0 5 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild index 8bb47e7d54b..1d78f2271b9 100644 --- a/net-irc/anope/anope-2.0.6.ebuild +++ b/net-irc/anope/anope-2.0.6.ebuild @@ -38,7 +38,7 @@ DEPEND="${BDEPEND} tre? ( dev-libs/tre )" RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/pid-patch.patch" ) +PATCHES=( "${FILESDIR}/anope-2.0.6-example.conf-pid-path.patch" ) S="${WORKDIR}/${P}-source" diff --git a/net-irc/anope/anope-2.0.7.ebuild b/net-irc/anope/anope-2.0.7.ebuild index e24c908ab98..1d5f4d67658 100644 --- a/net-irc/anope/anope-2.0.7.ebuild +++ b/net-irc/anope/anope-2.0.7.ebuild @@ -33,9 +33,9 @@ DEPEND=" RDEPEND="${DEPEND}" PATCHES=( - "${FILESDIR}/pid-patch.patch" - "${FILESDIR}/example.conf-user.patch" - "${FILESDIR}/musl-libintl.patch" + "${FILESDIR}/${PN}-2.0.6-example.conf-pid-path.patch" + "${FILESDIR}/${PN}-2.0.7-example.conf-user.patch" + "${FILESDIR}/${PN}-2.0.7-musl-libintl.patch" ) S="${WORKDIR}/${P}-source" diff --git a/net-irc/anope/files/pid-patch.patch b/net-irc/anope/files/anope-2.0.6-example.conf-pid-path.patch similarity index 100% rename from net-irc/anope/files/pid-patch.patch rename to net-irc/anope/files/anope-2.0.6-example.conf-pid-path.patch diff --git a/net-irc/anope/files/example.conf-user.patch b/net-irc/anope/files/anope-2.0.7-example.conf-user.patch similarity index 100% rename from net-irc/anope/files/example.conf-user.patch rename to net-irc/anope/files/anope-2.0.7-example.conf-user.patch diff --git a/net-irc/anope/files/musl-libintl.patch b/net-irc/anope/files/anope-2.0.7-musl-libintl.patch similarity index 100% rename from net-irc/anope/files/musl-libintl.patch rename to net-irc/anope/files/anope-2.0.7-musl-libintl.patch
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 99b65754130ee2787981ee0b45c76f248fb154ef Author: Sam James (sam_c) cmpct info> AuthorDate: Tue May 5 11:53:02 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue May 5 13:05:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b65754 net-irc/anope: Fix build with USE=sql Not all modules are conditional: * m_sqlite.cpp * db_live.cpp ... are always built, so don't create an (incorrect) symlink. Closes: https://bugs.gentoo.org/720984 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sam James (sam_c) cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/15650 Signed-off-by: Thomas Deutschmann gentoo.org> net-irc/anope/anope-2.0.7.ebuild | 2 -- 1 file changed, 2 deletions(-) diff --git a/net-irc/anope/anope-2.0.7.ebuild b/net-irc/anope/anope-2.0.7.ebuild index 02e171b6444..e24c908ab98 100644 --- a/net-irc/anope/anope-2.0.7.ebuild +++ b/net-irc/anope/anope-2.0.7.ebuild @@ -66,8 +66,6 @@ src_prepare() { # Any SQL implementation if use sql ; then anope_enable_mod "m_sql_authentication.cpp" - anope_enable_mod "m_sql.cpp" - anope_enable_mod "m_sql_live.cpp" fi if use ldap ; then
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/, net-irc/anope/files/
commit: dcb698cc426e1285f5aabe2f645b29f7bf135227 Author: Sam James (sam_c) cmpct info> AuthorDate: Tue May 5 11:24:22 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue May 5 13:05:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb698cc net-irc/anope: Fix musl build __USE_GNU_GETTEXT is exposed by musl because they provide a GNU gettext-compatible interface. This doesn't mean they provide all the internals that glibc does. Check for __GLIBC__ if using internal _nl_msg_cat_cntr. Closes: https://bugs.gentoo.org/716658 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Thomas Deutschmann gentoo.org> net-irc/anope/anope-2.0.7.ebuild | 1 + net-irc/anope/files/musl-libintl.patch | 22 ++ 2 files changed, 23 insertions(+) diff --git a/net-irc/anope/anope-2.0.7.ebuild b/net-irc/anope/anope-2.0.7.ebuild index 7761a88223a..02e171b6444 100644 --- a/net-irc/anope/anope-2.0.7.ebuild +++ b/net-irc/anope/anope-2.0.7.ebuild @@ -35,6 +35,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/pid-patch.patch" "${FILESDIR}/example.conf-user.patch" + "${FILESDIR}/musl-libintl.patch" ) S="${WORKDIR}/${P}-source" diff --git a/net-irc/anope/files/musl-libintl.patch b/net-irc/anope/files/musl-libintl.patch new file mode 100644 index 000..f14e494e0c1 --- /dev/null +++ b/net-irc/anope/files/musl-libintl.patch @@ -0,0 +1,22 @@ +diff --git a/src/language.cpp b/src/language.cpp +index 1915378..c1eeea5 100644 +--- a/src/language.cpp b/src/language.cpp +@@ -75,7 +75,7 @@ const char *Language::Translate(const NickCore *nc, const char *string) + + #if GETTEXT_FOUND + +-#ifdef __USE_GNU_GETTEXT ++#if defined(__GLIBC__) + extern "C" int _nl_msg_cat_cntr; + #endif + +@@ -87,7 +87,7 @@ const char *Language::Translate(const char *lang, const char *string) + if (!lang || !*lang) + lang = Config->DefLanguage.c_str(); + +-#ifdef __USE_GNU_GETTEXT ++#if defined(__GLIBC__) + ++_nl_msg_cat_cntr; + #endif +
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/, net-irc/anope/files/
commit: a4a6b4f66ff1ec0a39e687929bdbf47c03a0e637 Author: Sam James (sam_c) cmpct info> AuthorDate: Mon Mar 30 16:46:48 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Apr 11 21:30:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a6b4f6 net-irc/anope: Bump to 2.0.7, GLEP 81 * Bumps version to GLEP 81 * Converts to GLEP 81 * Become proxy-maintainer Signed-off-by: Sam James (sam_c) cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/15253 Signed-off-by: Thomas Deutschmann gentoo.org> net-irc/anope/Manifest | 1 + net-irc/anope/anope-2.0.7.ebuild| 155 net-irc/anope/files/anope-conf.d-v2 | 4 +- net-irc/anope/files/example.conf-user.patch | 13 +++ net-irc/anope/metadata.xml | 25 - 5 files changed, 191 insertions(+), 7 deletions(-) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index fb1c759751e..38d65bf722f 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1 +1,2 @@ DIST anope-2.0.6-source.tar.gz 1792912 BLAKE2B 00c70723c887821d2dda065f9fdb4c4fc79a1534217dd567c2247c3ae9d0b3c1c07a9e1e9d87bfdf5f7f9be212af5139e29710224e02e80154290dd6d4b5ee7c SHA512 c100758d6159023832bc7a4dceb7d554a9b3cd9120b033efc9a93c7ff28e76a086d0594b66b9cd2946b231421217674990f2a3ebaa8a6598c2a25e2dafd1b65b +DIST anope-2.0.7-source.tar.gz 1817484 BLAKE2B 13a4628db8cb885d4636ab1897aab322f7846740e4a3fccd02a417d84a8eb3c942aebf5e0a51f8ca1108f455b44b4e280e7386b42e03f640c9b0e68943252814 SHA512 22a9f3e0d9fe7f68304062829a19b693a3414f94c90f8da601ab98995cbff7310dc22ca40749d50d6722dfb4649817d2f4b1dbe4afa3254b28980f03a491de65 diff --git a/net-irc/anope/anope-2.0.7.ebuild b/net-irc/anope/anope-2.0.7.ebuild new file mode 100644 index 000..7761a88223a --- /dev/null +++ b/net-irc/anope/anope-2.0.7.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Anope IRC Services" +HOMEPAGE="https://anope.org/ https://github.com/anope/anope/; +SRC_URI="https://github.com/anope/anope/releases/download/${PV}/${P}-source.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnutls ldap mysql pcre sql sqlite ssl tre" +REQUIRED_USE=" + sql? ( || ( mysql sqlite ) ) +" + +BDEPEND="sys-devel/gettext" +DEPEND=" + acct-group/anope + acct-user/anope + mysql? ( dev-db/mysql-connector-c:0= ) + ssl? ( dev-libs/openssl:0= ) + gnutls? ( net-libs/gnutls:0= dev-libs/libgcrypt:0= ) + ldap? ( net-nds/openldap ) + pcre? ( dev-libs/libpcre ) + sqlite? ( dev-db/sqlite:3 ) + tre? ( dev-libs/tre ) + virtual/libintl +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/pid-patch.patch" + "${FILESDIR}/example.conf-user.patch" +) + +S="${WORKDIR}/${P}-source" + +src_prepare() { + anope_enable_mod() { + local modulefile=${1} + ln -s "extra/${modulefile}" "modules/" || \ + die "Failed to use ${modulefile}" + } + + # These all require MySQL specifically + if use mysql ; then + anope_enable_mod "m_mysql.cpp" + anope_enable_mod "stats/irc2sql/irc2sql.cpp" + anope_enable_mod "stats/irc2sql/irc2sql.h" + anope_enable_mod "stats/irc2sql/tables.cpp" + anope_enable_mod "stats/irc2sql/utils.cpp" + anope_enable_mod "stats/m_chanstats.cpp" + anope_enable_mod "stats/cs_fantasy_top.cpp" + anope_enable_mod "stats/cs_fantasy_stats.cpp" + anope_enable_mod "m_sql_log.cpp" + anope_enable_mod "m_sql_oper.cpp" + fi + + use sqlite && anope_enable_mod "m_sqlite.cpp" + + # Any SQL implementation + if use sql ; then + anope_enable_mod "m_sql_authentication.cpp" + anope_enable_mod "m_sql.cpp" + anope_enable_mod "m_sql_live.cpp" + fi + + if use ldap ; then + anope_enable_mod "m_ldap.cpp" + anope_enable_mod "m_ldap_authentication.cpp" + anope_enable_mod "m_ldap_oper.cpp" + fi + + use gnutls && anope_enable_mod "m_ssl_gnutls.cpp" + use pcre && anope_enable_mod "m_regex_pcre.cpp" + use ssl && anope_enable_mod "m_ssl_openssl.cpp" + use tre && anope_enable_mod "m_regex_tre.cpp" + + # Unconditional modules + anope_enable_mod "m_regex_posix.cpp" + + # Avoid a silly sandbox error - tries to delete /usr/lib/modules + sed -i '/install.*REMOVE_RECURSE.*/d' CMakeLists.txt || die + + # Copy anope.conf for fixup to comply w/ prefix + cp "${FILESDIR}/anope-conf.d-v2" "${T}" || die + + # Look in the right place for modules + sed -i "s~%LIBDIR%~${EPREFIX}/usr/$(get_libdir)/anope/~" \ + "${T}/anope-conf.d-v2" || die + + cmake_src_prepare +} +
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 28efa0d0e545b62d35f361670ea3c07d6ccdcd6e Author: Michał Górny gentoo org> AuthorDate: Mon Sep 23 07:26:53 2019 + Commit: Michał Górny gentoo org> CommitDate: Mon Sep 23 08:07:09 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28efa0d0 net-irc/anope: Improve USE flag naming Kill meaningless 'anope_modules_' prefix from flags, and replace underscores with hyphens. Closes: https://bugs.gentoo.org/695170 Signed-off-by: Michał Górny gentoo.org> 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 aba8b1f9d11..1cf036e12d8 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" +
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: 6b42c88807ebcee6778d53756b61ea138126b115 Author: David Seifert gentoo org> AuthorDate: Sun Aug 11 11:19:58 2019 + Commit: David Seifert gentoo org> CommitDate: Sun Aug 11 11:19:58 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b42c888 net-irc/anope: [QA] Fix missing trailing slash Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: David Seifert gentoo.org> net-irc/anope/anope-2.0.6.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild index dfdba26b54f..aba8b1f9d11 100644 --- a/net-irc/anope/anope-2.0.6.ebuild +++ b/net-irc/anope/anope-2.0.6.ebuild @@ -53,8 +53,8 @@ pkg_pretend() { eerror "You can do this by:" eerror "# mkdir -p ${ROOT}/var/lib/anope ${ROOT}/etc/anope" eerror "# chown anope:anope ${ROOT}/var/lib/anope" - eerror "# mv ${ROOT}/opt/anope/data/*.db ${ROOT}var/lib/anope" - eerror "# mv ${ROOT}/opt/anope/data/services.conf ${ROOT}etc/anope" + eerror "# mv ${ROOT}/opt/anope/data/*.db ${ROOT}/var/lib/anope" + eerror "# mv ${ROOT}/opt/anope/data/services.conf ${ROOT}/etc/anope" die "Please move your anope database files from /opt/anope/data" fi done
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/files/, net-irc/anope/
commit: 16444ce57e9332a7643c68fb9040e512cd1e7330 Author: Brian Evans gentoo org> AuthorDate: Wed Feb 6 21:02:32 2019 + Commit: Brian Evans gentoo org> CommitDate: Wed Feb 6 21:02:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16444ce5 net-irc/anope: Add default pid path patch Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans gentoo.org> net-irc/anope/anope-2.0.6.ebuild| 2 ++ net-irc/anope/files/pid-patch.patch | 18 ++ 2 files changed, 20 insertions(+) diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild index aad039abb9b..dfdba26b54f 100644 --- a/net-irc/anope/anope-2.0.6.ebuild +++ b/net-irc/anope/anope-2.0.6.ebuild @@ -39,6 +39,8 @@ DEPEND="${BDEPEND} tre? ( dev-libs/tre )" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/pid-patch.patch" ) + S="${WORKDIR}/${P}-source" pkg_pretend() { diff --git a/net-irc/anope/files/pid-patch.patch b/net-irc/anope/files/pid-patch.patch new file mode 100644 index 000..ddf661ba980 --- /dev/null +++ b/net-irc/anope/files/pid-patch.patch @@ -0,0 +1,18 @@ +--- a/data/example.conf2017-03-30 17:00:24.0 -0400 a/data/example.conf2019-02-06 15:16:20.088469043 -0500 +@@ -231,13 +231,13 @@ +* The filename containing the Services process ID. The path is relative to the +* services root directory. +*/ +- pid = "data/services.pid" ++ pid = "/run/anope/services.pid" + + /* +* The filename containing the Message of the Day. The path is relative to the +* services root directory. +*/ +- motd = "conf/services.motd" ++ motd = "/etc/anope/services.motd" + } + + /*
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/files/, net-irc/anope/
commit: 4d7ed8caabbaac6f9f05805fe381b31d2cba095b Author: Brian Evans gentoo org> AuthorDate: Wed Feb 6 20:59:24 2019 + Commit: Brian Evans gentoo org> CommitDate: Wed Feb 6 20:59:24 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7ed8ca net-irc/anope: Drop old Non-maintainer commit Closes: https://bugs.gentoo.org/632430 Closes: https://bugs.gentoo.org/665980 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans gentoo.org> net-irc/anope/Manifest | 1 - net-irc/anope/anope-1.8.7-r2.ebuild| 119 - net-irc/anope/files/anope-1.8.7-ldflags-fix.patch | 47 .../anope/files/anope-1.8.7-libdir-gentoo.patch| 91 net-irc/anope/files/anope-1.8.7-mariadb.patch | 109 --- net-irc/anope/files/anope-conf.d | 8 -- net-irc/anope/files/pid-patch.diff | 11 -- 7 files changed, 386 deletions(-) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index 3a36b042078..fb1c759751e 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1,2 +1 @@ -DIST anope-1.8.7.tar.gz 1586164 BLAKE2B 1efc6c9e719bca6698760d4181e2b96fa9aef5999a27af1c9452aea8ae39a5be7009efc14e5e7ad22426b95eb35952724b737d9de911830f3f69f822ebcc914f SHA512 3fb67f73b8f4dbdfbb9b4ac41a20e3b5c46d54cf5abb303f4a25d3a5863ef860ba5bdffc67439e5f1435675f80f86b2c283932c1a05edde2ae49612947fbd074 DIST anope-2.0.6-source.tar.gz 1792912 BLAKE2B 00c70723c887821d2dda065f9fdb4c4fc79a1534217dd567c2247c3ae9d0b3c1c07a9e1e9d87bfdf5f7f9be212af5139e29710224e02e80154290dd6d4b5ee7c SHA512 c100758d6159023832bc7a4dceb7d554a9b3cd9120b033efc9a93c7ff28e76a086d0594b66b9cd2946b231421217674990f2a3ebaa8a6598c2a25e2dafd1b65b diff --git a/net-irc/anope/anope-1.8.7-r2.ebuild b/net-irc/anope/anope-1.8.7-r2.ebuild deleted file mode 100644 index 82224833f9b..000 --- a/net-irc/anope/anope-1.8.7-r2.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit autotools eutils multilib versionator user - -DESCRIPTION="Anope IRC Services" -HOMEPAGE="http://www.anope.org; -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="mysql" - -DEPEND="mysql? ( virtual/mysql )" -RDEPEND="${DEPEND}" - -pkg_pretend() { - local replaced_version - for replaced_version in ${REPLACING_VERSIONS} ; do - if ! version_is_at_least 1.8.7 ${replaced_version} && [[ -f ${ROOT}opt/anope/data/nick.db ]]; then - eerror "It looks like you have an older version of Anope installed." - eerror "To upgrade, shut down Anope and copy your databases to" - eerror "${ROOT}var/lib/anope and your configuration to ${ROOT}etc/anope" - eerror "You can do this by:" - eerror "# mkdir -p ${ROOT}var/lib/anope ${ROOT}etc/anope" - eerror "# chown anope:anope ${ROOT}var/lib/anope" - eerror "# mv ${ROOT}opt/anope/data/*.db ${ROOT}var/lib/anope" - eerror "# mv ${ROOT}opt/anope/data/services.conf ${ROOT}etc/anope" - die "Please move your anope database files from /opt/anope/data" - fi - done -} - -pkg_setup() { - enewgroup anope - enewuser anope -1 -1 -1 anope -} - -src_prepare() { - epatch "${FILESDIR}/pid-patch.diff" - epatch "${FILESDIR}/${P}-ldflags-fix.patch" - epatch "${FILESDIR}/${P}-libdir-gentoo.patch" - epatch "${FILESDIR}"/${P}-mariadb.patch # bug 381119 - eautoconf -} - -src_configure() { - local myconf - if ! use mysql; then - myconf="${myconf} --without-mysql" - fi - - econf \ - ${myconf} \ - --with-bindir=/usr/bin/ \ - --with-datadir=/var/lib/anope \ - --with-libdir=/usr/$(get_libdir)/anope/ \ - --with-rungroup=anope \ - --with-permissions=077 - - sed -i -e "/^build:/s:$: language:g" "${S}"/Makefile || die "sed failed" -} - -src_install() { - keepdir /var/log/anope /var/lib/anope/backups - fowners anope:anope /var/{lib,log}/anope /var/lib/anope/backups - - local baselibdir - baselibdir="${D}/usr/$(get_libdir)/anope" - - dodir /usr/$(get_libdir)/anope/{lang,modules} - emake DATDEST="${baselibdir}" \ - BINDEST="${D}/usr/bin" \ - MODULE_PATH="${baselibdir}/modules" \ - install - - newinitd "${FILESDIR}/anope-init.d" anope - newconfd "${FILESDIR}/anope-conf.d" anope - - dodoc Changes Changes.conf Changes.lang Changes.mysql docs/* data/example.conf - use mysql && dodoc data/tables.sql - - insinto
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/files/, net-irc/anope/
commit: 1eb2b264d55d3f76f745ff36ef065c08458933fd Author: Brian Evans gentoo org> AuthorDate: Wed Feb 6 20:51:08 2019 + Commit: Brian Evans gentoo org> CommitDate: Wed Feb 6 20:51:08 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb2b264 net-irc/anope: Version bump Non-maintainer commit Based heavily off of Palme's ebuild in the bug Closes: https://bugs.gentoo.org/420613 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans gentoo.org> net-irc/anope/Manifest | 1 + net-irc/anope/anope-2.0.6.ebuild| 157 net-irc/anope/files/anope-conf.d-v2 | 9 +++ net-irc/anope/metadata.xml | 15 4 files changed, 182 insertions(+) diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest index c166c738a00..3a36b042078 100644 --- a/net-irc/anope/Manifest +++ b/net-irc/anope/Manifest @@ -1 +1,2 @@ DIST anope-1.8.7.tar.gz 1586164 BLAKE2B 1efc6c9e719bca6698760d4181e2b96fa9aef5999a27af1c9452aea8ae39a5be7009efc14e5e7ad22426b95eb35952724b737d9de911830f3f69f822ebcc914f SHA512 3fb67f73b8f4dbdfbb9b4ac41a20e3b5c46d54cf5abb303f4a25d3a5863ef860ba5bdffc67439e5f1435675f80f86b2c283932c1a05edde2ae49612947fbd074 +DIST anope-2.0.6-source.tar.gz 1792912 BLAKE2B 00c70723c887821d2dda065f9fdb4c4fc79a1534217dd567c2247c3ae9d0b3c1c07a9e1e9d87bfdf5f7f9be212af5139e29710224e02e80154290dd6d4b5ee7c SHA512 c100758d6159023832bc7a4dceb7d554a9b3cd9120b033efc9a93c7ff28e76a086d0594b66b9cd2946b231421217674990f2a3ebaa8a6598c2a25e2dafd1b65b diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild new file mode 100644 index 000..aad039abb9b --- /dev/null +++ b/net-irc/anope/anope-2.0.6.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils user + +DESCRIPTION="Anope IRC Services" +HOMEPAGE="https://anope.org; +SRC_URI="https://github.com/anope/anope/releases/download/${PV}/${P}-source.tar.gz; + +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" + +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 )" + +BDEPEND="sys-devel/gettext" +DEPEND="${BDEPEND} + mysql? ( dev-db/mysql-connector-c:0= ) + ssl? ( dev-libs/openssl:0= ) + gnutls? ( net-libs/gnutls:0= dev-libs/libgcrypt:0= ) + ldap? ( net-nds/openldap ) + pcre? ( dev-libs/libpcre ) + sqlite? ( dev-db/sqlite:3 ) + tre? ( dev-libs/tre )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}-source" + +pkg_pretend() { + local replaced_version + for replaced_version in ${REPLACING_VERSIONS} ; do + if ver_test ${replaced_version} -lt 1.8.7 && [[ -f ${ROOT}/opt/anope/data/nick.db ]]; then + eerror "It looks like you have an older version of Anope installed." + eerror "To upgrade, shut down Anope and copy your databases to" + eerror "${ROOT}/var/lib/anope and your configuration to ${ROOT}/etc/anope" + eerror "You can do this by:" + eerror "# mkdir -p ${ROOT}/var/lib/anope ${ROOT}/etc/anope" + eerror "# chown anope:anope ${ROOT}/var/lib/anope" + eerror "# mv ${ROOT}/opt/anope/data/*.db ${ROOT}var/lib/anope" + eerror "# mv ${ROOT}/opt/anope/data/services.conf ${ROOT}etc/anope" + die "Please move your anope database files from /opt/anope/data" + fi + done +} + +pkg_setup() { + enewgroup anope + enewuser anope -1 -1 -1 anope +} + +src_prepare() { + anope_use_extra() { + local useflag=$1 + local modulefile=$2 + if use $useflag; then + ln -s "extra/${modulefile}" "modules/" || \ + die "Failed to use ${modulefile}" + 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
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/
commit: a19bc0124077104768efe4cac5ae068203cc1a0a Author: Pacho Ramos gentoo org> AuthorDate: Tue Mar 13 11:55:14 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Tue Mar 13 11:59:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19bc012 net-irc/anope: Update maintainer due to bug #96159 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-irc/anope/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/net-irc/anope/metadata.xml b/net-irc/anope/metadata.xml index a107dd71b69..52f9787ecc7 100644 --- a/net-irc/anope/metadata.xml +++ b/net-irc/anope/metadata.xml @@ -1,10 +1,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - gurlige...@gentoo.org - Bjarke Istrup Pedersen - Anope IRC Services anope
[gentoo-commits] repo/gentoo:master commit in: net-irc/anope/files/, net-irc/anope/
commit: 514f72a3500d571c4333ebf7424d6e0c68603b25 Author: Bjarke Istrup Pedersen gentoo org> AuthorDate: Mon Sep 7 20:19:08 2015 + Commit: Bjarke Istrup Pedersen gentoo org> CommitDate: Mon Sep 7 20:19:25 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514f72a3 net-irc/anope: make init script use ircd Package-Manager: portage-2.2.20.1 net-irc/anope/{anope-1.8.7-r1.ebuild => anope-1.8.7-r2.ebuild} | 2 +- net-irc/anope/files/anope-init.d | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/net-irc/anope/anope-1.8.7-r1.ebuild b/net-irc/anope/anope-1.8.7-r2.ebuild similarity index 98% rename from net-irc/anope/anope-1.8.7-r1.ebuild rename to net-irc/anope/anope-1.8.7-r2.ebuild index 95b969e..9f0afbc 100644 --- a/net-irc/anope/anope-1.8.7-r1.ebuild +++ b/net-irc/anope/anope-1.8.7-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-irc/anope/files/anope-init.d b/net-irc/anope/files/anope-init.d index 6523007..f8d73c6 100644 --- a/net-irc/anope/files/anope-init.d +++ b/net-irc/anope/files/anope-init.d @@ -7,6 +7,10 @@ PIDFILE=/run/anope/services.pid extra_started_commands="reload" +depend() { + use ircd +} + start_pre() { checkpath -o ${ANOPE_USER} -d "$(dirname $PIDFILE)" }