From 74d82b8aeb01a76f202a8374ef8c63885bab2aeb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2024 08:48:52 +0200 Subject: [PATCH] Update dependency reuse to v4 (#516) * Update dependency reuse to v4 * Migrate to REUSE.toml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ayoub Kaanich --- .reuse/dep5 | 31 ------------------------------- REUSE.toml | 40 ++++++++++++++++++++++++++++++++++++++++ requirements.txt | 2 +- 3 files changed, 41 insertions(+), 32 deletions(-) delete mode 100644 .reuse/dep5 create mode 100644 REUSE.toml diff --git a/.reuse/dep5 b/.reuse/dep5 deleted file mode 100644 index 959f6d07..00000000 --- a/.reuse/dep5 +++ /dev/null @@ -1,31 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: sharppcap -Upstream-Contact: Chris Morgan -Source: https://github.com/dotpcap/sharppcap - -Files: Examples/* - SharpPcap.sln - Test/capture_files/10k_packets.pcap - Test/capture_files/arp_request_response.pcap - Test/capture_files/ipv6_http.pcap - Test/capture_files/ipv6_icmpv6_packet.pcap - Test/capture_files/ip_packet_bogus_length.pcap - Test/capture_files/README - Test/capture_files/tcp.pcap - Test/capture_files/tcp_with_extra_bytes.pcap - Test/capture_files/test_stream.pcap - Test/capture_files/udp_dns_request_response.pcap -Copyright: Tamir Gal - Chris Morgan -License: MIT - -Files: Tutorial/* - History.md - README.md - renovate.json -Copyright: Chris Morgan -License: MIT - -Files: Test/capture_files/arp_with_vlan.pcap -Copyright: Houcem Benali -License: MIT diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 00000000..227b9f45 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,40 @@ +# Copyright 2023-2024 Ayoub Kaanich +# SPDX-License-Identifier: MIT +version = 1 +SPDX-PackageName = "sharppcap" +SPDX-PackageSupplier = "Chris Morgan " +SPDX-PackageDownloadLocation = "https://github.com/dotpcap/sharppcap" + +[[annotations]] +path = [ + "Examples/**", + "SharpPcap.sln", + "Test/capture_files/10k_packets.pcap", + "Test/capture_files/arp_request_response.pcap", + "Test/capture_files/ipv6_http.pcap", + "Test/capture_files/ipv6_icmpv6_packet.pcap", + "Test/capture_files/ip_packet_bogus_length.pcap", + "Test/capture_files/README", + "Test/capture_files/tcp.pcap", + "Test/capture_files/tcp_with_extra_bytes.pcap", + "Test/capture_files/test_stream.pcap", + "Test/capture_files/udp_dns_request_response.pcap", +] +precedence = "aggregate" +SPDX-FileCopyrightText = [ + "Tamir Gal ", + "Chris Morgan ", +] +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = ["Tutorial/**", "History.md", "README.md", "renovate.json"] +precedence = "aggregate" +SPDX-FileCopyrightText = "Chris Morgan " +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "Test/capture_files/arp_with_vlan.pcap" +precedence = "aggregate" +SPDX-FileCopyrightText = "Houcem Benali " +SPDX-License-Identifier = "MIT" diff --git a/requirements.txt b/requirements.txt index 3fe4374a..a2f954e2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ # Copyright 2023 Ayoub Kaanich # SPDX-License-Identifier: MIT -reuse==3.0.2 +reuse==4.0.3