summaryrefslogtreecommitdiff
path: root/net-irc/atheme-services
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-08 18:00:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-08 18:00:27 +0000
commit78ebdce6a16942c7081565472862ab6730321ee3 (patch)
tree91e2d66a20ff982c4ccfdb6e95573a0d4ad2b3df /net-irc/atheme-services
parent0d96a0e47c83a107ad92e2bc90e5389f577cc9a4 (diff)
gentoo auto-resync : 08:03:2023 - 18:00:26
Diffstat (limited to 'net-irc/atheme-services')
-rw-r--r--net-irc/atheme-services/Manifest2
-rw-r--r--net-irc/atheme-services/atheme-services-7.2.12-r4.ebuild92
-rw-r--r--net-irc/atheme-services/files/atheme-services.service15
3 files changed, 109 insertions, 0 deletions
diff --git a/net-irc/atheme-services/Manifest b/net-irc/atheme-services/Manifest
index 3b7dd6eb91a3..148145449245 100644
--- a/net-irc/atheme-services/Manifest
+++ b/net-irc/atheme-services/Manifest
@@ -1,5 +1,7 @@
AUX atheme-services-7.2.10_p2-configure-logdir.patch 833 BLAKE2B 3809ea93546547de99b41ff19547b027102706e5e06e40333491440a1f09b0e78e31f5956def37ea1f6b067876a72f54a275d428332f2f479c7dace476bdc200 SHA512 43ca2af5aec6a1ea4b08564c62a21ae762fd01f2c177dbf8f7c6ebb238b9302b8310f2fe96ce2b20a7f7014c488a02177d1e583aa438ceff7576e4880ca2f62f
AUX atheme-services.initd 524 BLAKE2B 1388771d1d086baee885598eb448ee3daf1031e120cd21947a344aa72b24b969a5e9c6c5705b72c30a78020fbc2f27e56e0fbc618f58e8aae14c6fcae4b049c5 SHA512 3b90f60677088384c3f69b9dde40d18f4829d3435da0cdfbab003db3b68b6462ef31635b5fe4ed59d56745df9aa95a0690586b56d2f91e621aa2e708cb289cc1
+AUX atheme-services.service 298 BLAKE2B 5f21b2eaa0abf8debc722a34e7e7ab4156bae0769438b8bd77221302dcbe64133aff04278ee76321114ade17c8701f9a67dee09d8b8230d2aa3e1ce884b675da SHA512 1f0910b489deb3df5933651a630c98ce775592bd8a970335100970c449af07781f6f467e3d028ed8c9ca14037f9e3e03cd86624defa613332387c4042684925c
DIST atheme-services-7.2.12.tar.xz 1072992 BLAKE2B f9e1cb175c1e2f38b5d53eba8f3d391e421baaff7eb76f38b10ba02b258472ccf9b69a7a278ff05c4f620b6fe6e48362618c02d245ed5d9c5acd4bede91ac093 SHA512 0d276b9a0c96f72a739090c5b2c732ab6c000f801cbb86347b5670def56f36fb82d70fb4cb68a1d942b9765c054bc136a6b0cecc0573cf8f59076f8b91fc6bf6
EBUILD atheme-services-7.2.12-r3.ebuild 2214 BLAKE2B c263f2b1d4b24f19d862dcd4287e3210bbf913ce5b1c9fedf7c8ca6d782841ea4344251e011ee1851e47096055c4b48645b62e4b95b8b02ba25b98e1536931e2 SHA512 9aaeff0f290bb8469225cd916c29cf0ab7c1915d38e0d5980a3add4658fddeff8de667a1e8aea64e17bf0d66c2cf3de6130beac33ebd3a8432adf79767163cf7
+EBUILD atheme-services-7.2.12-r4.ebuild 2267 BLAKE2B 47312eb063cd2d04874a0c7f0270d6f8ec888a89c96320f0ad75eea34789ffe0f101f885a6aef3879f0f12a666417507c7684fd6cb3c48020f9f826a3f9fd4ac SHA512 4a4f97555c167ad31f3b4bc797cae92d8d6d7130dfdb6786dbc9b35f412e35e03d19960c0a24f7c646a931f1f9ae82d593ee01b845fcb3c84ce3c44e37e43527
MISC metadata.xml 830 BLAKE2B 79210e18e81cf7fa5299029b17b9819b39706558d58a002701c1c84fd37fa2d4022aa46448aee9558d8778bf4568ecd6c6cee7101d01f911fb260d96810e085e SHA512 3471aeabc100a3de474b0c49c0b115169b6e2b6d17a3d5e2aefafc4471b553d79857199913ae98b67d52cced875b9992dc5e983a31ce408788ed77baab79688f
diff --git a/net-irc/atheme-services/atheme-services-7.2.12-r4.ebuild b/net-irc/atheme-services/atheme-services-7.2.12-r4.ebuild
new file mode 100644
index 000000000000..1868e2015273
--- /dev/null
+++ b/net-irc/atheme-services/atheme-services-7.2.12-r4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit perl-functions systemd
+
+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
+ systemd_dounit "${FILESDIR}"/${PN}.service
+
+ # 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
+}
diff --git a/net-irc/atheme-services/files/atheme-services.service b/net-irc/atheme-services/files/atheme-services.service
new file mode 100644
index 000000000000..a552ead5b413
--- /dev/null
+++ b/net-irc/atheme-services/files/atheme-services.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Atheme IRC services
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+RuntimeDirectory=atheme
+ExecStart=/usr/bin/atheme-services
+ExecReload=kill -HUP $MAINPID
+Type=forking
+PIDFile=/run/atheme/atheme.pid
+User=atheme-services
+
+[Install]
+WantedBy=multi-user.target