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 020D11582EF for ; Mon, 03 Mar 2025 07:37:49 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D94703430CA for ; Mon, 03 Mar 2025 07:37:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D5C461102D0; Mon, 03 Mar 2025 07:37:48 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id CD73B1102D0 for ; Mon, 03 Mar 2025 07:37:48 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B8C534300A for ; Mon, 03 Mar 2025 07:37:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF0E6163F for ; Mon, 03 Mar 2025 07:37:46 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1740986192.ec4b454f5de402cd75106e51ffe6d0c32c65b902.juippis@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-3.18.0.ebuild X-VCS-Directories: net-irc/inspircd/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: ec4b454f5de402cd75106e51ffe6d0c32c65b902 X-VCS-Branch: master Date: Mon, 03 Mar 2025 07:37: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: 188a7394-b9ac-4a33-82ec-8bbc9cdeb16f X-Archives-Hash: d048a1c5f5010537b48c2d18834141eb commit: ec4b454f5de402cd75106e51ffe6d0c32c65b902 Author: Wade Cline hotmail com> AuthorDate: Mon Jan 20 23:07:17 2025 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Mar 3 07:16:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4b454f net-irc/inspircd: add 3.18.0 Signed-off-by: Wade Cline hotmail.com> Closes: https://github.com/gentoo/gentoo/pull/40236 Signed-off-by: Joonas Niilola gentoo.org> net-irc/inspircd/Manifest | 2 + net-irc/inspircd/inspircd-3.18.0.ebuild | 112 ++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest index 8c74dd0f447e..67b4436624b2 100644 --- a/net-irc/inspircd/Manifest +++ b/net-irc/inspircd/Manifest @@ -1,5 +1,7 @@ DIST inspircd-3.17.1-fix-build-paths.patch.bz2 4689 BLAKE2B ca479cde2278e3605d31177d658f33ad56f847a5ccae7898e0e739e803323aa6b3137fa8e27bc5191fea4087d0d8c08a6818290e663eacd6f9c7a38fe53d9699 SHA512 103f97f4ce810ebc4b8fce54b4379dcee3aec68e75f5e1569825770b09a961a9d73e0da3a5eb97fa4153a5a2ab69478c60ed531bd84f36a59517de05cf10aeb9 DIST inspircd-3.17.1.tar.gz 881389 BLAKE2B 30e6dc24e8e517a71b3a582c3e2c92ef1e52f8a52e1b4acace79537bbf6ae04f904be0f55a96bc65acdbb386d5fbf80c5fcec88cbbb5f74f4f5f15bdb0ca701c SHA512 ae8699506d32e7c09c1b982baeea36eca520d6be65732976e77695f1ca1768aa070f0ae3b9abf9fd390201021a679ef5478114b66f40e996de6873f3fb83836b +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.4.0-fix-build-paths.patch.bz2 4708 BLAKE2B f27de1c9617c862d691562444afe4dfa35f936c59d222e126fed17645e0a79f8d8cb6d7e9a55ea12602daf18f854178fc69871826c324922e5725b4017ece5ff SHA512 0172dcee9ef52d22af9956ee99c8c5f21644b54cad6497cfcaea17e6b8e4ac91d4b45fa1b2719e045310614509512fc4b5f1d3c25b67460d073cdf23f7c3cfaa DIST inspircd-4.4.0.tar.gz 1023377 BLAKE2B 5555a87056909ea198127464bb69134ac5f174128f5508efb421373f73cea57984f9637ad521c254c4580cf4a19f5673fbac4c73f61005fb69f6964a9f5823ac SHA512 242f02ffea0c9913847dc30ca8114ad10b5739de800a03f010d00c9fe9b68e99ed6c997b5bf6f6b9f85d5de28d35aa3118d58b2e38d0dc69d1ae82a539b172ac DIST inspircd-4.5.0-fix-build-paths.patch.bz2 4706 BLAKE2B cfdb4a3b85c1ea42098afd23ced2c79466141ec57996383cc0a70692a79dc42a92d38a47e66e0b861a35fa3894a99eb552284da38eba3f56a7f6dcc3323458ca SHA512 87cbf89fc1be1f9fd97da25faba3e20c77980d7b2a60ba377e9e1b99697de3657dd7cab9f7d1d3e8ecaa04eec11dd366b7253251428efe23e91b56e15e6184de diff --git a/net-irc/inspircd/inspircd-3.18.0.ebuild b/net-irc/inspircd/inspircd-3.18.0.ebuild new file mode 100644 index 000000000000..9cf6f2f02aa7 --- /dev/null +++ b/net-irc/inspircd/inspircd-3.18.0.ebuild @@ -0,0 +1,112 @@ +# 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 +}