SHA256
1
0
forked from pool/canutils

6 Commits

Author SHA256 Message Date
135f79e20f Accepting request 1246784 from network
- Add 0001-build-give-libisobusfs-a-version.patch
- version update to 2025.01

OBS-URL: https://build.opensuse.org/request/show/1246784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/canutils?expand=0&rev=17
2025-02-19 14:58:44 +00:00
49ac4af02b - Add 0001-build-give-libisobusfs-a-version.patch
OBS-URL: https://build.opensuse.org/package/show/network/canutils?expand=0&rev=32
2025-02-18 18:26:08 +00:00
c39ca49234 Ditch unusable headers
OBS-URL: https://build.opensuse.org/package/show/network/canutils?expand=0&rev=31
2025-02-10 15:37:37 +00:00
96b5e005fc Curate changelog / adhere to syntax requirements
OBS-URL: https://build.opensuse.org/package/show/network/canutils?expand=0&rev=30
2025-02-10 15:30:46 +00:00
2987ff2224 - Add shlib-versioning.patch
OBS-URL: https://build.opensuse.org/package/show/network/canutils?expand=0&rev=29
2025-02-10 15:27:04 +00:00
c5d4eddf5c Accepting request 1244785 from home:pgajdos
- version update to 2025.01
  * Support of new kernel features:
    - full CAN XL support for candump, canplayer, cangen, log2asc, asc2log, lib
    - includes: update to Linux 6.13 upstream (with CANXL_RRS flag)
    - cangen: support socket priority
    - can-calc-bit-timing: import bit timing calculation algorithm from v6.3
    - can-calc-bit-timing: add rockchip_canfd
  * Improvements and features:
    - all: unify bash exit status values
    - build on MMU-less systems
    - ISOBUS (ISO11783-13) File Server Interface (isobusfs-srv, isobusfs-cli)
    - add j1939_datatime_cli
    - cansequence: allow to bind on "any" interface
    - cansequence: add support to send and receive CAN-FD
    - canfdtest: add support for loopback testing
    - can-calc-bit-timing: add --tq parameter to help text
    - isotpsniffer: simplify option for CAN FD link layer
    - isotpdump: option to capture functional addressing traffic
    - isotpdump: add color support for functional addressing traffic
    - isotprecv: add option to enable dynamic flow control parameters (Linux 6.9+)
    - cangen: add missing long CAN frame view for len8_dlc and eff
    - canbusload: add auto detection of CAN interfaces
    - canbusload: show RX/TX direction in bargraph
    - canbusload: support busload statistic
    - canbusload: support busload visualization
    - asc2log: add option to disable direction info
    - code formatting with .clang_format
  * Fixes:
    - log2asc: fix logfiles where the timestamp starts with zero
    - asc2log: get_date check for AM in en_US time format

OBS-URL: https://build.opensuse.org/request/show/1244785
OBS-URL: https://build.opensuse.org/package/show/network/canutils?expand=0&rev=28
2025-02-10 14:22:48 +00:00
5 changed files with 81 additions and 12 deletions

View File

@@ -0,0 +1,24 @@
From 2e71e396c5bfb00d506b2f228bb11d0959e99db2 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 10 Feb 2025 15:32:27 +0100
Subject: [PATCH] build: give libisobusfs a version
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 01f90f9..236fba0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -126,6 +126,7 @@ if(NOT ANDROID)
set_target_properties(isobusfs PROPERTIES
PUBLIC_HEADER "${PUBLIC_HEADER_ISOBUSFS}"
+ SOVERSION 0
)
install(TARGETS isobusfs
--
2.48.1

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Feb 18 18:26:01 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add 0001-build-give-libisobusfs-a-version.patch
-------------------------------------------------------------------
Mon Feb 10 13:21:56 UTC 2025 - pgajdos@suse.com
- version update to 2025.01
* Support of new kernel features:
* Full CAN XL support for candump, canplayer, cangen, log2asc,
asc2log, lib
* cangen: support socket priority
* Improvements and features:
* ISOBUS (ISO11783-13) File Server Interface (isobusfs-srv,
isobusfs-cli)
* Add j1939_datatime_cli
* cansequence: allow to bind on "any" interface
* cansequence: add support to send and receive CAN-FD
* canfdtest: add support for loopback testing
* isotpdump: option to capture functional addressing traffic
* isotpdump: add color support for functional addressing traffic
* isotprecv: add option to enable dynamic flow control
parameters (Linux 6.9+)
* cangen: add missing long CAN frame view for len8_dlc and eff
* canbusload: add auto detection of CAN interfaces
* canbusload: show RX/TX direction in bargraph
* canbusload: support busload statistic and busload visualization
-------------------------------------------------------------------
Wed Mar 15 13:35:18 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package canutils
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,16 @@
Name: canutils
Version: 2023.03
%define lname libisobusfs-suse0
Version: 2025.01
Release: 0
Summary: Utilities for Controller Area Networks from the Linux-CAN project
License: BSD-3-Clause AND GPL-2.0-only
License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.0-only
Group: Hardware/Other
URL: https://github.com/linux-can/can-utils
Source: https://github.com/linux-can/can-utils/archive/refs/tags/v%version.tar.gz
BuildRequires: libtool
Patch1: 0001-build-give-libisobusfs-a-version.patch
BuildRequires: cmake >= 3.5
BuildRequires: pkg-config
BuildRequires: xz
Obsoletes: canutils-linuxcan
@@ -42,20 +44,34 @@ Research to the Linux kernel.
This package contains some userspace utilities for the Linux
SocketCAN subsystem.
%package -n libisobusfs0
Summary: Component library for can-utils
Group: System/Libraries
License: LGPL-2.0-only
%description -n libisobusfs0
Component library for the CAN utilities.
%prep
%autosetup -n can-utils-%version -p1
%build
if test ! -e configure; then ./autogen.sh; fi
%configure --disable-static
%make_build
%cmake
%cmake_build
%install
%make_install
%cmake_install
# headers are useless at present - https://github.com/linux-can/can-utils/issues/578
rm -Rf "%buildroot/%_includedir" "%buildroot/%_libdir/libisobusfs.so"
%ldconfig_scriptlets -n libisobusfs0
%files
%_bindir/*
%doc *.md
%license LICENSES/*
%_bindir/*
%files -n libisobusfs0
%_libdir/libisobusfs.so.*
%changelog

BIN
v2023.03.tar.gz LFS

Binary file not shown.

BIN
v2025.01.tar.gz LFS Normal file

Binary file not shown.