From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 05F5B138334 for ; Sun, 10 Feb 2019 04:48:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02776E07DB; Sun, 10 Feb 2019 04:48:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0FD5E07DB for ; Sun, 10 Feb 2019 04:48:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9296C335D48 for ; Sun, 10 Feb 2019 04:48:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 667684D3 for ; Sun, 10 Feb 2019 04:48:34 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1549773963.73ccf4a6bbacf812ff1d4da6e5e7f30de7d67aa4.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/bitlbee/, net-im/bitlbee/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/bitlbee/Manifest net-im/bitlbee/bitlbee-3.6.ebuild net-im/bitlbee/bitlbee-9999.ebuild net-im/bitlbee/files/bitlbee.confd-r2 net-im/bitlbee/files/bitlbee.initd-r2 X-VCS-Directories: net-im/bitlbee/ net-im/bitlbee/files/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 73ccf4a6bbacf812ff1d4da6e5e7f30de7d67aa4 X-VCS-Branch: master Date: Sun, 10 Feb 2019 04:48:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e0f90403-02a7-452b-b190-03753c2d6a5e X-Archives-Hash: bfa53900ccfca24046b0ac4247d27518 commit: 73ccf4a6bbacf812ff1d4da6e5e7f30de7d67aa4 Author: Tim Harder gentoo org> AuthorDate: Sun Feb 10 04:41:45 2019 +0000 Commit: Tim Harder gentoo org> CommitDate: Sun Feb 10 04:46:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ccf4a6 net-im/bitlbee: version bump to 3.6 Also, simplify the init script. Bug: https://bugs.gentoo.org/631072 Closes: https://bugs.gentoo.org/640126 Signed-off-by: Tim Harder gentoo.org> net-im/bitlbee/Manifest | 1 + .../{bitlbee-9999.ebuild => bitlbee-3.6.ebuild} | 29 ++++------------------ net-im/bitlbee/bitlbee-9999.ebuild | 29 ++++------------------ net-im/bitlbee/files/bitlbee.confd-r2 | 7 ++++++ net-im/bitlbee/files/bitlbee.initd-r2 | 7 ++++++ 5 files changed, 25 insertions(+), 48 deletions(-) diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest index 3176cc89495..89d1716f8e6 100644 --- a/net-im/bitlbee/Manifest +++ b/net-im/bitlbee/Manifest @@ -1 +1,2 @@ DIST bitlbee-3.5.1.tar.gz 680351 BLAKE2B 952a12975d4f95020a5b577603aea791fca754006dc96af3c500d3885b6f2c50cabe51ab698625acb717524a729ef03d18a29aa25bd4815bae2f18fa6298aeea SHA512 4eb3b0d3a92910c8dd789cd23338cc6296bf40212c5244fcb27a88ede10e86424ea59c78e719841863701a7fdd8c61819f2775f7b58833e287d9110e49d036f3 +DIST bitlbee-3.6.tar.gz 534961 BLAKE2B 007681a384fcb2c0736b901dfdc213ba0829ca006ad3204aca1bc4520a3874760867df6165a9218a9deeabb13bc06f118c9e2f804a97e671a348734f6cb7e963 SHA512 ccbf0f23e228de2de147241f36f59744b2256cba958e2fabfba0cfa60935e55bbb7d7e20fffa54da9a345e55ffa9ca82cb62e9b99dc738ba35c6e268c6561a8d diff --git a/net-im/bitlbee/bitlbee-9999.ebuild b/net-im/bitlbee/bitlbee-3.6.ebuild similarity index 80% copy from net-im/bitlbee/bitlbee-9999.ebuild copy to net-im/bitlbee/bitlbee-3.6.ebuild index ba55773394d..703647ae05d 100644 --- a/net-im/bitlbee/bitlbee-9999.ebuild +++ b/net-im/bitlbee/bitlbee-3.6.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit user systemd toolchain-funcs @@ -48,7 +48,6 @@ DEPEND="${COMMON_DEPEND} test? ( dev-libs/check )" RDEPEND="${COMMON_DEPEND} - virtual/logger xinetd? ( sys-apps/xinetd )" pkg_setup() { @@ -57,12 +56,7 @@ pkg_setup() { } src_prepare() { - if [[ ${PV} != "9999" ]]; then - eapply \ - "${FILESDIR}"/${P}-systemd-user.patch \ - "${FILESDIR}"/${P}-verbose-build.patch - fi - + [[ ${PV} != "9999" ]] && eapply "${FILESDIR}"/${PN}-3.5-systemd-user.patch eapply_user } @@ -143,8 +137,8 @@ src_install() { newins doc/bitlbee.xinetd bitlbee fi - newinitd "${FILESDIR}"/bitlbee.initd-r1 bitlbee - newconfd "${FILESDIR}"/bitlbee.confd-r1 bitlbee + newinitd "${FILESDIR}"/bitlbee.initd-r2 bitlbee + newconfd "${FILESDIR}"/bitlbee.confd-r2 bitlbee exeinto /usr/share/bitlbee doexe utils/{convert_purple.py,bitlbee-ctl.pl} @@ -152,17 +146,4 @@ src_install() { pkg_postinst() { chown -R bitlbee:bitlbee "${ROOT}"/var/lib/bitlbee - [[ -d "${ROOT}"/var/run/bitlbee ]] && - chown -R bitlbee:bitlbee "${ROOT}"/var/run/bitlbee - - if [[ -z ${REPLACING_VERSIONS} ]]; then - einfo - elog "The bitlbee init script will now attempt to stop all processes owned by the" - elog "bitlbee user, including per-client forks." - elog - elog "Tell the init script not to touch anything besides the main bitlbee process" - elog "by changing the BITLBEE_STOP_ALL variable in" - elog " /etc/conf.d/bitlbee" - einfo - fi } diff --git a/net-im/bitlbee/bitlbee-9999.ebuild b/net-im/bitlbee/bitlbee-9999.ebuild index ba55773394d..703647ae05d 100644 --- a/net-im/bitlbee/bitlbee-9999.ebuild +++ b/net-im/bitlbee/bitlbee-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit user systemd toolchain-funcs @@ -48,7 +48,6 @@ DEPEND="${COMMON_DEPEND} test? ( dev-libs/check )" RDEPEND="${COMMON_DEPEND} - virtual/logger xinetd? ( sys-apps/xinetd )" pkg_setup() { @@ -57,12 +56,7 @@ pkg_setup() { } src_prepare() { - if [[ ${PV} != "9999" ]]; then - eapply \ - "${FILESDIR}"/${P}-systemd-user.patch \ - "${FILESDIR}"/${P}-verbose-build.patch - fi - + [[ ${PV} != "9999" ]] && eapply "${FILESDIR}"/${PN}-3.5-systemd-user.patch eapply_user } @@ -143,8 +137,8 @@ src_install() { newins doc/bitlbee.xinetd bitlbee fi - newinitd "${FILESDIR}"/bitlbee.initd-r1 bitlbee - newconfd "${FILESDIR}"/bitlbee.confd-r1 bitlbee + newinitd "${FILESDIR}"/bitlbee.initd-r2 bitlbee + newconfd "${FILESDIR}"/bitlbee.confd-r2 bitlbee exeinto /usr/share/bitlbee doexe utils/{convert_purple.py,bitlbee-ctl.pl} @@ -152,17 +146,4 @@ src_install() { pkg_postinst() { chown -R bitlbee:bitlbee "${ROOT}"/var/lib/bitlbee - [[ -d "${ROOT}"/var/run/bitlbee ]] && - chown -R bitlbee:bitlbee "${ROOT}"/var/run/bitlbee - - if [[ -z ${REPLACING_VERSIONS} ]]; then - einfo - elog "The bitlbee init script will now attempt to stop all processes owned by the" - elog "bitlbee user, including per-client forks." - elog - elog "Tell the init script not to touch anything besides the main bitlbee process" - elog "by changing the BITLBEE_STOP_ALL variable in" - elog " /etc/conf.d/bitlbee" - einfo - fi } diff --git a/net-im/bitlbee/files/bitlbee.confd-r2 b/net-im/bitlbee/files/bitlbee.confd-r2 new file mode 100644 index 00000000000..afd24f857f2 --- /dev/null +++ b/net-im/bitlbee/files/bitlbee.confd-r2 @@ -0,0 +1,7 @@ +# Bitlbee options (see /usr/sbin/bitlbee -h) +BITLBEE_OPTS="" + +# Specify the network services that correspond to "DaemonInterface" and +# "ClientInterface" settings in bitlbee.conf. For example, if bound to 0.0.0.0, +# this should be set to "net.lo" which provides the loopback interface. +rc_need="net.lo" diff --git a/net-im/bitlbee/files/bitlbee.initd-r2 b/net-im/bitlbee/files/bitlbee.initd-r2 new file mode 100644 index 00000000000..0b3b1a4911b --- /dev/null +++ b/net-im/bitlbee/files/bitlbee.initd-r2 @@ -0,0 +1,7 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/sbin/bitlbee" +pidfile="/run/${RC_SVCNAME}.pid" +command_args="-D -P ${pidfile} -u bitlbee ${BITLBEE_OPTS}"