Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/inspircd/
Date: Mon, 05 Sep 2022 01:25:31
Message-Id: 1662341100.05d3366e649688d3a2a37ed5f9d39cb68bec2238.sam@gentoo
1 commit: 05d3366e649688d3a2a37ed5f9d39cb68bec2238
2 Author: Wade Cline <wadecline <AT> hotmail <DOT> com>
3 AuthorDate: Wed Aug 31 05:34:24 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 01:25:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d3366e
7
8 net-irc/inspircd: Drop 3.12.0-r1
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Wade Cline <wadecline <AT> hotmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/27084
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 net-irc/inspircd/Manifest | 2 -
16 net-irc/inspircd/inspircd-3.12.0-r1.ebuild | 117 -----------------------------
17 2 files changed, 119 deletions(-)
18
19 diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest
20 index eb4c4facc4f9..f68a6ebda90f 100644
21 --- a/net-irc/inspircd/Manifest
22 +++ b/net-irc/inspircd/Manifest
23 @@ -1,5 +1,3 @@
24 -DIST inspircd-3.12.0-fix-path-builds.patch.bz2 4570 BLAKE2B 2c2cea615f9e170c249868a60dcf698ba130b33e6e0553bb8c3070698332e643f3d58fc823fe92621e5498c8606b8334afe1536c9772a24f389010a93b72bc09 SHA512 e20171d6c94c163c414c0aa2a02a22ec2de02ec20a00542ada0181abc46e229f7e9d9108b88895a1ad6134b72e3fdab6e80b6c6b33e10b8be73f3a28130c0adb
25 -DIST inspircd-3.12.0.tar.gz 864630 BLAKE2B eb8fc009347777bdd1e1b119465a6e9f7b6f563c855607905ae256dd0f433d460872d185d2b17ca5033dad7fc07d1e049ce714bf92b91033e5157f796c1451ed SHA512 b8ad5bef5c4ea493bb77976cf75861efb445792696b536eab875c7c5e1a5fa679a5ad48c73a2bcb448871b4398f8370cde326abf389fc21db7e5fd24cfcdca59
26 DIST inspircd-3.13.0-fix-logrotate-conf.patch.bz2 537 BLAKE2B 81bb056b1dba8bd4716b29dd582fc9e77793b7296bbd41570eab6d569a496a5725db74a476aab78174e16f67158f8d2c4feba55ff1db7ed1c0012e303d45b0b4 SHA512 9a3b4f7842be44278725348d8e42db719e280745c1394a6005b6bd25ab79ad78c7717d8befd7a1ab973efc23ed0299eed4418b41d26d2ed4990a516cddc63c78
27 DIST inspircd-3.13.0-fix-path-builds.patch.bz2 4719 BLAKE2B f0a278f2cba6a6c84c60ef34c9f15b2fbd4ecad4a3e16944b4a50437209447c70db2faffcb6f0a18a5b970721ceaea041763e5ca237129211cf8c3bb8d925bb5 SHA512 124ba020382f9efbcc1a6d79f5b6ace61a70c6b86d46ce1067d9a05172ac77db7b06c3b61037f158d2fff3356bf897fae4504212b56a242c27fa42f5ba12a3ad
28 DIST inspircd-3.13.0-fix-template-files.patch.bz2 785 BLAKE2B ee559a1e92c7ff1b985fffff815e2d12c8ebda5424583fb72cd9f4997806ee0e1571f983b024b6bf1a11077b763cf30a0b05a7ff12c25a51f8020ff3360ef597 SHA512 80a35c94753c1e32c7d58778031ab02ee70afdf9968ca647079d5a8c124c2bd10473a67609c8e9d48bc66ae94ba49dc9dab49a96cdc864a418f1f48d74ba80c9
29
30 diff --git a/net-irc/inspircd/inspircd-3.12.0-r1.ebuild b/net-irc/inspircd/inspircd-3.12.0-r1.ebuild
31 deleted file mode 100644
32 index 96b4739cfa9a..000000000000
33 --- a/net-irc/inspircd/inspircd-3.12.0-r1.ebuild
34 +++ /dev/null
35 @@ -1,117 +0,0 @@
36 -# Copyright 1999-2022 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=8
40 -
41 -inherit toolchain-funcs
42 -
43 -DESCRIPTION="Inspire IRCd - The Stable, High-Performance Modular IRCd"
44 -HOMEPAGE="https://www.inspircd.org/"
45 -SRC_URI="https://github.com/inspircd/inspircd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 -SRC_URI+=" https://github.com/clinew/gentoo-distfiles/raw/master/inspircd-${PV}-fix-path-builds.patch.bz2"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
51 -IUSE="debug gnutls ldap maxminddb mbedtls mysql pcre postgres re2 regex-posix regex-stdlib sqlite ssl sslrehashsignal tre"
52 -
53 -RDEPEND="
54 - acct-group/inspircd
55 - acct-user/inspircd
56 - dev-lang/perl
57 - gnutls? ( net-libs/gnutls:= dev-libs/libgcrypt:0 )
58 - ldap? ( net-nds/openldap:= )
59 - maxminddb? ( dev-libs/libmaxminddb:= )
60 - mbedtls? ( net-libs/mbedtls:= )
61 - mysql? ( dev-db/mysql-connector-c:= )
62 - pcre? ( dev-libs/libpcre )
63 - postgres? ( dev-db/postgresql:= )
64 - re2? ( dev-libs/re2:= )
65 - sqlite? ( >=dev-db/sqlite-3.0 )
66 - ssl? ( dev-libs/openssl:= )
67 - tre? ( dev-libs/tre )"
68 -DEPEND="${RDEPEND}"
69 -
70 -DOCS=( docs/. )
71 -PATCHES=( "${WORKDIR}"/${P}-fix-path-builds.patch )
72 -
73 -src_prepare() {
74 - default
75 -
76 - # Patch the inspircd launcher with the inspircd user
77 - sed -i -e "s/@UID@/${PN}/" "make/template/${PN}" || die
78 -}
79 -
80 -src_configure() {
81 - local extras=""
82 -
83 - use gnutls && extras+="m_ssl_gnutls.cpp,"
84 - use ldap && extras+="m_ldap.cpp,"
85 - use maxminddb && extras+="m_geo_maxmind.cpp,"
86 - use mbedtls && extras+="m_ssl_mbedtls.cpp,"
87 - use mysql && extras+="m_mysql.cpp,"
88 - use pcre && extras+="m_regex_pcre.cpp,"
89 - use postgres && extras+="m_pgsql.cpp,"
90 - use re2 && extras+="m_regex_re2.cpp,"
91 - use regex-posix && extras+="m_regex_posix.cpp,"
92 - use regex-stdlib && extras+="m_regex_stdlib.cpp,"
93 - use sqlite && extras+="m_sqlite3.cpp,"
94 - use ssl && extras+="m_ssl_openssl.cpp,"
95 - use sslrehashsignal && extras+="m_sslrehashsignal.cpp,"
96 - use tre && extras+="m_regex_tre.cpp,"
97 -
98 - # The first configuration run enables certain "extra" InspIRCd
99 - # modules, the second run generates the actual makefile.
100 - if [[ -n "${extras}" ]]; then
101 - ./configure --disable-interactive --enable-extras=${extras%,}
102 - fi
103 -
104 - local myconf=(
105 - --disable-interactive
106 - --disable-auto-extras
107 - --prefix="/usr/$(get_libdir)/${PN}"
108 - --config-dir="/etc/${PN}"
109 - --data-dir="/var/lib/${PN}/data"
110 - --log-dir="/var/log/${PN}"
111 - --binary-dir="/usr/bin"
112 - --module-dir="/usr/$(get_libdir)/${PN}/modules"
113 - --manual-dir="/usr/share/man")
114 - CXX="$(tc-getCXX)" ./configure "${myconf[@]}"
115 -}
116 -
117 -src_compile() {
118 - emake LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" $(usex debug 'INSPIRCD_DEBUG=2' '') INSPIRCD_VERBOSE=1
119 -}
120 -
121 -src_install() {
122 - default
123 -
124 - insinto "/usr/include/${PN}"
125 - doins -r include/.
126 -
127 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
128 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
129 -
130 - keepdir "/var/log/${PN}"
131 -
132 - diropts -o"${PN}" -g"${PN}" -m0700
133 - keepdir "/var/lib/${PN}/data"
134 -}
135 -
136 -pkg_postinst() {
137 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
138 - # This is a new installation
139 - elog "You will find example configuration files under "
140 - elog "/usr/share/doc/${PN}"
141 - elog "Read the ${PN}.conf.example file carefully before "
142 - elog "starting the service."
143 - fi
144 - local pv
145 - for pv in ${REPLACING_VERSIONS}; do
146 - if ver_test "${pv}" -lt "3.0.0"; then
147 - elog "Version 3.0 is a major upgrade which contains breaking"
148 - elog "changes. You will need to update your configuration files."
149 - elog "See: https://docs.inspircd.org/3/configuration-changes"
150 - fi
151 - done
152 -}