Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/atheme-services/
Date: Fri, 08 Apr 2022 12:17:04
Message-Id: 1649420213.d5613ef65ef9a89ff4de343406621c17d3a82781.juippis@gentoo
1 commit: d5613ef65ef9a89ff4de343406621c17d3a82781
2 Author: Wade Cline <wadecline <AT> hotmail <DOT> com>
3 AuthorDate: Wed Mar 30 06:43:54 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 8 12:16:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5613ef6
7
8 net-irc/atheme-services: Drop 7.2.12-r2
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Wade Cline <wadecline <AT> hotmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/24814
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 .../atheme-services-7.2.12-r2.ebuild | 91 ----------------------
16 1 file changed, 91 deletions(-)
17
18 diff --git a/net-irc/atheme-services/atheme-services-7.2.12-r2.ebuild b/net-irc/atheme-services/atheme-services-7.2.12-r2.ebuild
19 deleted file mode 100644
20 index c20793bd81d2..000000000000
21 --- a/net-irc/atheme-services/atheme-services-7.2.12-r2.ebuild
22 +++ /dev/null
23 @@ -1,91 +0,0 @@
24 -# Copyright 1999-2022 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=7
28 -
29 -inherit flag-o-matic perl-functions
30 -
31 -DESCRIPTION="A portable and secure set of open-source and modular IRC services"
32 -HOMEPAGE="https://github.com/atheme/atheme"
33 -SRC_URI="https://github.com/atheme/atheme/releases/download/v${PV}/${PN}-v${PV}.tar.xz -> ${P}.tar.xz"
34 -
35 -LICENSE="BSD"
36 -SLOT="0"
37 -KEYWORDS="amd64 ~arm ~arm64"
38 -IUSE="cracklib largenet ldap nls +pcre perl profile ssl"
39 -S="${WORKDIR}/${PN}-v${PV}"
40 -
41 -RDEPEND="
42 - acct-group/atheme-services
43 - acct-user/atheme-services
44 - >=dev-libs/libmowgli-2.1.0:2
45 - virtual/libcrypt:=
46 - cracklib? ( sys-libs/cracklib )
47 - ldap? ( net-nds/openldap:= )
48 - perl? ( dev-lang/perl:= )
49 - pcre? ( dev-libs/libpcre )
50 - ssl? ( dev-libs/openssl:0= )"
51 -DEPEND="${RDEPEND}"
52 -# 'dev-vcs/git' required as per bug #665802
53 -BDEPEND="
54 - dev-vcs/git
55 - virtual/pkgconfig"
56 -
57 -PATCHES=(
58 - "${FILESDIR}"/${PN}-7.2.10_p2-configure-logdir.patch)
59 -
60 -src_configure() {
61 - # perl scriping module support is also broken in 7.0.0. Yay for QA failures.
62 - econf \
63 - --sysconfdir="${EPREFIX}"/etc/${PN} \
64 - --localstatedir="${EPREFIX}"/var \
65 - --enable-fhs-paths \
66 - --disable-warnings \
67 - --enable-contrib \
68 - $(use_enable largenet large-net) \
69 - $(use_with cracklib) \
70 - $(use_with ldap) \
71 - $(use_enable nls) \
72 - $(use_enable profile) \
73 - $(use_with pcre) \
74 - $(use_with perl) \
75 - $(use_enable ssl)
76 -}
77 -
78 -src_compile() {
79 - emake V=1
80 -}
81 -
82 -src_install() {
83 - default
84 -
85 - insinto /etc/${PN}
86 - for conf in dist/*.example; do
87 - # The .cron file isn't meant to live in /etc/${PN}, so only
88 - # install a .example version.
89 - [[ ${conf} == *cron* ]] && continue
90 -
91 - local confdest=${conf##*/}
92 - newins ${conf} ${confdest%.example}
93 - done
94 -
95 - fowners -R 0:${PN} /etc/${PN}
96 - keepdir /var/{lib,log}/atheme
97 - fowners ${PN}:${PN} /var/{lib,log}/atheme
98 - fperms -R go-w,o-rx /etc/${PN}
99 - fperms 750 /etc/${PN} /var/{lib,log}/atheme
100 -
101 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
102 - mv "${ED}"/usr/bin/{,atheme-}dbverify || die
103 -
104 - # contributed scripts and such:
105 - docinto contrib
106 - dodoc contrib/*.{c,pl,php,py,rb}
107 -
108 - use perl && perl_domodule -r contrib/Atheme{,.pm}
109 -
110 - rm "${ED}/usr/share/doc/${PF}/WINDOWS" || die
111 -
112 - # Bug #454840 #520490
113 - rm -rf "${ED}/var/run" || die
114 -}