Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 757120

Summary: net-misc/can-utils - basic interaction with SocketCAN and CAN devices (New Package)
Product: Gentoo Linux Reporter: Marc <marc.willem>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement CC: jstein
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=471390
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild file

Description Marc 2020-11-27 09:14:11 UTC
Created attachment 675265 [details]
ebuild file

Hi,

please my ebuild for net-misc/can-utils attached.

can-utils is a userspace set of tools used for basic interaction with SocketCAN and CAN devices. (cf. https://github.com/linux-can/can-utils)

This ebuild is lacking a check for necessary kernel parameters, as this depends hugely on the use case and therefore I did not make assumptions.

I suggest introducing this ebuild as a new package to the gentoo repository.
There is Bug 471390 on submitting can-utils also, but the ticket seems outdated to me.

Kind regards

Marc
Comment 1 Jonas Stein gentoo-dev 2020-11-28 18:53:16 UTC
You can improve the SRC_URI line:
SRC_URI="https://github.com/linux-can/can-utils/archive/v2020.11.0.tar.gz"
->
SRC_URI="https://github.com/linux-can/${PN}/archive/v${PV}.tar.gz -> ${P}"
Comment 2 Jonas Stein gentoo-dev 2020-11-28 19:29:56 UTC
This should be closed as a duplicate of 471390. But please upload your ebuild there first. I fear it could be forgotten, if I close this as duplicate.
Comment 3 Marc 2020-11-29 07:16:27 UTC
Hello, I am currently working on a PR to make it easier and more likely to have it in the repo.
Comment 4 Marc 2020-11-29 14:52:44 UTC
(In reply to Marc from comment #3)
> Hello, I am currently working on a PR to make it easier and more likely to
> have it in the repo.

cf. https://github.com/gentoo/gentoo/pull/18446
Comment 5 Hans F. Nordhaug 2021-06-14 13:19:02 UTC
This is already part of Guru.