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/ngircd/, net-irc/ngircd/files/
Date: Fri, 29 Apr 2022 10:21:58
Message-Id: 1651227656.667cd1feb5ad07556adbe2aada4a116fe6e112fd.sam@gentoo
1 commit: 667cd1feb5ad07556adbe2aada4a116fe6e112fd
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 29 09:30:30 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 10:20:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=667cd1fe
7
8 net-irc/ngircd: drop 26.1-r2
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-irc/ngircd/files/ngircd.init-r1.d | 21 -------
13 net-irc/ngircd/ngircd-26.1-r2.ebuild | 103 ----------------------------------
14 2 files changed, 124 deletions(-)
15
16 diff --git a/net-irc/ngircd/files/ngircd.init-r1.d b/net-irc/ngircd/files/ngircd.init-r1.d
17 deleted file mode 100644
18 index 3346d698d441..000000000000
19 --- a/net-irc/ngircd/files/ngircd.init-r1.d
20 +++ /dev/null
21 @@ -1,21 +0,0 @@
22 -#!/sbin/openrc-run
23 -# Copyright 1999-2011 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -depend() {
27 - need net
28 - use logger
29 - provide ircd
30 -}
31 -
32 -start() {
33 - ebegin "Starting ngIRCd"
34 - start-stop-daemon --start --quiet --exec /usr/sbin/ngircd
35 - eend $?
36 -}
37 -
38 -stop() {
39 - ebegin "Stopping ngIRCd"
40 - start-stop-daemon --stop --quiet --exec /usr/sbin/ngircd
41 - eend $?
42 -}
43
44 diff --git a/net-irc/ngircd/ngircd-26.1-r2.ebuild b/net-irc/ngircd/ngircd-26.1-r2.ebuild
45 deleted file mode 100644
46 index 427b47aa1dcc..000000000000
47 --- a/net-irc/ngircd/ngircd-26.1-r2.ebuild
48 +++ /dev/null
49 @@ -1,103 +0,0 @@
50 -# Copyright 1999-2022 Gentoo Authors
51 -# Distributed under the terms of the GNU General Public License v2
52 -
53 -EAPI=7
54 -
55 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/alexbarton.asc
56 -inherit verify-sig
57 -
58 -DESCRIPTION="An IRC server written from scratch"
59 -HOMEPAGE="https://ngircd.barton.de/"
60 -SRC_URI="https://arthur.barton.de/pub/${PN}/${P}.tar.xz"
61 -SRC_URI+=" verify-sig? ( https://arthur.barton.de/pub/${PN}/${P}.tar.xz.sig )"
62 -
63 -LICENSE="GPL-2"
64 -SLOT="0"
65 -KEYWORDS="amd64 arm arm64 x86 ~x64-macos"
66 -IUSE="debug gnutls ident irc-plus +ipv6 pam +ssl strict-rfc tcpd test zlib"
67 -
68 -# Flaky test needs investigation (bug 719256)
69 -RESTRICT="test"
70 -
71 -RDEPEND="
72 - acct-user/ngircd
73 - acct-group/ngircd
74 - irc-plus? ( virtual/libiconv )
75 - ident? ( net-libs/libident )
76 - pam? ( sys-libs/pam )
77 - ssl? (
78 - gnutls? ( net-libs/gnutls:= )
79 - !gnutls? (
80 - dev-libs/openssl:0=
81 - )
82 - )
83 - tcpd? ( sys-apps/tcp-wrappers )
84 - zlib? ( sys-libs/zlib )
85 -"
86 -DEPEND="${RDEPEND}"
87 -BDEPEND="
88 - test? (
89 - dev-tcltk/expect
90 - net-misc/netkit-telnetd
91 - )
92 - verify-sig? ( sec-keys/openpgp-keys-alexbarton )
93 -"
94 -
95 -src_prepare() {
96 - default
97 -
98 - if ! use prefix ; then
99 - sed -i \
100 - -e "s:;ServerUID = 65534:ServerUID = ngircd:" \
101 - -e "s:;ServerGID = 65534:ServerGID = ngircd:" \
102 - doc/sample-ngircd.conf.tmpl || die
103 - fi
104 -
105 - # Note that if we need to use automake, we need a certain version (for now):
106 - # https://github.com/ngircd/ngircd/issues/261
107 - # WANT_AUTOMAKE=1.11
108 - # eautomake
109 -}
110 -
111 -src_configure() {
112 - local myeconf=(
113 - --sysconfdir="${EPREFIX}"/etc/${PN}
114 - $(use_enable debug sniffer)
115 - $(use_enable debug)
116 - $(use_enable irc-plus ircplus)
117 - $(use_enable ipv6)
118 - $(use_enable strict-rfc)
119 - $(use_with irc-plus iconv)
120 - $(use_with ident)
121 - $(use_with pam)
122 - $(use_with tcpd tcp-wrappers)
123 - $(use_with zlib)
124 - )
125 -
126 - if use ssl ; then
127 - if use gnutls ; then
128 - myeconf+=(
129 - $( use_with gnutls )
130 - )
131 - else
132 - myeconf+=(
133 - $( use_with !gnutls openssl )
134 - )
135 - fi
136 - fi
137 -
138 - econf "${myeconf[@]}"
139 -}
140 -
141 -src_install() {
142 - default
143 -
144 - newinitd "${FILESDIR}"/ngircd.init-r1.d ngircd
145 -}
146 -
147 -pkg_postinst() {
148 - if [[ -z ${REPLACING_VERSIONS} ]] && use pam ; then
149 - elog "ngircd will use PAMIsOptionalPAM by default, please change this option."
150 - elog "You may not be able to login until you change this."
151 - fi
152 -}