public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-irc/atheme-services/, net-irc/atheme-services/files/
@ 2017-09-02  8:45 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2017-09-02  8:45 UTC (permalink / raw
  To: gentoo-commits

commit:     bd0cdb2fe6e110d38bd00ee32265433960edda69
Author:     Wade Cline <wadecline <AT> hotmail <DOT> com>
AuthorDate: Fri Jun 23 02:56:55 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 08:45:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd0cdb2f

net-irc/atheme-services: New package.

Bug: https://bugs.gentoo.org/454840
Bug: https://bugs.gentoo.org/520490
Bug: https://bugs.gentoo.org/574062
Bug: https://bugs.gentoo.org/581960
Closes: https://github.com/gentoo/gentoo/pull/5014

 net-irc/atheme-services/Manifest                   |  1 +
 .../atheme-services/atheme-services-7.2.9.ebuild   | 89 ++++++++++++++++++++++
 .../atheme-services-7.2.9-configure-logdir.patch   | 25 ++++++
 .../files/atheme-services-7.2.9-fix-docdir.patch   | 13 ++++
 .../atheme-services/files/atheme-services.initd    | 27 +++++++
 net-irc/atheme-services/metadata.xml               | 18 +++++
 6 files changed, 173 insertions(+)

diff --git a/net-irc/atheme-services/Manifest b/net-irc/atheme-services/Manifest
new file mode 100644
index 00000000000..bb730b17086
--- /dev/null
+++ b/net-irc/atheme-services/Manifest
@@ -0,0 +1 @@
+DIST atheme-services-7.2.9.tar.bz2 1179582 SHA256 a87a046aa73fc4a97a11d41cc08c60b835135ba20bb173ca888b40e0d6b54b27 SHA512 8852bcf4746ad3b8814e2e7ae8b435c538b442f26f6cf8479087d115c0c4d6877ea864f9e19ccaa9ae93ea8a116cfa53d1f22846fffb783f78bfad8e95fd26f7 WHIRLPOOL 2b5ceb38b196567eb64ac11d0866b209b5f0ed00f1ee4c387dde2214bb3ff540996822d9843d7b32c6f0d908b80ca4c5edab7d1ee96e89a0ed59ab9333baf84b

diff --git a/net-irc/atheme-services/atheme-services-7.2.9.ebuild b/net-irc/atheme-services/atheme-services-7.2.9.ebuild
new file mode 100644
index 00000000000..70684a5915f
--- /dev/null
+++ b/net-irc/atheme-services/atheme-services-7.2.9.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic perl-functions user
+
+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}/atheme-${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cracklib largenet ldap nls +pcre perl profile ssl"
+S="${WORKDIR}/atheme-${PV}"
+
+RDEPEND=">=dev-libs/libmowgli-2.1.0:0
+	cracklib? ( sys-libs/cracklib )
+	ldap? ( net-nds/openldap )
+	perl? ( dev-lang/perl )
+	pcre? ( dev-libs/libpcre )
+	ssl? ( dev-libs/openssl:0= )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-fix-docdir.patch
+	"${FILESDIR}"/${P}-configure-logdir.patch)
+
+pkg_setup() {
+	enewgroup ${PN}
+	enewuser ${PN} -1 -1 /var/lib/atheme ${PN}
+}
+
+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/files/atheme-services-7.2.9-configure-logdir.patch b/net-irc/atheme-services/files/atheme-services-7.2.9-configure-logdir.patch
new file mode 100644
index 00000000000..d57af2d9f44
--- /dev/null
+++ b/net-irc/atheme-services/files/atheme-services-7.2.9-configure-logdir.patch
@@ -0,0 +1,25 @@
+diff --git a/dist/atheme.conf.example b/dist/atheme.conf.example
+index ac3ed54dd..be1c2db50 100644
+--- a/dist/atheme.conf.example
++++ b/dist/atheme.conf.example
+@@ -1909,17 +1909,17 @@ ldap {
+  * This block logs all account and channel registrations and drops,
+  * and account and channel setting changes to var/account.log.
+  */
+-logfile "var/account.log" { register; set; };
++logfile "/var/log/atheme/account.log" { register; set; };
+ 
+ /*
+  * This block logs all command use to var/commands.log.
+  */
+-logfile "var/commands.log" { commands; };
++logfile "/var/log/atheme/commands.log" { commands; };
+ 
+ /*
+  * This block logs all security auditing information.
+  */
+-logfile "var/audit.log" { denycmd; };
++logfile "/var/log/atheme/audit.log" { denycmd; };
+ 
+ /*
+  * You can log to IRC channels, and even split it by category, too.

diff --git a/net-irc/atheme-services/files/atheme-services-7.2.9-fix-docdir.patch b/net-irc/atheme-services/files/atheme-services-7.2.9-fix-docdir.patch
new file mode 100644
index 00000000000..e7d4bb2695f
--- /dev/null
+++ b/net-irc/atheme-services/files/atheme-services-7.2.9-fix-docdir.patch
@@ -0,0 +1,13 @@
+diff --git a/extra.mk.in b/extra.mk.in
+index 39053e48a..e47b27246 100644
+--- a/extra.mk.in
++++ b/extra.mk.in
+@@ -82,7 +82,7 @@ libdir ?= @libdir@
+ CFLAGS ?= @CFLAGS@
+ INSTALL_LIB ?= @INSTALL_LIB@
+ RUNDIR ?= @RUNDIR@
+-DOCDIR ?= @DOCDIR@
++DOCDIR ?= @docdir@
+ localstatedir ?= @localstatedir@
+ docdir ?= @docdir@
+ GREP ?= @GREP@

diff --git a/net-irc/atheme-services/files/atheme-services.initd b/net-irc/atheme-services/files/atheme-services.initd
new file mode 100644
index 00000000000..46a868380aa
--- /dev/null
+++ b/net-irc/atheme-services/files/atheme-services.initd
@@ -0,0 +1,27 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+extra_started_commands="reload"
+
+command="/usr/bin/atheme-services"
+command_user="atheme-services"
+pidfile="/var/run/atheme/atheme.pid"
+
+name="Atheme IRC Services"
+
+depend() {
+	need net
+	use ircd
+	provide irc-services
+}
+
+start_pre() {
+	checkpath -d "/var/run/atheme" -o atheme-services
+}
+
+reload() {
+	ebegin "Reloading ${SVCNAME}"
+	start-stop-daemon --signal HUP --pidfile "${pidfile}"
+	eend $?
+}

diff --git a/net-irc/atheme-services/metadata.xml b/net-irc/atheme-services/metadata.xml
new file mode 100644
index 00000000000..1056f0f4fb2
--- /dev/null
+++ b/net-irc/atheme-services/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<use>
+		<flag name="cracklib">Enable nickserv/cracklib module for enforcing strong account passwords</flag>
+		<flag name="largenet">Enable support/tweaks for large networks</flag>
+		<flag name="ldap">Enable ldap-backed authentication module</flag>
+		<flag name="perl">Install a perl module which wraps around the services' XML-RPC interface</flag>
+	</use>
+	<maintainer type="person">
+		<email>wadecline@hotmail.com</email>
+		<name>Wade Cline</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-irc/atheme-services/, net-irc/atheme-services/files/
@ 2018-07-23  8:36 Tony Vroon
  0 siblings, 0 replies; 5+ messages in thread
From: Tony Vroon @ 2018-07-23  8:36 UTC (permalink / raw
  To: gentoo-commits

commit:     0bfa6969fdd253bb2642808581664cf884529c07
Author:     Wade Cline <wadecline <AT> hotmail <DOT> com>
AuthorDate: Mon Jul 23 05:29:13 2018 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Mon Jul 23 08:36:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bfa6969

net-irc/atheme-services Version bump to 7.2.10_p2

Closes: https://github.com/gentoo/gentoo/pull/9323

 net-irc/atheme-services/Manifest                   |  1 +
 .../atheme-services-7.2.10_p2.ebuild               | 91 ++++++++++++++++++++++
 ...theme-services-7.2.10_p2-configure-logdir.patch | 25 ++++++
 3 files changed, 117 insertions(+)

diff --git a/net-irc/atheme-services/Manifest b/net-irc/atheme-services/Manifest
index 6236fb81cee..050f15eb282 100644
--- a/net-irc/atheme-services/Manifest
+++ b/net-irc/atheme-services/Manifest
@@ -1 +1,2 @@
+DIST atheme-services-7.2.10_p2.tar.xz 21061364 BLAKE2B e02ea3b9b55c0a02bfd354da65ed45318c2f0a5d5d35cabe7984760cfe1683b9856cc779754f1de8861816b5b2d2323c898100697e8d365ffed039e90b42cde6 SHA512 c7e6654ddbf515b1565b77f0659cd9a77787d004fb532ecdee638189e823ec65afc283cbeafc6d7625ed6c210835e5546c5e33718e08ad0b280ccc7a2df7be48
 DIST atheme-services-7.2.9.tar.bz2 1179582 BLAKE2B ea8a52cccffae78a317dc060fc6eef4daf398ab5c3d91147aaad48252614df42fd0327ee0cc9eef237dd03d81edde6a64bb0fb498d68039e8424fbab1b92861c SHA512 8852bcf4746ad3b8814e2e7ae8b435c538b442f26f6cf8479087d115c0c4d6877ea864f9e19ccaa9ae93ea8a116cfa53d1f22846fffb783f78bfad8e95fd26f7

diff --git a/net-irc/atheme-services/atheme-services-7.2.10_p2.ebuild b/net-irc/atheme-services/atheme-services-7.2.10_p2.ebuild
new file mode 100644
index 00000000000..90d919e5357
--- /dev/null
+++ b/net-irc/atheme-services/atheme-services-7.2.10_p2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic perl-functions user
+
+MY_PN="atheme"
+MY_PV="7.2.10-r2"
+
+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${MY_PV}/${MY_PN}-v${MY_PV}.tar.xz -> ${PN}-${PV}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cracklib largenet ldap nls +pcre perl profile ssl"
+S="${WORKDIR}/${MY_PN}-v${MY_PV}"
+
+RDEPEND=">=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}
+	virtual/pkgconfig"
+
+PATCHES=("${FILESDIR}"/${P}-configure-logdir.patch)
+
+pkg_setup() {
+	enewgroup ${PN}
+	enewuser ${PN} -1 -1 /var/lib/atheme ${PN}
+}
+
+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/files/atheme-services-7.2.10_p2-configure-logdir.patch b/net-irc/atheme-services/files/atheme-services-7.2.10_p2-configure-logdir.patch
new file mode 100644
index 00000000000..d57af2d9f44
--- /dev/null
+++ b/net-irc/atheme-services/files/atheme-services-7.2.10_p2-configure-logdir.patch
@@ -0,0 +1,25 @@
+diff --git a/dist/atheme.conf.example b/dist/atheme.conf.example
+index ac3ed54dd..be1c2db50 100644
+--- a/dist/atheme.conf.example
++++ b/dist/atheme.conf.example
+@@ -1909,17 +1909,17 @@ ldap {
+  * This block logs all account and channel registrations and drops,
+  * and account and channel setting changes to var/account.log.
+  */
+-logfile "var/account.log" { register; set; };
++logfile "/var/log/atheme/account.log" { register; set; };
+ 
+ /*
+  * This block logs all command use to var/commands.log.
+  */
+-logfile "var/commands.log" { commands; };
++logfile "/var/log/atheme/commands.log" { commands; };
+ 
+ /*
+  * This block logs all security auditing information.
+  */
+-logfile "var/audit.log" { denycmd; };
++logfile "/var/log/atheme/audit.log" { denycmd; };
+ 
+ /*
+  * You can log to IRC channels, and even split it by category, too.


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-irc/atheme-services/, net-irc/atheme-services/files/
@ 2018-07-23  8:36 Tony Vroon
  0 siblings, 0 replies; 5+ messages in thread
From: Tony Vroon @ 2018-07-23  8:36 UTC (permalink / raw
  To: gentoo-commits

commit:     a5312c646cab22edee5af3d3ac20c2e8ed20a1e4
Author:     Wade Cline <wadecline <AT> hotmail <DOT> com>
AuthorDate: Mon Jul 23 05:33:03 2018 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Mon Jul 23 08:36:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5312c64

net-irc/atheme-services Remove old version

 net-irc/atheme-services/Manifest                   |  1 -
 .../atheme-services-7.2.9-r1.ebuild                | 89 ----------------------
 .../atheme-services-7.2.9-configure-logdir.patch   | 25 ------
 .../files/atheme-services-7.2.9-fix-docdir.patch   | 13 ----
 4 files changed, 128 deletions(-)

diff --git a/net-irc/atheme-services/Manifest b/net-irc/atheme-services/Manifest
index 050f15eb282..ca89021adb4 100644
--- a/net-irc/atheme-services/Manifest
+++ b/net-irc/atheme-services/Manifest
@@ -1,2 +1 @@
 DIST atheme-services-7.2.10_p2.tar.xz 21061364 BLAKE2B e02ea3b9b55c0a02bfd354da65ed45318c2f0a5d5d35cabe7984760cfe1683b9856cc779754f1de8861816b5b2d2323c898100697e8d365ffed039e90b42cde6 SHA512 c7e6654ddbf515b1565b77f0659cd9a77787d004fb532ecdee638189e823ec65afc283cbeafc6d7625ed6c210835e5546c5e33718e08ad0b280ccc7a2df7be48
-DIST atheme-services-7.2.9.tar.bz2 1179582 BLAKE2B ea8a52cccffae78a317dc060fc6eef4daf398ab5c3d91147aaad48252614df42fd0327ee0cc9eef237dd03d81edde6a64bb0fb498d68039e8424fbab1b92861c SHA512 8852bcf4746ad3b8814e2e7ae8b435c538b442f26f6cf8479087d115c0c4d6877ea864f9e19ccaa9ae93ea8a116cfa53d1f22846fffb783f78bfad8e95fd26f7

diff --git a/net-irc/atheme-services/atheme-services-7.2.9-r1.ebuild b/net-irc/atheme-services/atheme-services-7.2.9-r1.ebuild
deleted file mode 100644
index 5fcdc6534d3..00000000000
--- a/net-irc/atheme-services/atheme-services-7.2.9-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic perl-functions user
-
-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}/atheme-${PV}.tar.bz2 -> ${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="cracklib largenet ldap nls +pcre perl profile ssl"
-S="${WORKDIR}/atheme-${PV}"
-
-RDEPEND=">=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}
-	virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${P}-fix-docdir.patch
-	"${FILESDIR}"/${P}-configure-logdir.patch)
-
-pkg_setup() {
-	enewgroup ${PN}
-	enewuser ${PN} -1 -1 /var/lib/atheme ${PN}
-}
-
-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/files/atheme-services-7.2.9-configure-logdir.patch b/net-irc/atheme-services/files/atheme-services-7.2.9-configure-logdir.patch
deleted file mode 100644
index d57af2d9f44..00000000000
--- a/net-irc/atheme-services/files/atheme-services-7.2.9-configure-logdir.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/dist/atheme.conf.example b/dist/atheme.conf.example
-index ac3ed54dd..be1c2db50 100644
---- a/dist/atheme.conf.example
-+++ b/dist/atheme.conf.example
-@@ -1909,17 +1909,17 @@ ldap {
-  * This block logs all account and channel registrations and drops,
-  * and account and channel setting changes to var/account.log.
-  */
--logfile "var/account.log" { register; set; };
-+logfile "/var/log/atheme/account.log" { register; set; };
- 
- /*
-  * This block logs all command use to var/commands.log.
-  */
--logfile "var/commands.log" { commands; };
-+logfile "/var/log/atheme/commands.log" { commands; };
- 
- /*
-  * This block logs all security auditing information.
-  */
--logfile "var/audit.log" { denycmd; };
-+logfile "/var/log/atheme/audit.log" { denycmd; };
- 
- /*
-  * You can log to IRC channels, and even split it by category, too.

diff --git a/net-irc/atheme-services/files/atheme-services-7.2.9-fix-docdir.patch b/net-irc/atheme-services/files/atheme-services-7.2.9-fix-docdir.patch
deleted file mode 100644
index e7d4bb2695f..00000000000
--- a/net-irc/atheme-services/files/atheme-services-7.2.9-fix-docdir.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extra.mk.in b/extra.mk.in
-index 39053e48a..e47b27246 100644
---- a/extra.mk.in
-+++ b/extra.mk.in
-@@ -82,7 +82,7 @@ libdir ?= @libdir@
- CFLAGS ?= @CFLAGS@
- INSTALL_LIB ?= @INSTALL_LIB@
- RUNDIR ?= @RUNDIR@
--DOCDIR ?= @DOCDIR@
-+DOCDIR ?= @docdir@
- localstatedir ?= @localstatedir@
- docdir ?= @docdir@
- GREP ?= @GREP@


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-irc/atheme-services/, net-irc/atheme-services/files/
@ 2020-04-17  7:36 Joonas Niilola
  0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2020-04-17  7:36 UTC (permalink / raw
  To: gentoo-commits

commit:     85db1b6050f29c2904caf838136f03110b8aaa63
Author:     Wade Cline <wadecline <AT> hotmail <DOT> com>
AuthorDate: Wed Apr 15 05:26:59 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Apr 17 07:35:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85db1b60

net-irc/atheme-services: Rev bump

Backport part of '0f62f37d6683df42004bda2aa27e31e656f1c0b5' from
atheme contrib modules in order to fix compilation error on musl.
Update the ebuild to be compliant with GLEP 81.
Use EAPI-7.

Bug: https://bugs.gentoo.org/717288
Signed-off-by: Wade Cline <wadecline <AT> hotmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15349
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 ....ebuild => atheme-services-7.2.10_p2-r1.ebuild} | 26 +++++++++++-----------
 ...-7.2.10_p2-fix-backtrace-compat-detection.patch | 12 ++++++++++
 2 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/net-irc/atheme-services/atheme-services-7.2.10_p2.ebuild b/net-irc/atheme-services/atheme-services-7.2.10_p2-r1.ebuild
similarity index 81%
rename from net-irc/atheme-services/atheme-services-7.2.10_p2.ebuild
rename to net-irc/atheme-services/atheme-services-7.2.10_p2-r1.ebuild
index 370851d3ea4..6e5d339fa09 100644
--- a/net-irc/atheme-services/atheme-services-7.2.10_p2.ebuild
+++ b/net-irc/atheme-services/atheme-services-7.2.10_p2-r1.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit flag-o-matic perl-functions user
+inherit flag-o-matic perl-functions
 
 MY_PN="atheme"
 MY_PV="7.2.10-r2"
 
 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${MY_PV}/${MY_PN}-v${MY_PV}.tar.xz -> ${PN}-${PV}.tar.xz"
+SRC_URI="https://github.com/atheme/atheme/releases/download/v${MY_PV}/${MY_PN}-v${MY_PV}.tar.xz -> ${P}.tar.xz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -18,7 +18,10 @@ KEYWORDS="~amd64"
 IUSE="cracklib largenet ldap nls +pcre perl profile ssl"
 S="${WORKDIR}/${MY_PN}-v${MY_PV}"
 
-RDEPEND=">=dev-libs/libmowgli-2.1.0:2
+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 )
@@ -28,12 +31,9 @@ DEPEND="${RDEPEND}
 	dev-vcs/git
 	virtual/pkgconfig"
 
-PATCHES=("${FILESDIR}"/${P}-configure-logdir.patch)
-
-pkg_setup() {
-	enewgroup ${PN}
-	enewuser ${PN} -1 -1 /var/lib/atheme ${PN}
-}
+PATCHES=(
+	"${FILESDIR}"/${P}-configure-logdir.patch
+	"${FILESDIR}"/${P}-fix-backtrace-compat-detection.patch)
 
 src_configure() {
 	# perl scriping module support is also broken in 7.0.0. Yay for QA failures.
@@ -85,8 +85,8 @@ src_install() {
 
 	use perl && perl_domodule -r contrib/Atheme{,.pm}
 
-	rm "${ED%/}/usr/share/doc/${PF}/WINDOWS" || die
+	rm "${ED}/usr/share/doc/${PF}/WINDOWS" || die
 
 	# Bug #454840 #520490
-	rm -rf "${ED%/}/var/run" || die
+	rm -rf "${ED}/var/run" || die
 }

diff --git a/net-irc/atheme-services/files/atheme-services-7.2.10_p2-fix-backtrace-compat-detection.patch b/net-irc/atheme-services/files/atheme-services-7.2.10_p2-fix-backtrace-compat-detection.patch
new file mode 100644
index 00000000000..b6f448163aa
--- /dev/null
+++ b/net-irc/atheme-services/files/atheme-services-7.2.10_p2-fix-backtrace-compat-detection.patch
@@ -0,0 +1,12 @@
+diff --git a/modules/contrib/backtrace.c b/modules/contrib/backtrace.c
+index 8c4eeb2..064e88e 100644
+--- a/modules/contrib/backtrace.c
++++ b/modules/contrib/backtrace.c
+@@ -1,6 +1,6 @@
+ #include "atheme-compat.h"
+ 
+-#if defined( __linux__) || defined(__Linux__)
++#if (defined( __linux__) || defined(__Linux__)) && defined(__GLIBC__)
+ #include <execinfo.h>
+ 
+ DECLARE_MODULE_V1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-irc/atheme-services/, net-irc/atheme-services/files/
@ 2021-03-09 12:05 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2021-03-09 12:05 UTC (permalink / raw
  To: gentoo-commits

commit:     a1550aff5a0b68c69f21ec20e5b9bcbbae389e63
Author:     Wade Cline <wadecline <AT> hotmail <DOT> com>
AuthorDate: Sun Mar  7 23:52:35 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  9 12:05:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1550aff

net-irc/atheme-services: Drop 7.2.10_p2-r2

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Wade Cline <wadecline <AT> hotmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19824
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/atheme-services/Manifest                   |  1 -
 .../atheme-services-7.2.10_p2-r2.ebuild            | 94 ----------------------
 ...-7.2.10_p2-fix-backtrace-compat-detection.patch | 12 ---
 3 files changed, 107 deletions(-)

diff --git a/net-irc/atheme-services/Manifest b/net-irc/atheme-services/Manifest
index a2d8327a358..77a13813677 100644
--- a/net-irc/atheme-services/Manifest
+++ b/net-irc/atheme-services/Manifest
@@ -1,2 +1 @@
-DIST atheme-services-7.2.10_p2.tar.xz 21061364 BLAKE2B e02ea3b9b55c0a02bfd354da65ed45318c2f0a5d5d35cabe7984760cfe1683b9856cc779754f1de8861816b5b2d2323c898100697e8d365ffed039e90b42cde6 SHA512 c7e6654ddbf515b1565b77f0659cd9a77787d004fb532ecdee638189e823ec65afc283cbeafc6d7625ed6c210835e5546c5e33718e08ad0b280ccc7a2df7be48
 DIST atheme-services-7.2.11.tar.xz 1051436 BLAKE2B 99624c21adf820c8ef8e33aa9ae9036c701c4a9218e225e7871717c86010fbed56d00da43cd2ffb79a46074a5602260fabbbaf769407a00175b5127c18913c1c SHA512 adcc189b61efe295997a7456022a7595df5b14b55c2139794d380e57fe77efd42221316558391b5440f077fd951143905454b0e9893deec89108fa671b44ef2f

diff --git a/net-irc/atheme-services/atheme-services-7.2.10_p2-r2.ebuild b/net-irc/atheme-services/atheme-services-7.2.10_p2-r2.ebuild
deleted file mode 100644
index 820dfd3bd2f..00000000000
--- a/net-irc/atheme-services/atheme-services-7.2.10_p2-r2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic perl-functions
-
-MY_PN="atheme"
-MY_PV="7.2.10-r2"
-
-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${MY_PV}/${MY_PN}-v${MY_PV}.tar.xz -> ${P}.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="cracklib largenet ldap nls +pcre perl profile ssl"
-S="${WORKDIR}/${MY_PN}-v${MY_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}"/${P}-configure-logdir.patch
-	"${FILESDIR}"/${P}-fix-backtrace-compat-detection.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/files/atheme-services-7.2.10_p2-fix-backtrace-compat-detection.patch b/net-irc/atheme-services/files/atheme-services-7.2.10_p2-fix-backtrace-compat-detection.patch
deleted file mode 100644
index b6f448163aa..00000000000
--- a/net-irc/atheme-services/files/atheme-services-7.2.10_p2-fix-backtrace-compat-detection.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/modules/contrib/backtrace.c b/modules/contrib/backtrace.c
-index 8c4eeb2..064e88e 100644
---- a/modules/contrib/backtrace.c
-+++ b/modules/contrib/backtrace.c
-@@ -1,6 +1,6 @@
- #include "atheme-compat.h"
- 
--#if defined( __linux__) || defined(__Linux__)
-+#if (defined( __linux__) || defined(__Linux__)) && defined(__GLIBC__)
- #include <execinfo.h>
- 
- DECLARE_MODULE_V1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-09 12:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-09 12:05 [gentoo-commits] repo/gentoo:master commit in: net-irc/atheme-services/, net-irc/atheme-services/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2020-04-17  7:36 Joonas Niilola
2018-07-23  8:36 Tony Vroon
2018-07-23  8:36 Tony Vroon
2017-09-02  8:45 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox