net-irc/inspircd: drop 4.9.0

Bug: https://bugs.gentoo.org/977038
Signed-off-by: Wade Cline <wadecline@hotmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/46436
Closes: https://github.com/gentoo/gentoo/pull/46436
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Wade Cline
2026-06-18 19:04:23 -07:00
committed by Sam James
parent e9a2ad19fd
commit ccca099222
2 changed files with 0 additions and 117 deletions

View File

@@ -1,4 +1,2 @@
DIST inspircd-4.11.0-fix-build-paths.patch.bz2 4419 BLAKE2B 1a77e8882471ff66ade81cd207deab1caa037b3b7596f70405dd294199fc800bb7e640067e319b6c6e4ac6f529f8618117c05dbb266906ab9b0c7a643cf7a29c SHA512 b09b6911ca3f5fe7d5c1c2ca4850aed603b4ffd9b55e55363e6ddc33c2d4488311331ec66c7a21fde01a4efe5922cdc29c6363612b5deb4a8eab00f7e31eb1dd
DIST inspircd-4.11.0.tar.gz 1009439 BLAKE2B c935df06da547dc483264e67ba48498eb32c60fa6a653e2680ccdf3f01436d1f0da705ae3bd8c9b539e8bc1b2eded3da625b7c4b8a8bec3e36d11096c105b179 SHA512 622c914479d42cb9eb6252b9cd2f76cfb9ed513c210aa9cf45f0c1068e9b52a7de1ec8eb3c2be34dfcc22a51f1c7e2572de5a8811c23da190c8661bdffda5cd7
DIST inspircd-4.9.0-fix-build-paths.patch.bz2 4451 BLAKE2B 3a686bc6b998ce6cb227e2956f1eeba48299fb461fbebc348d582d26892194650e5a965836f9e06415d13fd7ad02f3320d06bb1ad0efdf8b2437bc315906e2c1 SHA512 eaaeac7c414c215bf5cb8206cffbf3d42ce92400e7095bbddfd96b1c4fc06d178fd363b1e7dce415edaf2fbf0117681fb8b0c77f2092f3a1eac09994bd1d77ff
DIST inspircd-4.9.0.tar.gz 999212 BLAKE2B 7a75c7dad8fd9528b38a0b54906a74110f74ee9e2cb2c78d80f04f170532a1ce60516a866056258188b723eb80378d0c461eb22d760c27d61456ecef76b82c9b SHA512 7b546fab6203651b2b9fdf56ed758fc8ff57b48f1ad00b17004a616a2ffc6d4f9cb3d1cc6e443db2ca51b9e9244e49ea573145c112d55efd2ae3f34e3cdd65fe

View File

@@ -1,115 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit readme.gentoo-r1 systemd toolchain-funcs
DESCRIPTION="Inspire IRCd - The Stable, High-Performance Modular IRCd"
HOMEPAGE="https://www.inspircd.org/"
SRC_URI="
https://github.com/inspircd/inspircd/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/clinew/gentoo-distfiles/raw/master/inspircd-${PV}-fix-build-paths.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
IUSE="argon2 debug gnutls ldap log-json maxminddb mysql pcre2 postgres re2 regex-posix sqlite ssl sslrehashsignal syslog tre"
RDEPEND="
acct-group/inspircd
acct-user/inspircd
dev-lang/perl
net-libs/libpsl
argon2? ( app-crypt/argon2 )
gnutls? ( net-libs/gnutls:= dev-libs/libgcrypt:0 )
ldap? ( net-nds/openldap:= )
log-json? ( dev-libs/yyjson )
maxminddb? ( dev-libs/libmaxminddb:= )
mysql? ( dev-db/mysql-connector-c:= )
pcre2? ( dev-libs/libpcre2 )
postgres? ( dev-db/postgresql:= )
re2? ( dev-libs/re2:= )
sqlite? ( >=dev-db/sqlite-3.0 )
ssl? ( dev-libs/openssl:= )
tre? ( dev-libs/tre )"
DEPEND="${RDEPEND}"
DOC_CONTENTS="
You will find example configuration files under /usr/share/doc/${PN}.\n
Read the ${PN}.conf file carefully before starting the service."
DOCS=( docs/. .configure/apparmor )
PATCHES=( "${WORKDIR}"/${P}-fix-build-paths.patch )
src_configure() {
local extras=""
use argon2 && extras+="argon2,"
use gnutls && extras+="ssl_gnutls,"
use ldap && extras+="ldap,"
use log-json && extras+="log_json,"
use maxminddb && extras+="geo_maxmind,"
use mysql && extras+="mysql,"
use pcre2 && extras+="regex_pcre2,"
use postgres && extras+="pgsql,"
use re2 && extras+="regex_re2,"
use regex-posix && extras+="regex_posix,"
use sqlite && extras+="sqlite3,"
use ssl && extras+="ssl_openssl,"
use sslrehashsignal && extras+="sslrehashsignal,"
use syslog && extras+="log_syslog,"
use tre && extras+="regex_tre,"
# The first configuration run enables certain "extra" InspIRCd
# modules, the second run generates the actual makefile.
if [[ -n ${extras} ]]; then
./configure --enable-extras=${extras%,} || die
fi
local myconf=(
--disable-auto-extras
--disable-ownership
--system
--uid ${PN}
--gid ${PN}
--binary-dir="/usr/bin"
--data-dir="/var/lib/${PN}/data"
--example-dir="/usr/share/doc/${P}"
--manual-dir="/usr/share/man"
--module-dir="/usr/$(get_libdir)/${PN}/modules")
CXX="$(tc-getCXX)" ./configure "${myconf[@]}" || die
}
src_compile() {
emake LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" $(usev debug INSPIRCD_DEBUG=2) INSPIRCD_VERBOSE=1
}
src_install() {
default
insinto "/usr/include/${PN}"
doins -r include/.
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
systemd_dounit .configure/inspircd.service
keepdir "/var/log/${PN}"
insinto "/etc/logrotate.d"
newins .configure/logrotate "${PN}"
diropts -o"${PN}" -g"${PN}" -m0700
keepdir "/var/lib/${PN}/data"
readme.gentoo_create_doc
rmdir "${ED}"/run{/inspircd,} || die
}
pkg_postinst() {
readme.gentoo_print_elog
if has_version "net-irc/atheme-services"; then
ewarn "Atheme does not work with InspIRCd version 4"
ewarn "See: https://github.com/atheme/atheme/issues/904"
fi
}