net-irc/inspircd: drop 3.18.0

InspIRCd 3.x is EoL as per the announcement on InspIRCd.org, so remove the
3.18.0 ebuild.

Note that despite pkgcheck scan's warning I've retained the tre USE flag
as the flag is re-added in upcoming 4.9.0.

Signed-off-by: Wade Cline <wadecline@hotmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45254
Closes: https://github.com/gentoo/gentoo/pull/45254
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Wade Cline
2026-01-04 16:31:24 -08:00
committed by Sam James
parent 4b4ab4a4cf
commit 83104632ce
3 changed files with 0 additions and 116 deletions

View File

@@ -1,5 +1,3 @@
DIST inspircd-3.18.0-fix-build-paths.patch.bz2 4698 BLAKE2B 972ee63337cb4eb67f1e87b92864af08289e4c0ae9005c970ba9ecf550e33e0b78ed8872ca1fe0dc9fd0e11b08f74c9d1ad3a5336bb12b7e6d22e8da61598430 SHA512 f92d08f95db73eef71f6c6bce3134017389157e1d2c24b6d2002ec91f015f72fbecc0b29e6c444861a54c74415ad74cf44a6c2aef6a1b43091378c818f27e37d
DIST inspircd-3.18.0.tar.gz 881536 BLAKE2B d0241840338fe7d1b71809ecec1e5f99eedf8d7114dad61fd37d85372ec3f8f05c1e0250bd4a04300189c6a4fc0e97a8deff211c26618751a6768b0467b53c5e SHA512 14ee48021f69084b09c09c6660ffdba4368eada488aa90ae47ac783c84bd07e3fb5f2c97aecdfe09d6952be779eac792cfd80ea7e53ed1c129f56f7df57a46db
DIST inspircd-4.8.0-fix-build-paths.patch.bz2 4420 BLAKE2B e9c4380d6970a90c71960c382fd1407718a82c6648d310458eeb018b82189ffcc0a64825546cf302855198df4bf5823f684f280a6264935e07236f511275e733 SHA512 ec215340aa689c08ac7655d781c14f28196537477391cc6bde1df74fa67b1d5eeb9dd9f37cab452de50c2c6c005cc46327eff1829f84e71aa10f4f7880885f5b
DIST inspircd-4.8.0.tar.gz 989574 BLAKE2B 9e2323b8ee222365d7fc858821e80f7e1cafc2465ed2b476d336efcc636159e1e7cd78be62d9723e220715b0cdcc9a542be7a08ca3ca69933d2751d34ff70a1a SHA512 3979061b7c4f3a17ae313cfcf6189a153b93206cac6cd59c90517808ef475aff593c48af2fb559766ebc0a8b95736a4a9e7b01ba560b11ab4e9cfe1a083dbc7a
DIST inspircd-4.9.0-fix-build-paths.patch.bz2 4451 BLAKE2B 3a686bc6b998ce6cb227e2956f1eeba48299fb461fbebc348d582d26892194650e5a965836f9e06415d13fd7ad02f3320d06bb1ad0efdf8b2437bc315906e2c1 SHA512 eaaeac7c414c215bf5cb8206cffbf3d42ce92400e7095bbddfd96b1c4fc06d178fd363b1e7dce415edaf2fbf0117681fb8b0c77f2092f3a1eac09994bd1d77ff

View File

@@ -1,112 +0,0 @@
# Copyright 1999-2025 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 maxminddb mbedtls mysql pcre pcre2 postgres re2 regex-posix regex-stdlib sqlite ssl sslrehashsignal tre"
RDEPEND="
acct-group/inspircd
acct-user/inspircd
dev-lang/perl
argon2? ( app-crypt/argon2 )
gnutls? ( net-libs/gnutls:= dev-libs/libgcrypt:0 )
ldap? ( net-nds/openldap:= )
maxminddb? ( dev-libs/libmaxminddb:= )
mbedtls? ( net-libs/mbedtls:0= )
mysql? ( dev-db/mysql-connector-c:= )
pcre? ( dev-libs/libpcre )
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 maxminddb && extras+="geo_maxmind,"
use mbedtls && extras+="ssl_mbedtls,"
use mysql && extras+="mysql,"
use pcre && extras+="regex_pcre,"
use pcre2 && extras+="regex_pcre2,"
use postgres && extras+="pgsql,"
use re2 && extras+="regex_re2,"
use regex-posix && extras+="regex_posix,"
use regex-stdlib && extras+="regex_stdlib,"
use sqlite && extras+="sqlite3,"
use ssl && extras+="ssl_openssl,"
use sslrehashsignal && extras+="sslrehashsignal,"
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
}

View File

@@ -16,11 +16,9 @@
<flag name="gnutls">Enable TLS support</flag>
<flag name="log-json">Enable logging via JSON</flag>
<flag name="maxminddb">Enable geolocation support via <pkg>dev-libs/libmaxminddb</pkg></flag>
<flag name="mbedtls">Add support for TLS using the mbedTLS library</flag>
<flag name="pcre2">Add support for Perl Compatible Regular Expressions 2</flag>
<flag name="re2">Add support for Google RE2 regular expressions library</flag>
<flag name="regex-posix">Add support for POSIX Regular Expressions</flag>
<flag name="regex-stdlib">Add support for C++ stdlib regular expressions</flag>
<flag name="ssl">Enable SSL support</flag>
<flag name="sslrehashsignal">Enable rehashing SSL module by SIGUSR1</flag>
<flag name="tre">Enable support for TRE, a lightweight, robust, and efficient POSIX compliant regexp matching library</flag>