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: Sun, 01 Sep 2019 11:50:25
Message-Id: 1567338607.5649ca23654f609d5da7f50a6673fd5892ebca1b.juippis@gentoo
1 commit: 5649ca23654f609d5da7f50a6673fd5892ebca1b
2 Author: Wade Cline <wadecline <AT> hotmail <DOT> com>
3 AuthorDate: Mon Aug 26 02:26:19 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 1 11:50:07 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5649ca23
7
8 net-irc/inspircd: Remove 2.0.27
9
10 Signed-off-by: Wade Cline <wadecline <AT> hotmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/12793
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 net-irc/inspircd/Manifest | 1 -
15 net-irc/inspircd/inspircd-2.0.27.ebuild | 118 --------------------------------
16 2 files changed, 119 deletions(-)
17
18 diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest
19 index d884e77a92b..f198f3983b6 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.27.tar.gz 735970 BLAKE2B 74a262ddd5f7d2fd61a1a01cddb0d61bf58e9fcdb3a69ebda15d711f3439b7b8e4387ee9ef3b55309e213e1e8bdc2978ca5b319720b0fcf71d9645f13102c2a2 SHA512 56f03c3259fad54365e97fd82f4e309edc60b641ccadd7916d04156fd157858f79930c8b9df99aa98c5505f76ab19e6bcd150ae5ed04d2bddfff572e18226cdd
25 DIST inspircd-2.0.28.tar.gz 735981 BLAKE2B d467b4d31db4cbafeba655a4e129766ec780b2244f1945da6e25e9d70a8c7f946ea6258cc4e1189029a9f3be4d93b3d943f0bd20ccb85951f001268c2e460805 SHA512 0e8082a03e65f350ac423cc0781506c0eb40151d6e8d250067288b2a1d42087f10c159472ad76028aa986f6764180fdc493893984cadc0064715853472fa3e2a
26 DIST inspircd-3.2.0.tar.gz 799842 BLAKE2B 87f8465479f01587b669c926c9097e14e441d40d6f37be2971863b40c2cef3d962acaf2cc84879d1d813819bcb512adfc58723b6adac5dfc35b240d4068b40f6 SHA512 8792614785d7f0415a38d49cc1786204d838917df54792ee6755b9ad8fd895020539364fdfc6daae60a911b8f39af1326e172ac40335b700241ca832410a4498
27 DIST inspircd-3.3.0.tar.gz 803449 BLAKE2B 2b396db9d4bc84af33367715acb7f82299211ab31975310de0da4e3fe74385085b801c3bce6fe835b0f9e9857b1b457e037eb72e91d4455dc5918ad8d5bc844d SHA512 067904d877803c370873b5e79860fe0ac68529e740283e7e78dcd4dbbea30e19841a1f2e7e57e3e0b701704224369dbd484562e7edbbcd775bf85c18a4d340c3
28
29 diff --git a/net-irc/inspircd/inspircd-2.0.27.ebuild b/net-irc/inspircd/inspircd-2.0.27.ebuild
30 deleted file mode 100644
31 index ca3c680e39b..00000000000
32 --- a/net-irc/inspircd/inspircd-2.0.27.ebuild
33 +++ /dev/null
34 @@ -1,118 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI="7"
39 -
40 -inherit toolchain-funcs user
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="geoip gnutls ipv6 ldap mysql pcre posix postgres sqlite ssl tre"
50 -
51 -RDEPEND="
52 - dev-lang/perl
53 - ssl? ( dev-libs/openssl:= )
54 - geoip? ( dev-libs/geoip )
55 - gnutls? ( net-libs/gnutls:= dev-libs/libgcrypt:0 )
56 - ldap? ( net-nds/openldap )
57 - mysql? ( dev-db/mysql-connector-c:= )
58 - postgres? ( dev-db/postgresql:= )
59 - pcre? ( dev-libs/libpcre )
60 - sqlite? ( >=dev-db/sqlite-3.0 )
61 - tre? ( dev-libs/tre )"
62 -DEPEND="${RDEPEND}"
63 -
64 -DOCS=( docs/. )
65 -PATCHES=( "${FILESDIR}"/${P}-fix-path-builds.patch )
66 -
67 -pkg_setup() {
68 - enewgroup ${PN}
69 - enewuser ${PN} -1 -1 -1 ${PN}
70 -}
71 -
72 -src_prepare() {
73 - default
74 -
75 - # Patch the inspircd launcher with the inspircd user
76 - sed -i -e "s/@UID@/${PN}/" "${S}/make/template/${PN}" || die
77 -}
78 -
79 -src_configure() {
80 - local extras=""
81 -
82 - use geoip && extras+="m_geoip.cpp,"
83 - use gnutls && extras+="m_ssl_gnutls.cpp,"
84 - use ldap && extras+="m_ldapauth.cpp,m_ldapoper.cpp,"
85 - use mysql && extras+="m_mysql.cpp,"
86 - use pcre && extras+="m_regex_pcre.cpp,"
87 - use posix && extras+="m_regex_posix.cpp,"
88 - use postgres && extras+="m_pgsql.cpp,"
89 - use sqlite && extras+="m_sqlite3.cpp,"
90 - use ssl && extras+="m_ssl_openssl.cpp,"
91 - use tre && extras+="m_regex_tre.cpp,"
92 -
93 - # The first configuration run enables certain "extra" InspIRCd
94 - # modules, the second run generates the actual makefile.
95 - if [[ -n "${extras}" ]]; then
96 - ./configure --disable-interactive --enable-extras=${extras%,}
97 - fi
98 -
99 - local myconf=(
100 - --with-cc="$(tc-getCXX)"
101 - --disable-interactive
102 - --prefix="/usr/$(get_libdir)/${PN}"
103 - --config-dir="/etc/${PN}"
104 - --data-dir="/var/lib/${PN}/data"
105 - --log-dir="/var/log/${PN}"
106 - --binary-dir="/usr/bin"
107 - --module-dir="/usr/$(get_libdir)/${PN}/modules"
108 - $(usex ipv6 '' '--disable-ipv6')
109 - $(usex gnutls '--enable-gnutls' '')
110 - $(usex ssl '--enable-openssl' ''))
111 - ./configure "${myconf[@]}"
112 -}
113 -
114 -src_compile() {
115 - emake V=1 LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}"
116 -}
117 -
118 -src_install() {
119 - emake INSTUID=${PN} DESTDIR="${D%/}" install
120 -
121 - insinto "/usr/include/${PN}"
122 - doins -r include/.
123 -
124 - einstalldocs
125 -
126 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
127 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
128 -
129 - keepdir "/var/log/${PN}"
130 -
131 - diropts -o"${PN}" -g"${PN}" -m0700
132 - keepdir "/var/lib/${PN}/data"
133 -}
134 -
135 -pkg_postinst() {
136 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
137 - # This is a new installation
138 - elog "You will find example configuration files under "
139 - elog "/usr/share/doc/${PN}"
140 - elog "Read the ${PN}.conf.example file carefully before "
141 - elog "starting the service."
142 - fi
143 - local pv
144 - for pv in ${REPLACING_VERSIONS}; do
145 - if ver_test "${pv}" -lt "2.0.24-r1"; then
146 - elog "Starting with 2.0.24-r1 the daemon is no longer started"
147 - elog "with the --logfile option and you are thus expected to define"
148 - elog "logging in the InspIRCd configuration file if you want it."
149 - break
150 - fi
151 - done
152 -}