From 7f0ccc917c7abe6223784c703d86cd14755691fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Jul 2021 22:39:47 +0100 Subject: gentoo resync : 03.07.2021 --- net-irc/atheme-services/Manifest | 2 +- .../atheme-services-7.2.11-r1.ebuild | 91 ++++++++++++++++++++++ .../atheme-services/atheme-services-7.2.11.ebuild | 90 --------------------- 3 files changed, 92 insertions(+), 91 deletions(-) create mode 100644 net-irc/atheme-services/atheme-services-7.2.11-r1.ebuild delete mode 100644 net-irc/atheme-services/atheme-services-7.2.11.ebuild (limited to 'net-irc/atheme-services') diff --git a/net-irc/atheme-services/Manifest b/net-irc/atheme-services/Manifest index dbe9a13f3de4..eed3934bf792 100644 --- a/net-irc/atheme-services/Manifest +++ b/net-irc/atheme-services/Manifest @@ -1,5 +1,5 @@ AUX atheme-services-7.2.10_p2-configure-logdir.patch 833 BLAKE2B 3809ea93546547de99b41ff19547b027102706e5e06e40333491440a1f09b0e78e31f5956def37ea1f6b067876a72f54a275d428332f2f479c7dace476bdc200 SHA512 43ca2af5aec6a1ea4b08564c62a21ae762fd01f2c177dbf8f7c6ebb238b9302b8310f2fe96ce2b20a7f7014c488a02177d1e583aa438ceff7576e4880ca2f62f AUX atheme-services.initd 524 BLAKE2B 1388771d1d086baee885598eb448ee3daf1031e120cd21947a344aa72b24b969a5e9c6c5705b72c30a78020fbc2f27e56e0fbc618f58e8aae14c6fcae4b049c5 SHA512 3b90f60677088384c3f69b9dde40d18f4829d3435da0cdfbab003db3b68b6462ef31635b5fe4ed59d56745df9aa95a0690586b56d2f91e621aa2e708cb289cc1 DIST atheme-services-7.2.11.tar.xz 1051436 BLAKE2B 99624c21adf820c8ef8e33aa9ae9036c701c4a9218e225e7871717c86010fbed56d00da43cd2ffb79a46074a5602260fabbbaf769407a00175b5127c18913c1c SHA512 adcc189b61efe295997a7456022a7595df5b14b55c2139794d380e57fe77efd42221316558391b5440f077fd951143905454b0e9893deec89108fa671b44ef2f -EBUILD atheme-services-7.2.11.ebuild 2191 BLAKE2B 9c63a8bac619335afa6937a1db865137d0e5cd0ebd4d2fef136af2dcfdb278f5a987952c4613f06687a949c2eca7711c2c2f7f54e54d98be09b3df865f57f634 SHA512 d2ebc02dadb1c47214883d0d5af58a4398b02e286e369a466c66232c4ada3688213edb111a8aa51feaa28963aedad15bca8c835ee89b262d8e76f72a1c619df6 +EBUILD atheme-services-7.2.11-r1.ebuild 2213 BLAKE2B b9843850d65056e1bfa45ca6314e7944827875d4ee5781597ac750ad42e4d8b2c8f8ee1fdddd2ce78abe86e3ab8db0fa3a8c2f3cf07e7666b6ab081673316c3e SHA512 db5483c47a78c99cec4e072c54402056ce0b5e06fece96d29e1f8d3926eb4ba0d94014b0b749759306d12d0f714d64e09edf792481f302c4d52d7de0be97ee61 MISC metadata.xml 751 BLAKE2B 8259810e42bad77feab76dde2384181dbb70d96f997fe470382aca47708a8a202eaed7d818d444b2314d7129f52b23945be88cd14a527944eeca8636e76edb87 SHA512 f6b53df954381a28968140eff320896bfaa1321fab360e3b9871f06f0f26b33e7447c34099ade0cca57190aa3a3ec60a38b5945740edcad41161a93e01d2bc35 diff --git a/net-irc/atheme-services/atheme-services-7.2.11-r1.ebuild b/net-irc/atheme-services/atheme-services-7.2.11-r1.ebuild new file mode 100644 index 000000000000..dc7e351945f6 --- /dev/null +++ b/net-irc/atheme-services/atheme-services-7.2.11-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic 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" +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 +} diff --git a/net-irc/atheme-services/atheme-services-7.2.11.ebuild b/net-irc/atheme-services/atheme-services-7.2.11.ebuild deleted file mode 100644 index 2f74842aa725..000000000000 --- a/net-irc/atheme-services/atheme-services-7.2.11.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic 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" -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 - 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 -} -- cgit v1.2.3