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