diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
| commit | f716a9fe6455d39eef01e718aae68dae61c19704 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /net-irc/anope | |
| parent | 3f9cf298e89cd5037b982abba06091224ee76daf (diff) | |
| download | baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip | |
Adding metadata
Diffstat (limited to 'net-irc/anope')
| -rw-r--r-- | net-irc/anope/Manifest | 2 | ||||
| -rw-r--r-- | net-irc/anope/anope-2.0.14.ebuild | 148 | ||||
| -rw-r--r-- | net-irc/anope/anope-2.0.18.ebuild | 148 | ||||
| -rw-r--r-- | net-irc/anope/files/anope-2.0.6-example.conf-pid-path.patch | 18 | ||||
| -rw-r--r-- | net-irc/anope/files/anope-2.0.7-example.conf-user.patch | 13 | ||||
| -rw-r--r-- | net-irc/anope/files/anope-conf.d-v2 | 9 | ||||
| -rw-r--r-- | net-irc/anope/files/anope-init.d | 37 | ||||
| -rw-r--r-- | net-irc/anope/metadata.xml | 22 |
8 files changed, 0 insertions, 397 deletions
diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest deleted file mode 100644 index 94a360116e97..000000000000 --- a/net-irc/anope/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST anope-2.0.14.tar.gz 1642605 BLAKE2B 0c741a0f214a3807dcfaa1a90f63d922549c92904cb632432129ca1f252f182037882b954d4ef3d8d1417d00ebd96de58528a3916aac24a556507872df326408 SHA512 0dfa71a8ecd164fb8bf2864ac13969610b8fcd0ec9dea2e65dabc2d8808fe392f966d08dfffce31410344ea5a1ab88d85e9083b4ce25003a699adf0f3649b08d -DIST anope-2.0.18.tar.gz 1656281 BLAKE2B 1f2198262344400fc28099623c88f30aebe64c079b89c0819bdf14f14114e4970a3dc380da0c8bda2fd9d516590334c25055703a6f6dd4e4dd325f78ffa9670e SHA512 d3244e2bea305ba94bcd7f9c9c4f571251069e6554678cc0285668e690c6bfb1a314e9a9e405e2a4ed2652373fda1ed863d51b95ca60fc2c97ff0a6a4ebfecc6 diff --git a/net-irc/anope/anope-2.0.14.ebuild b/net-irc/anope/anope-2.0.14.ebuild deleted file mode 100644 index 1da9d273b863..000000000000 --- a/net-irc/anope/anope-2.0.14.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake eapi9-ver - -DESCRIPTION="Anope IRC Services" -HOMEPAGE="https://www.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:= ) - ssl? ( dev-libs/openssl:= ) - gnutls? ( - net-libs/gnutls:= - dev-libs/libgcrypt:= - ) - ldap? ( net-nds/openldap:= ) - pcre? ( dev-libs/libpcre2 ) - 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_pcre2.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/" - ) - - # https://gitlab.kitware.com/cmake/cmake/-/issues/24237 - # https://bugs.anope.org/view.php?id=1753 - unset CLICOLOR CLICOLOR_FORCE CMAKE_COMPILER_COLOR_DIAGNOSTICS CMAKE_COLOR_DIAGNOSTICS - - cmake_src_configure -} - -src_install() { - cmake_src_install - - newinitd "${FILESDIR}"/anope-init.d ${PN} - newconfd "${T}"/anope-conf.d-v2 ${PN} - - dosym ../libexec/anope/services /usr/bin/services - dosym ../libexec/anope/anopesmtp /usr/bin/anopesmtp - - keepdir /var/log/anope /var/lib/anope/backups - fowners anope:anope /var/{lib,log}/anope /var/lib/anope/backups - - dodoc -r docs/* data/example.conf - - insinto /etc/anope - newins data/example.conf services.conf - - fowners anope:anope /var/log/anope - fowners anope:anope /var/lib/anope/backups/ -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]] ; then - # Only tell them about this on a fresh install. - ewarn "Anope won't run out of the box, you still have to configure it to match your IRCd's configuration." - ewarn "Edit /etc/anope/services.conf to configure Anope." - elif ver_replacing -lt 2.0.7 ; then - # In this version, we introduced correct FHS structure - # We need the users to make some changes to their services.conf - ewarn "Please modify your services.conf to include the following directive:" - ewarn "in options{}, please include user=\"anope\" and group=\"anope\"" - ewarn "This is needed because Anope now starts as root and drops down." - ewarn "Reference: https://wiki.anope.org/index.php/2.0/Configuration#Services_Process_Options" - fi -} diff --git a/net-irc/anope/anope-2.0.18.ebuild b/net-irc/anope/anope-2.0.18.ebuild deleted file mode 100644 index 1da9d273b863..000000000000 --- a/net-irc/anope/anope-2.0.18.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake eapi9-ver - -DESCRIPTION="Anope IRC Services" -HOMEPAGE="https://www.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:= ) - ssl? ( dev-libs/openssl:= ) - gnutls? ( - net-libs/gnutls:= - dev-libs/libgcrypt:= - ) - ldap? ( net-nds/openldap:= ) - pcre? ( dev-libs/libpcre2 ) - 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_pcre2.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/" - ) - - # https://gitlab.kitware.com/cmake/cmake/-/issues/24237 - # https://bugs.anope.org/view.php?id=1753 - unset CLICOLOR CLICOLOR_FORCE CMAKE_COMPILER_COLOR_DIAGNOSTICS CMAKE_COLOR_DIAGNOSTICS - - cmake_src_configure -} - -src_install() { - cmake_src_install - - newinitd "${FILESDIR}"/anope-init.d ${PN} - newconfd "${T}"/anope-conf.d-v2 ${PN} - - dosym ../libexec/anope/services /usr/bin/services - dosym ../libexec/anope/anopesmtp /usr/bin/anopesmtp - - keepdir /var/log/anope /var/lib/anope/backups - fowners anope:anope /var/{lib,log}/anope /var/lib/anope/backups - - dodoc -r docs/* data/example.conf - - insinto /etc/anope - newins data/example.conf services.conf - - fowners anope:anope /var/log/anope - fowners anope:anope /var/lib/anope/backups/ -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]] ; then - # Only tell them about this on a fresh install. - ewarn "Anope won't run out of the box, you still have to configure it to match your IRCd's configuration." - ewarn "Edit /etc/anope/services.conf to configure Anope." - elif ver_replacing -lt 2.0.7 ; then - # In this version, we introduced correct FHS structure - # We need the users to make some changes to their services.conf - ewarn "Please modify your services.conf to include the following directive:" - ewarn "in options{}, please include user=\"anope\" and group=\"anope\"" - ewarn "This is needed because Anope now starts as root and drops down." - ewarn "Reference: https://wiki.anope.org/index.php/2.0/Configuration#Services_Process_Options" - fi -} diff --git a/net-irc/anope/files/anope-2.0.6-example.conf-pid-path.patch b/net-irc/anope/files/anope-2.0.6-example.conf-pid-path.patch deleted file mode 100644 index ddf661ba9803..000000000000 --- a/net-irc/anope/files/anope-2.0.6-example.conf-pid-path.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/data/example.conf 2017-03-30 17:00:24.000000000 -0400 -+++ a/data/example.conf 2019-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" - } - - /* diff --git a/net-irc/anope/files/anope-2.0.7-example.conf-user.patch b/net-irc/anope/files/anope-2.0.7-example.conf-user.patch deleted file mode 100644 index 7f7a3826cb10..000000000000 --- a/net-irc/anope/files/anope-2.0.7-example.conf-user.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/data/example.conf -+++ b/data/example.conf -@@ -375,8 +375,8 @@ - * On Linux/UNIX systems Anope can setuid and setgid to this user and group - * after starting up. This is useful if Anope has to bind to privileged ports - */ -- #user = "anope" -- #group = "anope" -+ user = "anope" -+ group = "anope" - - /* - * The case mapping used by services. This must be set to a valid locale name diff --git a/net-irc/anope/files/anope-conf.d-v2 b/net-irc/anope/files/anope-conf.d-v2 deleted file mode 100644 index 0eeabdbbb685..000000000000 --- a/net-irc/anope/files/anope-conf.d-v2 +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# user to run anope as -ANOPE_USER="anope" - -# Additional commandline parameters -ANOPE_OPTS="--confdir=/etc/anope --logdir=/var/log/anope --dbdir=/var/lib/anope" -ANOPE_OPTS="${ANOPE_OPTS} --localedir=/usr/share/locale --modulesdir=%LIBDIR%" diff --git a/net-irc/anope/files/anope-init.d b/net-irc/anope/files/anope-init.d deleted file mode 100644 index 2cca4925ef84..000000000000 --- a/net-irc/anope/files/anope-init.d +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PIDFILE=/run/anope/services.pid - -extra_started_commands="reload" - -depend() { - use ircd -} - -start_pre() { - checkpath -o ${ANOPE_USER} -d "$(dirname $PIDFILE)" -} - -start() { - ebegin "Starting Anope IRC Services" - start-stop-daemon --start --exec /usr/bin/services \ - --user ${ANOPE_USER} --pidfile ${PIDFILE} \ - -- ${ANOPE_OPTS} - eend $? -} - -stop() { - ebegin "Stopping Anope IRC Services" - start-stop-daemon --stop --pidfile ${PIDFILE} - eend $? -} - -reload() { - ebegin "Reloading Anope IRC Services" - start-stop-daemon --signal USR2 --exec /usr/bin/services \ - --pidfile ${PIDFILE} - eend $? -} - diff --git a/net-irc/anope/metadata.xml b/net-irc/anope/metadata.xml deleted file mode 100644 index 56f3235984ba..000000000000 --- a/net-irc/anope/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>sam@gentoo.org</email> - <name>Sam James</name> - </maintainer> - <longdescription> - Anope IRC Services provide user and channel management services for an - IRC server. It is a well-known package which continues to be actively - developed. It has support for multiple different IRCd linking protocols. - </longdescription> - <upstream> - <remote-id type="github">anope/anope</remote-id> - </upstream> - <use> - <flag name="ldap">Build LDAP modules for e.g. opertypes</flag> - <flag name="ssl">Provide SSL services using OpenSSL</flag> - <flag name="sql">Build modules which require SQL</flag> - <flag name="tre">Use <pkg>dev-libs/tre</pkg> for regular expressions</flag> - </use> -</pkgmetadata> |
