1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

net/savvycan: This adds net/savvycan which is a CAN bus reverse

engineering and capture tool. It supports EVTV hardware, socketCAN
compatible devices, and other hardware.

Reviewed by:	ler (mentor)
Approved by:	ler (mentor)
Differential Revision:	https://reviews.freebsd.org/D21212
This commit is contained in:
Craig Leres 2019-08-11 19:09:36 +00:00
parent 138634e272
commit 81fa8eceb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508666
4 changed files with 62 additions and 0 deletions

View File

@ -1341,6 +1341,7 @@
SUBDIR += samba48
SUBDIR += samba410
SUBDIR += samplicator
SUBDIR += savvycan
SUBDIR += sbd
SUBDIR += sbm
SUBDIR += scamper

53
net/savvycan/Makefile Normal file
View File

@ -0,0 +1,53 @@
# $FreeBSD$
PORTNAME= savvycan
PORTVERSION= 199.1
DISTVERSIONPREFIX= V
CATEGORIES= net
MAINTAINER= leres@FreeBSD.org
COMMENT= CAN bus reverse engineering and capture tool
LICENSE= MIT
BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR}
USES= gmake python:build qmake qt:5
USE_QT= buildtools_build core gui help printsupport serialbus \
serialport websockets-qml widgets
USE_GITHUB= yes
GH_TUPLE= collin80:SavvyCAN:${DISTVERSIONPREFIX}${PORTVERSION}
NO_MTREE= yes
PLIST_FILES= bin/savvycan \
man/man1/savvycan.1.gz
OPTIONS_DEFINE+= DOCS EXAMPLES
PORTDOCS= *
PORTEXAMPLES= *
.include <bsd.port.options.mk>
post-build:
cd ${WRKSRC}/docs && ${GMAKE} man
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/docs && ${GMAKE} html
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/SavvyCAN ${STAGEDIR}${PREFIX}/bin/savvycan
${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/docs/build/man/savvycan.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs/build && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

3
net/savvycan/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1565367333
SHA256 (collin80-SavvyCAN-V199.1_GH0.tar.gz) = ed1a7131673f7363009ba067252d91053edce7491ff82a0b51d32fe5cee916b6
SIZE (collin80-SavvyCAN-V199.1_GH0.tar.gz) = 4392251

5
net/savvycan/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
CSavvyCAN is a CAN bus reverse engineering and capture tool. It
supports EVTV hardware, socketCAN compatible devices, and other
hardware.
WWW: https://www.savvycan.com/