net-irc/charybdis: Remove last-rited pkg, #562896

This commit is contained in:
Michał Górny
2017-07-05 12:32:14 +02:00
parent 70bb72fbed
commit b6e6234008
7 changed files with 0 additions and 243 deletions

View File

@@ -1,3 +0,0 @@
DIST charybdis-3.3.0-patches.tar.bz2 10070 SHA256 ec51bbd99dc8ee7b911bc232ae8e35c99f0d4b0b25562bc7991fbfe9dbe3ad28 SHA512 e78c66b7d1c91a9a2c47a6ebb95e3c019e7182cda7115417fd6fc4e9f45dfabdb1467f5b19fa347d56cdbda97f66f7acab52d8ac560d5b3d3e179f7a7158c6da WHIRLPOOL a2bc4b258265347eb3f243d8b933084235717507b52f0c244062e74c017d34f13fcb2abf89ebde62760b49bc95c9d6df22e13a9c7c3e5526bdbf5c131662ef79
DIST charybdis-3.3.0.tbz2 1478877 SHA256 b5feae88c031dee799144fbfde9d64f3ace4c979c337a1047677a17600dddab1 SHA512 450f1869405a0ea1379c4b189df3a62524ce6656ef5fd1371f705814e9404b5386e2fc4a9ba548ee1027fb73464c06b2c68bad142570042bbc0381723a306eae WHIRLPOOL 909e87b52e9b717c4de91ab737663b86c30372bdb5e80f23ecf76f9c3320adbaeb3c0ad991ff1b74958114041fdd9aa73f8870efd166ae4af851384eed4e56ed
DIST charybdis-3.4.2.tbz2 1526229 SHA256 8a38e67072d90147c40202918c82237765e339cbc849456da54994ce6e31b754 SHA512 4bd4126cbb023e8ca1ec3003d92893dd44f9bdd8ce5d3fb471fed0b62eb4aa5ff410a6e769ee7daab4864492d49ff594e3e8c7fea05318eb2308efc2195dc8a3 WHIRLPOOL ac098f73169662cda2a9829f2204a6b1eac56b18d023b9049f82a427edd8ab6888133ce2959815a41104a68a7f22097c83cdc84413bbe66d6a3b8f4fe6979e41

View File

@@ -1,94 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit autotools eutils multilib user
DESCRIPTION="The atheme project's IRCd based on ratbox"
HOMEPAGE="http://atheme.org/project/charybdis http://www.stack.nl/~jilles/irc/#charybdis"
SRC_URI="http://www.stack.nl/~jilles/irc/${P}.tbz2
https://dev.gentoo.org/~binki/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug +ipv6 largenet ssl zlib"
RDEPEND="ssl? ( dev-libs/openssl )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
virtual/yacc
sys-devel/flex"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 "${EPREFIX}"/usr ${PN}
}
src_prepare() {
EPATCH_SUFFIX=patch epatch
eautoreconf
# Fill the example configuration file with proper paths.
sed -i \
-e "s:path =.*modules:path = \"$(get_libdir)/${PN}/modules:g" \
-e "s:etc/:../etc/${PN}/:g" \
-e "s:logs/:../var/log/charybdis/:g" \
-e "s:test\.\(cert\|key\):ssl.\1:g" \
doc/example.conf \
doc/reference.conf \
|| die
}
src_configure() {
econf \
ac_cv_prog_cc_g=no \
--disable-gnutls \
$(use_enable debug assert soft) \
$(use_enable debug iodebug) \
$(use_enable ipv6) \
$(use_enable !largenet small-net) \
$(use_enable ssl openssl) \
$(use_enable zlib) \
--with-program-prefix=charybdis- \
\
--enable-fhs-paths \
--sysconfdir="${EPREFIX}"/etc/${PN} \
--libdir="${EPREFIX}"/usr/"$(get_libdir)"/${PN} \
--with-logdir="${EPREFIX}"/var/log/${PN} \
--with-moduledir="${EPREFIX}"/usr/"$(get_libdir)"/${PN}/modules \
--with-rundir="${EPREFIX}"/var/run
}
src_install() {
default
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
insinto etc/${PN}
newins doc/reference.conf ircd.conf
keepdir var/{lib,log}/${PN}
# Ensure that if `make install' created /var/run/${PN}, we still
# force the initscript to create that directory.
rm -rf "${D}"/var/run || die
# charybdis ircd needs writing to its state (bandb) and log directories
fowners :charybdis /var/{lib,log}/${PN}
fperms 770 /var/{lib,log}/${PN}
# ensure that charybdis can access but not modify its configuration
# while protecting it from others
fowners :charybdis /etc/${PN}{,/ircd.conf}
fperms 750 /etc/${PN}
fperms 640 /etc/${PN}/ircd.conf
}
pkg_postinst() {
elog "All of the charybdis binaries in PATH have been prefixed with"
elog "'charybdis-' to prevent file collisions."
}

View File

@@ -1,89 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils multilib user
DESCRIPTION="The atheme project's IRCd based on ratbox"
HOMEPAGE="http://atheme.org/project/charybdis http://www.stack.nl/~jilles/irc/#charybdis"
SRC_URI="http://www.stack.nl/~jilles/irc/${P}.tbz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug +ipv6 largenet ssl zlib"
RDEPEND="ssl? ( dev-libs/openssl )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
virtual/yacc
sys-devel/flex"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 "${EPREFIX}"/usr ${PN}
}
src_prepare() {
# Fill the example configuration file with proper paths.
sed -i \
-e "s:path =.*modules:path = \"$(get_libdir)/${PN}/modules:g" \
-e "s:etc/:../etc/${PN}/:g" \
-e "s:logs/:../var/log/charybdis/:g" \
-e "s:test\.\(cert\|key\):ssl.\1:g" \
doc/example.conf \
doc/reference.conf \
|| die
}
src_configure() {
econf \
ac_cv_prog_cc_g=no \
--disable-gnutls \
$(use_enable debug assert soft) \
$(use_enable debug iodebug) \
$(use_enable ipv6) \
$(use_enable !largenet small-net) \
$(use_enable ssl openssl) \
$(use_enable zlib) \
--with-program-prefix=charybdis- \
\
--enable-fhs-paths \
--sysconfdir="${EPREFIX}"/etc/${PN} \
--libdir="${EPREFIX}"/usr/"$(get_libdir)"/${PN} \
--with-logdir="${EPREFIX}"/var/log/${PN} \
--with-moduledir="${EPREFIX}"/usr/"$(get_libdir)"/${PN}/modules \
--with-rundir="${EPREFIX}"/var/run
}
src_install() {
default
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
insinto etc/${PN}
newins doc/reference.conf ircd.conf
keepdir var/{lib,log}/${PN}
# Ensure that if `make install' created /var/run/${PN}, we still
# force the initscript to create that directory.
rm -rf "${D}"/var/run || die
# charybdis ircd needs writing to its state (bandb) and log directories
fowners :charybdis /var/{lib,log}/${PN}
fperms 770 /var/{lib,log}/${PN}
# ensure that charybdis can access but not modify its configuration
# while protecting it from others
fowners :charybdis /etc/${PN}{,/ircd.conf}
fperms 750 /etc/${PN}
fperms 640 /etc/${PN}/ircd.conf
}
pkg_postinst() {
elog "All of the charybdis binaries in PATH have been prefixed with"
elog "'charybdis-' to prevent file collisions."
}

View File

@@ -1,6 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Specify any extra options to pass to charybdis
CHARYBDIS_OPTS=""

View File

@@ -1,38 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
extra_started_commands="reload"
depend() {
use dns net
provide ircd
}
start() {
if ! [ -d /var/run/charybdis ]; then
ebegin "Creating /var/run/charybdis for ${SVCNAME}"
mkdir /var/run/charybdis \
&& chown :charybdis /var/run/charybdis \
&& chmod 770 /var/run/charybdis
eend $?
fi
ebegin "Starting ${SVCNAME}"
start-stop-daemon --start --exec /usr/bin/charybdis-ircd \
--user charybdis --pidfile /var/run/charybdis/ircd.pid \
${CHARYBDIS_OPTS}
eend $?
}
stop() {
ebegin "Stopping ${SVCNAME}"
start-stop-daemon --stop --pidfile /var/run/charybdis/ircd.pid
eend $?
}
reload() {
ebegin "Reloading ${SVCNAME}"
start-stop-daemon --signal HUP --pidfile /var/run/charybdis/ircd.pid
eend $?
}

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="largenet">Enable support/tweaks for large networks</flag>
</use>
</pkgmetadata>

View File

@@ -415,12 +415,6 @@ net-p2p/ppcoin-qt
# and pycrypto. Removal in 30 days. Bug #313923.
app-mobilephone/bitpim
# Michał Górny <mgorny@gentoo.org> (05 Jun 2017)
# (on behalf of Treecleaner project)
# Unmaintained in Gentoo. Security vulnerability.
# Removal in 30 days. Bug #562896.
net-irc/charybdis
# Hans de Graaff <graaff@gentoo.org> (05 Jun 2017)
# Bundles obsolete and vulnerable webkit version.
# Upstream has stopped development and recommends using