From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE7ED1581FD for ; Sat, 06 Sep 2025 15:26:48 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D76A6335D6B for ; Sat, 06 Sep 2025 15:26:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id CFCD3110379; Sat, 06 Sep 2025 15:26:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C51E5110379 for ; Sat, 06 Sep 2025 15:26:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D8E5335D6B for ; Sat, 06 Sep 2025 15:26:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 276791E46 for ; Sat, 06 Sep 2025 15:26:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1757172383.2e9b992f553e599bdcc1878eb94d0a7618b7c9e7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/inspircd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/inspircd/Manifest net-irc/inspircd/inspircd-4.8.0.ebuild X-VCS-Directories: net-irc/inspircd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2e9b992f553e599bdcc1878eb94d0a7618b7c9e7 X-VCS-Branch: master Date: Sat, 06 Sep 2025 15:26:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 69bb9cbf-55e8-44e2-a283-17191d718559 X-Archives-Hash: 5662dde3277ac04fd990dfb33367f279 commit: 2e9b992f553e599bdcc1878eb94d0a7618b7c9e7 Author: Wade Cline hotmail com> AuthorDate: Mon Aug 18 06:46:17 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 6 15:26:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e9b992f net-irc/inspircd: add 4.8.0 Signed-off-by: Wade Cline hotmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43555 Signed-off-by: Sam James gentoo.org> net-irc/inspircd/Manifest | 2 + net-irc/inspircd/inspircd-4.8.0.ebuild | 113 +++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest index 273e2aa090ac..4e36a11415fe 100644 --- a/net-irc/inspircd/Manifest +++ b/net-irc/inspircd/Manifest @@ -4,3 +4,5 @@ DIST inspircd-4.6.0-fix-build-paths.patch.bz2 4512 BLAKE2B e0ec7318e6ca3edb3ef64 DIST inspircd-4.6.0.tar.gz 1024697 BLAKE2B a22ba1a2603b0de6117198a540770cf5c51c96d9ad87b07b93f0604a03f6238c4b3bc5eaf5d2b083f3117b2b09e6cdef1d154475cf2f4f4ed291203cc098d638 SHA512 559eab2d00934e621e9613b383aff10a21ea94800c2dcbf3647d4d2b2a4aede5ef0e50aef79bf146efee00bff856899bd0ca2f8c2ce77d521506ac8576cdce28 DIST inspircd-4.7.0-fix-build-paths.patch.bz2 4504 BLAKE2B 31cfeeba12829ff193310c47b4d393b33c08096bf1ae268717e65ec3db3fde5762e142a1d9604f102c9eddd7d7916df3f92827f6bc81bddf1a2f78fed464ca47 SHA512 98044e50acee21a02a1177326afc7e43b28129bcd025013a3654ded94c2420e3633cf6335e539faaf2af82507f76f53d1553b09a1f7e53a61aa035a1bde67502 DIST inspircd-4.7.0.tar.gz 1027351 BLAKE2B 74e02c00c2a1cadad7eb29acdeb19cf6217b58c2070f35702e4407cbbb5e41654cb09a5902cb4169a09764e9a062438a8d7725c60e9e17655c881261545b5a57 SHA512 547ffc24f5a3fcb4de41b10861144e2f458c50590eddad2e9491a4d569fb5b2d3f7f6efca8dcf26d999fb5340bf890075fcb5a12db4a0ff4df5d431a556afdcd +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 diff --git a/net-irc/inspircd/inspircd-4.8.0.ebuild b/net-irc/inspircd/inspircd-4.8.0.ebuild new file mode 100644 index 000000000000..8c393d7d475f --- /dev/null +++ b/net-irc/inspircd/inspircd-4.8.0.ebuild @@ -0,0 +1,113 @@ +# 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 log-json maxminddb mysql pcre2 postgres re2 regex-posix sqlite ssl sslrehashsignal syslog" + +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:= )" +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," + + # 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 +}