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 56E201382C5 for ; Sun, 14 Mar 2021 10:01:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 913E1E08C8; Sun, 14 Mar 2021 10:01:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 79341E08C8 for ; Sun, 14 Mar 2021 10:01:39 +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 77024340A15 for ; Sun, 14 Mar 2021 10:01:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D95D3591 for ; Sun, 14 Mar 2021 10:01:36 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1615716062.e1545936e8b94076199274d80db80d2b4e649d44.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/can-utils/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/can-utils/can-utils-2020.12.0-r1.ebuild net-misc/can-utils/can-utils-9999-r3.ebuild X-VCS-Directories: net-misc/can-utils/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: e1545936e8b94076199274d80db80d2b4e649d44 X-VCS-Branch: dev Date: Sun, 14 Mar 2021 10:01:36 +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: ca36f5b2-d85a-49ac-8a10-6f84e3a4058e X-Archives-Hash: b2529e8536cecbd2224fe0374b203fd3 commit: e1545936e8b94076199274d80db80d2b4e649d44 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Mar 14 10:01:02 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sun Mar 14 10:01:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1545936 net-misc/can-utils: unconditionally install small files Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> net-misc/can-utils/can-utils-2020.12.0-r1.ebuild | 33 ++++++++++++++++++++++++ net-misc/can-utils/can-utils-9999-r3.ebuild | 14 +++------- 2 files changed, 37 insertions(+), 10 deletions(-) diff --git a/net-misc/can-utils/can-utils-2020.12.0-r1.ebuild b/net-misc/can-utils/can-utils-2020.12.0-r1.ebuild new file mode 100644 index 00000000..63134691 --- /dev/null +++ b/net-misc/can-utils/can-utils-2020.12.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools systemd + +DESCRIPTION="CAN userspace utilities and tools" +HOMEPAGE="https://github.com/linux-can/" +SRC_URI="https://github.com/linux-can/can-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +src_prepare() { + default + + eautoreconf +} + +# Default src_install + newconfd and newinitd +src_install() { + + emake DESTDIR="${D}" install + + einstalldocs + + systemd_dounit "${FILESDIR}/slcan.service" + systemd_install_serviced "${FILESDIR}/slcan.service.conf" + newconfd "${FILESDIR}/slcand.confd" slcand + newinitd "${FILESDIR}/slcand.initd" slcand +} diff --git a/net-misc/can-utils/can-utils-9999-r3.ebuild b/net-misc/can-utils/can-utils-9999-r3.ebuild index 6ee60029..e860c308 100644 --- a/net-misc/can-utils/can-utils-9999-r3.ebuild +++ b/net-misc/can-utils/can-utils-9999-r3.ebuild @@ -14,9 +14,6 @@ HOMEPAGE="https://github.com/linux-can/" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="systemd" - -DEPEND="" src_prepare() { eautoreconf @@ -29,11 +26,8 @@ src_install() { einstalldocs - if use systemd ; then - systemd_dounit "${FILESDIR}/slcan.service" - systemd_install_serviced "${FILESDIR}/slcan.service.conf" - else - newconfd "${FILESDIR}/slcand.confd" slcand - newinitd "${FILESDIR}/slcand.initd" slcand - fi + systemd_dounit "${FILESDIR}/slcan.service" + systemd_install_serviced "${FILESDIR}/slcan.service.conf" + newconfd "${FILESDIR}/slcand.confd" slcand + newinitd "${FILESDIR}/slcand.initd" slcand }