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 3D1AC1382C5 for ; Wed, 20 May 2020 01:06:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED6BDE0837; Wed, 20 May 2020 01:06:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 D4915E0837 for ; Wed, 20 May 2020 01:06:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 EBE0734F184 for ; Wed, 20 May 2020 01:06:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A008724E for ; Wed, 20 May 2020 01:06:16 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1589936769.6a02234182cc32b9cad4598dd2c9deef293be7f6.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/exabgp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/exabgp/exabgp-3.4.28-r1.ebuild net-misc/exabgp/exabgp-3.4.28.ebuild X-VCS-Directories: net-misc/exabgp/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 6a02234182cc32b9cad4598dd2c9deef293be7f6 X-VCS-Branch: master Date: Wed, 20 May 2020 01:06:16 +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: a2240be1-a706-4eea-b8aa-7a57f2dac609 X-Archives-Hash: 94f8e0609fbd5ad7f35e2c8fe544694b commit: 6a02234182cc32b9cad4598dd2c9deef293be7f6 Author: Patrick McLean sony com> AuthorDate: Wed May 20 01:05:16 2020 +0000 Commit: Patrick McLean gentoo org> CommitDate: Wed May 20 01:06:09 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a022341 net-misc/exabgp-3.4.28-r1: revbump, add init script, logrotate, etc Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean gentoo.org> .../{exabgp-3.4.28.ebuild => exabgp-3.4.28-r1.ebuild} | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/net-misc/exabgp/exabgp-3.4.28.ebuild b/net-misc/exabgp/exabgp-3.4.28-r1.ebuild similarity index 55% rename from net-misc/exabgp/exabgp-3.4.28.ebuild rename to net-misc/exabgp/exabgp-3.4.28-r1.ebuild index 81f8af7bae6..c61d012c7a5 100644 --- a/net-misc/exabgp/exabgp-3.4.28.ebuild +++ b/net-misc/exabgp/exabgp-3.4.28-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 ) DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 +inherit tmpfiles systemd distutils-r1 DESCRIPTION="The BGP swiss army knife of networking" HOMEPAGE="https://github.com/Exa-Networks/exabgp" @@ -17,3 +17,18 @@ KEYWORDS="~amd64" RDEPEND=" dev-python/ipaddr[${PYTHON_USEDEP}] " + +python_install_all() { + distutils-r1_python_install_all + + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + + newtmpfiles "${FILESDIR}/exabgp.tmpfiles" ${PN}.conf + systemd_dounit etc/systemd/* + + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" ${PN} + + keepdir /etc/exabgp +}