From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 67BAA15808C for ; Wed, 9 Feb 2022 11:25:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4EE89E08F3; Wed, 9 Feb 2022 11:25:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14167E08F2 for ; Wed, 9 Feb 2022 11:25:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B431342C7F for ; Wed, 9 Feb 2022 11:25:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 959C62D7 for ; Wed, 9 Feb 2022 11:25:10 +0000 (UTC) From: "Sam James" 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" Message-ID: <1644405885.b1fb69510539e977602c0303dbca8e2e831932f4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/atheme-services/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/atheme-services/atheme-services-7.2.12-r1.ebuild X-VCS-Directories: net-irc/atheme-services/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b1fb69510539e977602c0303dbca8e2e831932f4 X-VCS-Branch: master Date: Wed, 9 Feb 2022 11:25:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 61dc60c4-979f-44e0-9e7f-97c29cb8decd X-Archives-Hash: e76aac8e364ec03c11e598f98c553615 commit: b1fb69510539e977602c0303dbca8e2e831932f4 Author: Wade Cline hotmail com> AuthorDate: Mon Feb 7 03:27:40 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Feb 9 11:24:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1fb6951 net-irc/atheme-services: Rev bump for EAPI 8 Bump to EAPI 8. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Wade Cline hotmail.com> Closes: https://github.com/gentoo/gentoo/pull/24101 Signed-off-by: Sam James gentoo.org> .../atheme-services-7.2.12-r1.ebuild | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/net-irc/atheme-services/atheme-services-7.2.12-r1.ebuild b/net-irc/atheme-services/atheme-services-7.2.12-r1.ebuild new file mode 100644 index 000000000000..3604b77d858b --- /dev/null +++ b/net-irc/atheme-services/atheme-services-7.2.12-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit perl-functions + +DESCRIPTION="A portable and secure set of open-source and modular IRC services" +HOMEPAGE="https://github.com/atheme/atheme" +SRC_URI="https://github.com/atheme/atheme/releases/download/v${PV}/${PN}-v${PV}.tar.xz -> ${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="cracklib largenet ldap nls +pcre perl profile ssl" +S="${WORKDIR}/${PN}-v${PV}" + +RDEPEND=" + acct-group/atheme-services + acct-user/atheme-services + >=dev-libs/libmowgli-2.1.0:2 + virtual/libcrypt:= + cracklib? ( sys-libs/cracklib ) + ldap? ( net-nds/openldap ) + perl? ( dev-lang/perl:= ) + pcre? ( dev-libs/libpcre ) + ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND}" +# 'dev-vcs/git' required as per bug #665802 +BDEPEND=" + dev-vcs/git + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-7.2.10_p2-configure-logdir.patch) + +src_configure() { + # perl scriping module support is also broken in 7.0.0. Yay for QA failures. + econf \ + --sysconfdir="${EPREFIX}"/etc/${PN} \ + --localstatedir="${EPREFIX}"/var \ + --enable-fhs-paths \ + --disable-warnings \ + --enable-contrib \ + $(use_enable largenet large-net) \ + $(use_with cracklib) \ + $(use_with ldap) \ + $(use_enable nls) \ + $(use_enable profile) \ + $(use_with pcre) \ + $(use_with perl) \ + $(use_enable ssl) +} + +src_compile() { + emake V=1 +} + +src_install() { + default + + insinto /etc/${PN} + for conf in dist/*.example; do + # The .cron file isn't meant to live in /etc/${PN}, so only + # install a .example version. + [[ ${conf} == *cron* ]] && continue + + local confdest=${conf##*/} + newins ${conf} ${confdest%.example} + done + + fowners -R 0:${PN} /etc/${PN} + keepdir /var/{lib,log}/atheme + fowners ${PN}:${PN} /var/{lib,log}/atheme + fperms -R go-w,o-rx /etc/${PN} + fperms 750 /etc/${PN} /var/{lib,log}/atheme + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + mv "${ED}"/usr/bin/{,atheme-}dbverify || die + + # contributed scripts and such: + docinto contrib + dodoc contrib/*.{c,pl,php,py,rb} + + use perl && perl_domodule -r contrib/Atheme{,.pm} + + rm "${ED}/usr/share/doc/${PF}/WINDOWS" || die + + # Bug #454840 #520490 + rm -rf "${ED}/var/run" || die +}