1 |
commit: 7030712df6ba0b1849ebb20d4d6b4317c1fe368f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 21:04:24 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 21:08:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7030712d |
7 |
|
8 |
net-irc/ngircd: bump to 26.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-irc/ngircd/Manifest | 1 + |
14 |
net-irc/ngircd/ngircd-26.1.ebuild | 105 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 106 insertions(+) |
16 |
|
17 |
diff --git a/net-irc/ngircd/Manifest b/net-irc/ngircd/Manifest |
18 |
index 6dba9318b06..5bd634e231a 100644 |
19 |
--- a/net-irc/ngircd/Manifest |
20 |
+++ b/net-irc/ngircd/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST ngircd-26.1.tar.gz 562938 BLAKE2B a1a4ca8b6e12a02cb4ba2e07d777cf77051b5330464c91634cfac0b385157ab7c648e3b71151247bc8ee6cc847e84755fdca3d9b4a25205bbb57b8296995dd17 SHA512 4a3ee379dd8d8655a71134c745f750359ceb0512e184db555f65f2bcab68087480365a35680a9ec75b1e6eb0fef23e1cbe0a0e13c3c58d211e5a520a8eeaa71c |
23 |
DIST ngircd-26.tar.gz 565579 BLAKE2B edd005179a79bbb51a1401f7d580ebf66cb5bf65d1427453c471a4e7e667d7fd6b320c292e9a7993c5fef6beeae88126fefb73284063451b080ecc0d3e6ca0f1 SHA512 2502baf83e3bfca3e6b83c22fe660fee24732ee875b32a7071a489a8babcc08124738142215b55d4f9bd4e94bec3f2a41889ab18324f772b1674b02883cbfb91 |
24 |
|
25 |
diff --git a/net-irc/ngircd/ngircd-26.1.ebuild b/net-irc/ngircd/ngircd-26.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..3336bff7a93 |
28 |
--- /dev/null |
29 |
+++ b/net-irc/ngircd/ngircd-26.1.ebuild |
30 |
@@ -0,0 +1,105 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+# Bug: https://github.com/ngircd/ngircd/issues/261 |
37 |
+WANT_AUTOMAKE=1.11.6 |
38 |
+inherit autotools |
39 |
+ |
40 |
+DESCRIPTION="An IRC server written from scratch" |
41 |
+HOMEPAGE="https://ngircd.barton.de/" |
42 |
+SRC_URI="https://arthur.barton.de/pub/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~x64-macos" |
47 |
+IUSE="debug gnutls ident irc-plus +ipv6 libressl pam +ssl strict-rfc tcpd test zlib" |
48 |
+ |
49 |
+#RESTRICT="!test? ( test )" |
50 |
+# Flaky test needs investigation (bug 719256) |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ acct-user/ngircd |
55 |
+ acct-group/ngircd |
56 |
+ irc-plus? ( virtual/libiconv ) |
57 |
+ ident? ( net-libs/libident ) |
58 |
+ pam? ( sys-libs/pam ) |
59 |
+ ssl? ( |
60 |
+ gnutls? ( net-libs/gnutls:= ) |
61 |
+ !gnutls? ( |
62 |
+ !libressl? ( dev-libs/openssl:0= ) |
63 |
+ libressl? ( dev-libs/libressl:0= ) |
64 |
+ ) |
65 |
+ ) |
66 |
+ tcpd? ( sys-apps/tcp-wrappers ) |
67 |
+ zlib? ( sys-libs/zlib ) |
68 |
+" |
69 |
+ |
70 |
+BDEPEND="sys-devel/automake:1.11" |
71 |
+ |
72 |
+DEPEND=" |
73 |
+ ${RDEPEND} |
74 |
+ test? ( |
75 |
+ dev-tcltk/expect |
76 |
+ net-misc/netkit-telnetd |
77 |
+ ) |
78 |
+" |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ default |
82 |
+ |
83 |
+ if ! use prefix; then |
84 |
+ sed -i \ |
85 |
+ -e "s:;ServerUID = 65534:ServerUID = ngircd:" \ |
86 |
+ -e "s:;ServerGID = 65534:ServerGID = ngircd:" \ |
87 |
+ doc/sample-ngircd.conf.tmpl || die |
88 |
+ fi |
89 |
+ |
90 |
+ # Once https://github.com/ngircd/ngircd/pull/270 is in a release (ngircd 26), we can remove |
91 |
+ # the eautomake/autotools machinery. |
92 |
+ eautomake |
93 |
+} |
94 |
+ |
95 |
+src_configure() { |
96 |
+ local myconf=( |
97 |
+ --sysconfdir="${EPREFIX}"/etc/"${PN}" |
98 |
+ $(use_enable debug sniffer) |
99 |
+ $(use_enable debug) |
100 |
+ $(use_enable irc-plus ircplus) |
101 |
+ $(use_enable ipv6) |
102 |
+ $(use_enable strict-rfc) |
103 |
+ $(use_with irc-plus iconv) |
104 |
+ $(use_with ident) |
105 |
+ $(use_with pam) |
106 |
+ $(use_with tcpd tcp-wrappers) |
107 |
+ $(use_with zlib) |
108 |
+ ) |
109 |
+ |
110 |
+ if use ssl; then |
111 |
+ if use gnutls; then |
112 |
+ myconf+=( |
113 |
+ $( use_with gnutls ) |
114 |
+ ) |
115 |
+ else |
116 |
+ myconf+=( |
117 |
+ $( use_with !gnutls openssl ) |
118 |
+ ) |
119 |
+ fi |
120 |
+ fi |
121 |
+ |
122 |
+ econf "${myconf[@]}" |
123 |
+} |
124 |
+ |
125 |
+src_install() { |
126 |
+ default |
127 |
+ newinitd "${FILESDIR}"/ngircd.init-r1.d ngircd |
128 |
+} |
129 |
+ |
130 |
+pkg_postinst() { |
131 |
+ if [[ -z ${REPLACING_VERSIONS} ]] && use pam; then |
132 |
+ elog "ngircd will use PAMIsOptionalPAM by default, please change this option." |
133 |
+ elog "You may not be able to login until you change this." |
134 |
+ fi |
135 |
+} |