commit:     1730a6fdb876bbf1588c0bf790296dde4c0135a3
Author:     Hans Fredrik Nordhaug <hansfn <AT> gmail <DOT> com>
AuthorDate: Fri Apr  9 07:11:49 2021 +0000
Commit:     Hans Fredrik Nordhaug <hansfn <AT> gmail <DOT> com>
CommitDate: Fri Apr  9 07:11:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1730a6fd

net-misc/can-utils: Fixed shebang for /etc/init.d/slcand

Closes: https://bugs.gentoo.org/781686
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Hans Fredrik Nordhaug <hansfn <AT> gmail.com>

 net-misc/can-utils/can-utils-2020.12.0-r1.ebuild |  4 +--
 net-misc/can-utils/can-utils-2020.12.0.ebuild    | 39 ------------------------
 net-misc/can-utils/files/slcand.initd            |  4 +--
 3 files changed, 3 insertions(+), 44 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
index 631346910..2dafd5871 100644
--- a/net-misc/can-utils/can-utils-2020.12.0-r1.ebuild
+++ b/net-misc/can-utils/can-utils-2020.12.0-r1.ebuild
@@ -5,8 +5,8 @@ EAPI=7
 
 inherit autotools systemd
 
-DESCRIPTION="CAN userspace utilities and tools"
-HOMEPAGE="https://github.com/linux-can/";
+DESCRIPTION="SocketCAN userspace utilities and tools"
+HOMEPAGE="https://github.com/linux-can/can-utils";
 SRC_URI="https://github.com/linux-can/can-utils/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-2"

diff --git a/net-misc/can-utils/can-utils-2020.12.0.ebuild 
b/net-misc/can-utils/can-utils-2020.12.0.ebuild
deleted file mode 100644
index a1eb63c7d..000000000
--- a/net-misc/can-utils/can-utils-2020.12.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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"
-IUSE="systemd"
-
-DEPEND=""
-
-src_prepare() {
-       default
-
-       eautoreconf
-}
-
-# Default src_install + newconfd and newinitd
-src_install() {
-
-       emake DESTDIR="${D}" 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
-}

diff --git a/net-misc/can-utils/files/slcand.initd 
b/net-misc/can-utils/files/slcand.initd
index ffe08a9bf..d4b6d92f6 100644
--- a/net-misc/can-utils/files/slcand.initd
+++ b/net-misc/can-utils/files/slcand.initd
@@ -1,6 +1,4 @@
-#!/sbin/runscript
-# Copyright 2013 Brunvoll AS
-
+#!/sbin/openrc-run
 
 start() {
 

Reply via email to