From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1263512-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 926061382C5
	for <garchives@archives.gentoo.org>; Tue, 23 Mar 2021 04:53:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 34C75E0886;
	Tue, 23 Mar 2021 04:53:29 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 153FAE0886
	for <gentoo-commits@lists.gentoo.org>; Tue, 23 Mar 2021 04:53:29 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 70F85340931
	for <gentoo-commits@lists.gentoo.org>; Tue, 23 Mar 2021 04:53:27 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E9DF7642
	for <gentoo-commits@lists.gentoo.org>; Tue, 23 Mar 2021 04:53:23 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1616474936.05ad47893c8c5b36f82824695d1a3609573dbc96.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ngircd/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-irc/ngircd/ngircd-26.1.ebuild
X-VCS-Directories: net-irc/ngircd/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 05ad47893c8c5b36f82824695d1a3609573dbc96
X-VCS-Branch: master
Date: Tue, 23 Mar 2021 04:53:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e0e6b4ce-8ae7-4aab-991d-658d43be62c1
X-Archives-Hash: 9484f9028399ea5e0d75d0472959ae2c

commit:     05ad47893c8c5b36f82824695d1a3609573dbc96
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 23:04:55 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 23 04:48:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ad4789

net-irc/ngircd: style + BDEPEND

* Style changes (sam-style semicolons)
* expect and telnet are used during testing as binaries

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/ngircd/ngircd-26.1.ebuild | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/net-irc/ngircd/ngircd-26.1.ebuild b/net-irc/ngircd/ngircd-26.1.ebuild
index 4a9c13b0336..a19285e647e 100644
--- a/net-irc/ngircd/ngircd-26.1.ebuild
+++ b/net-irc/ngircd/ngircd-26.1.ebuild
@@ -36,11 +36,9 @@ RDEPEND="
 	tcpd? ( sys-apps/tcp-wrappers )
 	zlib? ( sys-libs/zlib )
 "
-
-BDEPEND="sys-devel/automake:1.11"
-
-DEPEND="
-	${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
+	sys-devel/automake:1.11
 	test? (
 		dev-tcltk/expect
 		net-misc/netkit-telnetd
@@ -50,7 +48,7 @@ DEPEND="
 src_prepare() {
 	default
 
-	if ! use prefix; then
+	if ! use prefix ; then
 		sed -i \
 			-e "s:;ServerUID = 65534:ServerUID = ngircd:" \
 			-e "s:;ServerGID = 65534:ServerGID = ngircd:" \
@@ -63,8 +61,8 @@ src_prepare() {
 }
 
 src_configure() {
-	local myconf=(
-		--sysconfdir="${EPREFIX}"/etc/"${PN}"
+	local myeconf=(
+		--sysconfdir="${EPREFIX}"/etc/${PN}
 		$(use_enable debug sniffer)
 		$(use_enable debug)
 		$(use_enable irc-plus ircplus)
@@ -77,8 +75,8 @@ src_configure() {
 		$(use_with zlib)
 	)
 
-	if use ssl; then
-		if use gnutls; then
+	if use ssl ; then
+		if use gnutls ; then
 			myconf+=(
 				$( use_with gnutls )
 			)
@@ -89,16 +87,17 @@ src_configure() {
 		fi
 	fi
 
-	econf "${myconf[@]}"
+	econf "${myeconf[@]}"
 }
 
 src_install() {
 	default
+
 	newinitd "${FILESDIR}"/ngircd.init-r1.d ngircd
 }
 
 pkg_postinst() {
-	if [[ -z ${REPLACING_VERSIONS} ]] && use pam; then
+	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