[gentoo-commits] repo/gentoo:master commit in: net-im/err/files/, net-im/err/

2022-04-23 Thread Joonas Niilola
commit: 519e39195da9758ec21411b50af68d8139e000ee
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Apr 23 07:31:49 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Apr 23 07:32:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519e3919

net-im/err: rename the patch file

Signed-off-by: Joonas Niilola  gentoo.org>

 net-im/err/err-6.1.8-r1.ebuild  | 2 +-
 .../files/{fix-irc-backend.patch => err-6.1.8-fix-irc-backend.patch}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/err/err-6.1.8-r1.ebuild b/net-im/err/err-6.1.8-r1.ebuild
index 11312c0984ea..0c3c4e31f534 100644
--- a/net-im/err/err-6.1.8-r1.ebuild
+++ b/net-im/err/err-6.1.8-r1.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://errbot.readthedocs.io/en/latest/;
 SRC_URI="https://github.com/errbotio/errbot/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
-PATCHES="${FILESDIR}/fix-irc-backend.patch"
+PATCHES="${FILESDIR}/err-6.1.8-fix-irc-backend.patch"
 
 KEYWORDS="~amd64"
 LICENSE="GPL-3"

diff --git a/net-im/err/files/fix-irc-backend.patch 
b/net-im/err/files/err-6.1.8-fix-irc-backend.patch
similarity index 100%
rename from net-im/err/files/fix-irc-backend.patch
rename to net-im/err/files/err-6.1.8-fix-irc-backend.patch



[gentoo-commits] repo/gentoo:master commit in: net-im/err/files/, net-im/err/

2018-08-16 Thread Sergey Popov
commit: 42ad98d5336e170edcc9667f08b5925ee5d06dcf
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Aug 16 10:18:31 2018 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Aug 16 10:18:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42ad98d5

net-im/err: drop old version

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-im/err/Manifest|  1 -
 net-im/err/err-1.7.1-r2.ebuild | 77 --
 net-im/err/files/errd.initd| 27 ---
 net-im/err/files/errd.initd.2  |  0
 net-im/err/metadata.xml|  1 -
 5 files changed, 106 deletions(-)

diff --git a/net-im/err/Manifest b/net-im/err/Manifest
index 958feac807e..62697aaabee 100644
--- a/net-im/err/Manifest
+++ b/net-im/err/Manifest
@@ -1,2 +1 @@
-DIST err-1.7.1.tar.gz 100716 BLAKE2B 
6d47ec4e632210ed313342075f87e1857460b57dc9b32d4487b2980c9c99e2a852d27ae7a5c87ee6d8bc4bcd15577ca11934111f27c81979f8aca9d14223212d
 SHA512 
5be7f6ede6694877e73226de4da58bc47e1230032bc9be8dd3e8fd1448afd1e3ae4c02ecbdb30343b98466bb0d3a8fbfbcb6609c5c50768a9be70b9d22f675a4
 DIST errbot-5.2.0.tar.gz 189305 BLAKE2B 
96e275ee2a70fcab217f4a91c855192d8536cc177e0cafe08c8f55e17a09c06913c07e50473f87ea29e4537cd6389907615eba86d44756962ed59a87498be398
 SHA512 
d879e9da6647d697ead0a5f72fe83cf33614201863a9a62bc62c90d7ac0478e1e0902438c6f053d2ea56c940d68b136bbfa497175fb11647913bd7f139220aec

diff --git a/net-im/err/err-1.7.1-r2.ebuild b/net-im/err/err-1.7.1-r2.ebuild
deleted file mode 100644
index 6ed14b926ae..000
--- a/net-im/err/err-1.7.1-r2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 eutils user
-
-DESCRIPTION="Plugin based chatbot designed to be easily deployable, extensible 
and maintainable"
-HOMEPAGE="https://errbot.io/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="irc +plugins"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="
-   dev-python/flask[${PYTHON_USEDEP}]
-   dev-python/jinja[${PYTHON_USEDEP}]
-   dev-python/pyfire[${PYTHON_USEDEP}]
-   dev-python/python-daemon[${PYTHON_USEDEP}]
-   dev-python/xmpppy[${PYTHON_USEDEP}]
-   dev-python/yapsy[${PYTHON_USEDEP}]
-   virtual/python-dnspython[${PYTHON_USEDEP}]
-   irc? (
-   dev-python/pyopenssl[${PYTHON_USEDEP}]
-   dev-python/twisted[${PYTHON_USEDEP}]
-   )
-   plugins? ( dev-vcs/git )"
-
-# Testsuite is broken since 1.6.3
-RESTRICT="test"
-
-# NOTES:
-# 1. It has bundled libs - for example exrex(see 'errbot/bundled' subfolder)
-# 2. Support for BOT_SENTRY option is missing, cause
-#we do not have apropriate packages in portage yet
-# 3. Internal web server is broken(dunno why :-()
-
-pkg_setup() {
-   ebegin "Creating err group and user"
-   enewgroup 'err'
-   enewuser 'err' -1 -1 -1 'err'
-   eend ${?}
-}
-
-python_prepare_all() {
-   # Remove configparser and config from requirements as they are NOT 
needed
-   sed -i \
-   -e "/install_requires/s/'configparser', //" \
-   -e "/install_requires/s/, 'config'//" \
-   setup.py || die
-
-   # Tests are broken and should not be installed
-   rm -r tests || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_install_all() {
-   distutils-r1_python_install_all
-
-   newinitd "${FILESDIR}"/errd.initd errd
-   newconfd "${FILESDIR}"/errd.confd errd
-
-   dodir /etc/${PN}
-   keepdir /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners -R err:err /var/lib/${PN}
-   fowners -R err:err /var/log/${PN}
-
-   insinto /etc/${PN}
-   newins errbot/config-template.py config.py
-}

diff --git a/net-im/err/files/errd.initd b/net-im/err/files/errd.initd
deleted file mode 100644
index 438d3dcc450..000
--- a/net-im/err/files/errd.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-   need net
-}
-
-start() {
-   # create piddir if necessary, bug #448498
-   local piddir=$(dirname ${ERR_PID_FILE})
-   checkpath -q -d -o err:err -m 0770 "${piddir}" || {
-eend 1
-return 1
-}
-
-   ebegin "Starting errd"
-   start-stop-daemon --start --make-pidfile --pidfile 
${ERR_PID_FILE} --background --quiet -u ${ERR_USER}:${ERR_GROUP} \
-   --exec /usr/bin/python2 -- /usr/bin/err.py -c 
${ERR_CONFIG_PATH}
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping errd"
-   start-stop-daemon --stop --pidfile ${ERR_PID_FILE}
-   eend $?
-}

diff --git a/net-im/err/files/errd.initd.2 b/net-im/err/files/errd.initd.2
old mode 100755
new mode 100644

[gentoo-commits] repo/gentoo:master commit in: net-im/err/files/

2018-08-02 Thread Sergey Popov
commit: 41d5eb7a80a83939365333c0ed04606e3d2869f1
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Aug  2 13:50:06 2018 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Aug  2 13:54:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41d5eb7a

net-im/err: add missing initscript

Reported-by: Toralf Förster  gentoo.org>
Closes: https://bugs.gentoo.org/662604
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-im/err/files/errd.initd.2 | 20 
 1 file changed, 20 insertions(+)

diff --git a/net-im/err/files/errd.initd.2 b/net-im/err/files/errd.initd.2
new file mode 100755
index 000..460cd070f54
--- /dev/null
+++ b/net-im/err/files/errd.initd.2
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/bin/errbot -u ${ERR_USER}:${ERR_GROUP}"
+command_args="-d -p ${ERR_PID_FILE} -c ${ERR_CONFIG_PATH}/config.py"
+pidfile="${ERR_PID_FILE}"
+
+depend() {
+   need net
+}
+
+start_pre() {
+   # create piddir if necessary, bug #448498
+   local piddir=$(dirname ${ERR_PID_FILE})
+   checkpath -q -d -o err:err -m 0770 "${piddir}" || {
+eend 1
+return 1
+}
+}