Skip to content

Commit

Permalink
Update dependency reuse to v4 (#516)
Browse files Browse the repository at this point in the history
* 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 <kayoub5@live.com>
  • Loading branch information
renovate[bot] and kayoub5 committed Jul 31, 2024
1 parent 080688b commit 74d82b8
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .reuse/dep5

This file was deleted.

40 changes: 40 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 2023-2024 Ayoub Kaanich <kayoub5@live.com>
# SPDX-License-Identifier: MIT
version = 1
SPDX-PackageName = "sharppcap"
SPDX-PackageSupplier = "Chris Morgan <chmorgan@gmail.com>"
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 <tamir@tamirgal.com>",
"Chris Morgan <chmorgan@gmail.com>",
]
SPDX-License-Identifier = "MIT"

[[annotations]]
path = ["Tutorial/**", "History.md", "README.md", "renovate.json"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Chris Morgan <chmorgan@gmail.com>"
SPDX-License-Identifier = "MIT"

[[annotations]]
path = "Test/capture_files/arp_with_vlan.pcap"
precedence = "aggregate"
SPDX-FileCopyrightText = "Houcem Benali <justhoucem@gmail.com>"
SPDX-License-Identifier = "MIT"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright 2023 Ayoub Kaanich <kayoub5@live.com>
# SPDX-License-Identifier: MIT
reuse==3.0.2
reuse==4.0.3

0 comments on commit 74d82b8

Please sign in to comment.