From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/can-utils/
Date: Sun, 14 Mar 2021 10:01:36 +0000 (UTC) [thread overview]
Message-ID: <1615716062.e1545936e8b94076199274d80db80d2b4e649d44.Alessandro-Barbieri@gentoo> (raw)
commit: e1545936e8b94076199274d80db80d2b4e649d44
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 14 10:01:02 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> 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 <lssndrbarbieri <AT> 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
}
next reply other threads:[~2021-03-14 10:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-14 10:01 Alessandro Barbieri [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-03 6:53 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/can-utils/ Hans Fredrik Nordhaug
2021-08-19 10:51 Hans Fredrik Nordhaug
2021-03-14 10:01 Alessandro Barbieri
2021-03-04 12:00 Hans Fredrik Nordhaug
2021-02-27 21:23 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-02-27 21:21 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1615716062.e1545936e8b94076199274d80db80d2b4e649d44.Alessandro-Barbieri@gentoo \
--to=lssndrbarbieri@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox