mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-irc/ngircd: cleanup old
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) <sam@cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/16349 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
committed by
Thomas Deutschmann
parent
3948f96270
commit
cc50694803
@@ -1,3 +1,2 @@
|
||||
DIST ngircd-24.tar.gz 524968 BLAKE2B 8ec0518d54f43a4c42fbf9744d217eb2aae498fe4f0010bce6ad68164037c2e55dc2b9681babce8ca5f7e26bac60a91389c63dab397d349dd4bcbcce6c2e9839 SHA512 66d1b9576c03d0a70be17a235f2da50ee661646cd428d18a6c61975407671dd4a3a545069258536773b27d4fb63523527366bbbf4f35cb08111dc60842924395
|
||||
DIST ngircd-25.tar.gz 527886 BLAKE2B ab75c9a904fae8da4c89e07bd66bb000bc9b614e27269be3ac6f55254c77abeb2d6f7d0afc6d05630f7c548ea13d842d4c0376123035f9417eda55565a69dcec SHA512 0c96e97da312fe86c50007a72db03f85b9f79df053806f50badd07c7ca8e8bddd99adb478eab8be9630330707d7aa578b5d0bd3017b59bf4515319a64c29ea6c
|
||||
DIST ngircd-26.tar.gz 565579 BLAKE2B edd005179a79bbb51a1401f7d580ebf66cb5bf65d1427453c471a4e7e667d7fd6b320c292e9a7993c5fef6beeae88126fefb73284063451b080ecc0d3e6ca0f1 SHA512 2502baf83e3bfca3e6b83c22fe660fee24732ee875b32a7071a489a8babcc08124738142215b55d4f9bd4e94bec3f2a41889ab18324f772b1674b02883cbfb91
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit user
|
||||
|
||||
DESCRIPTION="An IRC server written from scratch"
|
||||
HOMEPAGE="https://ngircd.barton.de/"
|
||||
SRC_URI="https://arthur.barton.de/pub/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x64-macos"
|
||||
IUSE="debug gnutls iconv ident ipv6 libressl pam ssl tcpd test zlib"
|
||||
|
||||
RDEPEND="
|
||||
iconv? ( virtual/libiconv )
|
||||
ident? ( net-libs/libident )
|
||||
pam? ( sys-libs/pam )
|
||||
ssl? (
|
||||
gnutls? ( net-libs/gnutls:= )
|
||||
!gnutls? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
)
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/sed-4
|
||||
test? (
|
||||
dev-tcltk/expect
|
||||
net-misc/netkit-telnetd
|
||||
)
|
||||
"
|
||||
|
||||
# Testsuite fails server-login-test
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use prefix; then
|
||||
sed -i \
|
||||
-e "s:;ServerUID = 65534:ServerUID = ngircd:" \
|
||||
-e "s:;ServerGID = 65534:ServerGID = nogroup:" \
|
||||
doc/sample-ngircd.conf.tmpl || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--sysconfdir="${EPREFIX}"/etc/"${PN}"
|
||||
$(use_enable debug sniffer)
|
||||
$(use_enable debug)
|
||||
$(use_enable ipv6)
|
||||
$(use_with iconv)
|
||||
$(use_with ident)
|
||||
$(use_with pam)
|
||||
$(use_with tcpd tcp-wrappers)
|
||||
$(use_with zlib)
|
||||
)
|
||||
|
||||
if use ssl; then
|
||||
myconf+=(
|
||||
$(use_with !gnutls openssl)
|
||||
$(use_with gnutls)
|
||||
)
|
||||
else
|
||||
myconf+=(
|
||||
--without-gnutls
|
||||
--without-openssl
|
||||
)
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newinitd "${FILESDIR}"/ngircd.init-r1.d ngircd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use prefix; then
|
||||
enewuser ngircd
|
||||
chown ngircd "${EROOT%/}"/etc/ngircd/ngircd.conf || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user