public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ngircd/
Date: Sat,  2 Jan 2021 21:08:56 +0000 (UTC)	[thread overview]
Message-ID: <1609621732.7030712df6ba0b1849ebb20d4d6b4317c1fe368f.sam@gentoo> (raw)

commit:     7030712df6ba0b1849ebb20d4d6b4317c1fe368f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 21:04:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 21:08:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7030712d

net-irc/ngircd: bump to 26.1

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/ngircd/Manifest           |   1 +
 net-irc/ngircd/ngircd-26.1.ebuild | 105 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/net-irc/ngircd/Manifest b/net-irc/ngircd/Manifest
index 6dba9318b06..5bd634e231a 100644
--- a/net-irc/ngircd/Manifest
+++ b/net-irc/ngircd/Manifest
@@ -1 +1,2 @@
+DIST ngircd-26.1.tar.gz 562938 BLAKE2B a1a4ca8b6e12a02cb4ba2e07d777cf77051b5330464c91634cfac0b385157ab7c648e3b71151247bc8ee6cc847e84755fdca3d9b4a25205bbb57b8296995dd17 SHA512 4a3ee379dd8d8655a71134c745f750359ceb0512e184db555f65f2bcab68087480365a35680a9ec75b1e6eb0fef23e1cbe0a0e13c3c58d211e5a520a8eeaa71c
 DIST ngircd-26.tar.gz 565579 BLAKE2B edd005179a79bbb51a1401f7d580ebf66cb5bf65d1427453c471a4e7e667d7fd6b320c292e9a7993c5fef6beeae88126fefb73284063451b080ecc0d3e6ca0f1 SHA512 2502baf83e3bfca3e6b83c22fe660fee24732ee875b32a7071a489a8babcc08124738142215b55d4f9bd4e94bec3f2a41889ab18324f772b1674b02883cbfb91

diff --git a/net-irc/ngircd/ngircd-26.1.ebuild b/net-irc/ngircd/ngircd-26.1.ebuild
new file mode 100644
index 00000000000..3336bff7a93
--- /dev/null
+++ b/net-irc/ngircd/ngircd-26.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Bug: https://github.com/ngircd/ngircd/issues/261
+WANT_AUTOMAKE=1.11.6
+inherit autotools
+
+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 ~arm ~arm64 ~x86 ~x64-macos"
+IUSE="debug gnutls ident irc-plus +ipv6 libressl pam +ssl strict-rfc tcpd test zlib"
+
+#RESTRICT="!test? ( test )"
+# Flaky test needs investigation (bug 719256)
+RESTRICT="test"
+
+RDEPEND="
+	acct-user/ngircd
+	acct-group/ngircd
+	irc-plus? ( 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 )
+"
+
+BDEPEND="sys-devel/automake:1.11"
+
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-tcltk/expect
+		net-misc/netkit-telnetd
+	)
+"
+
+src_prepare() {
+	default
+
+	if ! use prefix; then
+		sed -i \
+			-e "s:;ServerUID = 65534:ServerUID = ngircd:" \
+			-e "s:;ServerGID = 65534:ServerGID = ngircd:" \
+			doc/sample-ngircd.conf.tmpl || die
+	fi
+
+	# Once https://github.com/ngircd/ngircd/pull/270 is in a release (ngircd 26), we can remove
+	# the eautomake/autotools machinery.
+	eautomake
+}
+
+src_configure() {
+	local myconf=(
+		--sysconfdir="${EPREFIX}"/etc/"${PN}"
+		$(use_enable debug sniffer)
+		$(use_enable debug)
+		$(use_enable irc-plus ircplus)
+		$(use_enable ipv6)
+		$(use_enable strict-rfc)
+		$(use_with irc-plus iconv)
+		$(use_with ident)
+		$(use_with pam)
+		$(use_with tcpd tcp-wrappers)
+		$(use_with zlib)
+	)
+
+	if use ssl; then
+		if use gnutls; then
+			myconf+=(
+				$( use_with gnutls )
+			)
+		else
+			myconf+=(
+				$( use_with !gnutls openssl )
+			)
+		fi
+	fi
+
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+	newinitd "${FILESDIR}"/ngircd.init-r1.d ngircd
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]] && use pam; then
+		elog "ngircd will use PAMIsOptionalPAM by default, please change this option."
+		elog "You may not be able to login until you change this."
+	fi
+}


             reply	other threads:[~2021-01-02 21:09 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-02 21:08 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-27  8:13 [gentoo-commits] repo/gentoo:master commit in: net-irc/ngircd/ Sam James
2024-12-11  6:12 Sam James
2024-12-11  6:01 Sam James
2022-10-04  9:09 Sam James
2022-08-15  7:42 Agostino Sarubbo
2022-08-15  7:41 Agostino Sarubbo
2022-08-15  7:40 Agostino Sarubbo
2022-04-15  6:36 Arthur Zamarin
2022-04-14  8:12 Agostino Sarubbo
2022-04-14  8:08 Agostino Sarubbo
2022-04-13  9:32 Jakov Smolić
2022-04-12 21:04 Sam James
2022-03-12 12:33 Arthur Zamarin
2021-08-05  1:56 Sam James
2021-07-31 13:40 Michał Górny
2021-07-09 15:04 Sam James
2021-05-02 19:47 Mikle Kolyada
2021-04-20 21:04 Sam James
2021-04-16  3:58 Sam James
2021-04-16  3:58 Sam James
2021-03-23  4:53 Sam James
2021-02-14 19:59 Sam James
2021-02-13 19:18 Sam James
2021-02-03  0:01 Sam James
2021-02-02 21:00 Sam James
2020-08-19 14:33 Sam James
2020-07-25 13:09 Sam James
2020-07-24 23:53 Sam James
2020-07-24 15:09 Agostino Sarubbo
2020-07-08 20:50 Sam James
2020-06-20 20:31 Thomas Deutschmann
2020-06-20 20:31 Thomas Deutschmann
2020-06-08 16:34 Mart Raudsepp
2020-06-08  6:41 Michał Górny
2020-06-03 15:10 Agostino Sarubbo
2020-06-03 10:27 Agostino Sarubbo
2020-05-08  6:25 Mart Raudsepp
2020-04-26 13:37 Joonas Niilola
2020-04-26 13:37 Joonas Niilola
2019-10-12 21:00 Mikle Kolyada
2017-04-27 10:36 Agostino Sarubbo
2017-02-23  8:41 Michael Palimaka
2017-02-23  8:39 Michael Palimaka
2016-05-13  8:41 Agostino Sarubbo
2015-12-29 15:49 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1609621732.7030712df6ba0b1849ebb20d4d6b4317c1fe368f.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox