Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/inspircd/
Date: Thu, 14 Nov 2019 06:26:19
Message-Id: 1573712752.f80b1fb2e7fb28bad10d843c32b9962dcddd2765.juippis@gentoo
1 commit: f80b1fb2e7fb28bad10d843c32b9962dcddd2765
2 Author: Wade Cline <wadecline <AT> hotmail <DOT> com>
3 AuthorDate: Wed Nov 13 05:20:59 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 14 06:25:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80b1fb2
7
8 net-irc/inspircd: Remove 3.3.0
9
10 Signed-off-by: Wade Cline <wadecline <AT> hotmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/13626
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 net-irc/inspircd/Manifest | 1 -
15 net-irc/inspircd/inspircd-3.3.0.ebuild | 128 ---------------------------------
16 2 files changed, 129 deletions(-)
17
18 diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest
19 index 4236d426c24..322bbfd1d5d 100644
20 --- a/net-irc/inspircd/Manifest
21 +++ b/net-irc/inspircd/Manifest
22 @@ -1,5 +1,4 @@
23 DIST inspircd-2.0.25.tar.gz 734017 BLAKE2B d67af67a68d55e107c4492561fcc181ca17fda8b59d53e14e2a585057507f035d3178a9f5f04a22b8969f0fe6f331833e412f410f3276a610dc179ebf16c2399 SHA512 c404d3c296b48d34ad43f576eba1a1fe96ae3d644f032d11cb6050b8e777f93efe33715b0676f481ac3878eea1c17c884a26bff86b909f71f7329ebcfb97add8
24 DIST inspircd-2.0.28.tar.gz 735981 BLAKE2B d467b4d31db4cbafeba655a4e129766ec780b2244f1945da6e25e9d70a8c7f946ea6258cc4e1189029a9f3be4d93b3d943f0bd20ccb85951f001268c2e460805 SHA512 0e8082a03e65f350ac423cc0781506c0eb40151d6e8d250067288b2a1d42087f10c159472ad76028aa986f6764180fdc493893984cadc0064715853472fa3e2a
25 DIST inspircd-3.2.0.tar.gz 799842 BLAKE2B 87f8465479f01587b669c926c9097e14e441d40d6f37be2971863b40c2cef3d962acaf2cc84879d1d813819bcb512adfc58723b6adac5dfc35b240d4068b40f6 SHA512 8792614785d7f0415a38d49cc1786204d838917df54792ee6755b9ad8fd895020539364fdfc6daae60a911b8f39af1326e172ac40335b700241ca832410a4498
26 -DIST inspircd-3.3.0.tar.gz 803449 BLAKE2B 2b396db9d4bc84af33367715acb7f82299211ab31975310de0da4e3fe74385085b801c3bce6fe835b0f9e9857b1b457e037eb72e91d4455dc5918ad8d5bc844d SHA512 067904d877803c370873b5e79860fe0ac68529e740283e7e78dcd4dbbea30e19841a1f2e7e57e3e0b701704224369dbd484562e7edbbcd775bf85c18a4d340c3
27 DIST inspircd-3.4.0.tar.gz 809845 BLAKE2B 6529d53c3cbff07727eceea5e1eb321bb8b7f6b231b3d5ea3ed0ced01fe5b66c2da83039a1ac11ff49e6536ef482483a9be26762feb30511a0016bab07d6790a SHA512 871fefff5e337dc6228fae223ff7ac534e159b5bfb838419247b1d16339c860b0b939a28dd4610cf3b8c37328b5e6ccba2ddd80adbd27638f4f3fa28e4f99066
28
29 diff --git a/net-irc/inspircd/inspircd-3.3.0.ebuild b/net-irc/inspircd/inspircd-3.3.0.ebuild
30 deleted file mode 100644
31 index 4661639e589..00000000000
32 --- a/net-irc/inspircd/inspircd-3.3.0.ebuild
33 +++ /dev/null
34 @@ -1,128 +0,0 @@
35 -# Copyright 1999-2019 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI="7"
39 -
40 -inherit toolchain-funcs
41 -
42 -DESCRIPTION="Inspire IRCd - The Stable, High-Performance Modular IRCd"
43 -HOMEPAGE="https://inspircd.github.com/"
44 -SRC_URI="https://github.com/inspircd/inspircd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
49 -IUSE="debug gnutls ldap maxminddb mbedtls mysql pcre postgres re2 regex-posix regex-stdlib sqlite ssl sslrehashsignal tre"
50 -
51 -RDEPEND="
52 - acct-group/inspircd
53 - acct-user/inspircd
54 - dev-lang/perl
55 - gnutls? ( net-libs/gnutls:= dev-libs/libgcrypt:0 )
56 - ldap? ( net-nds/openldap )
57 - maxminddb? ( dev-libs/libmaxminddb )
58 - mbedtls? ( net-libs/mbedtls:= )
59 - mysql? ( dev-db/mysql-connector-c:= )
60 - pcre? ( dev-libs/libpcre )
61 - postgres? ( dev-db/postgresql:= )
62 - re2? ( dev-libs/re2:= )
63 - sqlite? ( >=dev-db/sqlite-3.0 )
64 - ssl? ( dev-libs/openssl:= )
65 - tre? ( dev-libs/tre )"
66 -DEPEND="${RDEPEND}"
67 -
68 -DOCS=( docs/. )
69 -PATCHES=( "${FILESDIR}"/${PN}-3.2.0-fix-path-builds.patch )
70 -
71 -src_prepare() {
72 - default
73 -
74 - # Patch the inspircd launcher with the inspircd user
75 - sed -i -e "s/@UID@/${PN}/" "make/template/${PN}" || die
76 -}
77 -
78 -src_configure() {
79 - local extras=""
80 -
81 - use gnutls && extras+="m_ssl_gnutls.cpp,"
82 - use ldap && extras+="m_ldap.cpp,"
83 - use maxminddb && extras+="m_geo_maxmind.cpp,"
84 - use mbedtls && extras+="m_ssl_mbedtls.cpp,"
85 - use mysql && extras+="m_mysql.cpp,"
86 - use pcre && extras+="m_regex_pcre.cpp,"
87 - use postgres && extras+="m_pgsql.cpp,"
88 - use re2 && extras+="m_regex_re2.cpp,"
89 - use regex-posix && extras+="m_regex_posix.cpp,"
90 - use regex-stdlib && extras+="m_regex_stdlib.cpp,"
91 - use sqlite && extras+="m_sqlite3.cpp,"
92 - use ssl && extras+="m_ssl_openssl.cpp,"
93 - use sslrehashsignal && extras+="m_sslrehashsignal.cpp,"
94 - use tre && extras+="m_regex_tre.cpp,"
95 -
96 - # The first configuration run enables certain "extra" InspIRCd
97 - # modules, the second run generates the actual makefile.
98 - if [[ -n "${extras}" ]]; then
99 - ./configure --disable-interactive --enable-extras=${extras%,}
100 - fi
101 -
102 - local myconf=(
103 - --disable-interactive
104 - --disable-auto-extras
105 - --prefix="/usr/$(get_libdir)/${PN}"
106 - --config-dir="/etc/${PN}"
107 - --data-dir="/var/lib/${PN}/data"
108 - --log-dir="/var/log/${PN}"
109 - --binary-dir="/usr/bin"
110 - --module-dir="/usr/$(get_libdir)/${PN}/modules"
111 - --manual-dir="/usr/share/man")
112 - CXX="$(tc-getCXX)" ./configure "${myconf[@]}"
113 -}
114 -
115 -src_compile() {
116 - emake LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" $(usex debug 'INSPIRCD_DEBUG=2' '') INSPIRCD_VERBOSE=1
117 -}
118 -
119 -src_install() {
120 - emake DESTDIR="${D}" install
121 -
122 - # Default is '0750', which causes init errors.
123 - fperms 0755 /usr/bin/inspircd{,-genssl}
124 - # Default is '0640', causing module load errors.
125 - fperms -R 0755 "/usr/lib64/inspircd/modules/."
126 -
127 - insinto "/usr/include/${PN}"
128 - doins -r include/.
129 -
130 - einstalldocs
131 -
132 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
133 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
134 -
135 - keepdir "/var/log/${PN}"
136 -
137 - diropts -o"${PN}" -g"${PN}" -m0700
138 - keepdir "/var/lib/${PN}/data"
139 -}
140 -
141 -pkg_postinst() {
142 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
143 - # This is a new installation
144 - elog "You will find example configuration files under "
145 - elog "/usr/share/doc/${PN}"
146 - elog "Read the ${PN}.conf.example file carefully before "
147 - elog "starting the service."
148 - fi
149 - local pv
150 - for pv in ${REPLACING_VERSIONS}; do
151 - if ver_test "${pv}" -lt "2.0.24-r1"; then
152 - elog "Starting with 2.0.24-r1 the daemon is no longer started"
153 - elog "with the --logfile option and you are thus expected to define"
154 - elog "logging in the InspIRCd configuration file if you want it."
155 - fi
156 - if ver_test "${pv}" -lt "3.0.0"; then
157 - elog "Version 3.0 is a major upgrade which contains breaking"
158 - elog "changes. You will need to update your configuration files."
159 - elog "See: https://docs.inspircd.org/3/configuration-changes"
160 - fi
161 - done
162 -}