From fcde8cd5276c44b481e344690c2aa4f347ebe385 Mon Sep 17 00:00:00 2001 From: Philip Hartlieb Date: Fri, 23 Oct 2026 18:02:10 -0400 Subject: [PATCH] Update license metadata to AGPL-3.0-or-later --- README.md | 2 +- THIRD_PARTY_NOTICES.md | 38 ++++++++++++++++++++++++++++++++++++++ pyproject.toml | 4 ++-- 3 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 THIRD_PARTY_NOTICES.md diff --git a/README.md b/README.md index e2220ad..84b2bdd 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![PyPI](https://img.shields.io/pypi/v/radixtarget)](https://pypi.org/project/radixtarget/) [![Rust Version](https://img.shields.io/badge/rust-1.70+-orange)](https://www.rust-lang.org) [![Crates.io](https://img.shields.io/crates/v/radixtarget?color=orange)](https://crates.io/crates/radixtarget) -[![License](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://github.com/blacklanternsecurity/radixtarget/blob/stable/LICENSE) +[![License](https://img.shields.io/badge/license-AGPLv3-blue.svg)](LICENSE) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![Rust Tests](https://github.com/blacklanternsecurity/radixtarget/actions/workflows/rust-tests.yml/badge.svg?branch=stable)](https://github.com/blacklanternsecurity/radixtarget/actions/workflows/rust-tests.yml) [![Python Tests](https://github.com/blacklanternsecurity/radixtarget/actions/workflows/python-tests.yml/badge.svg?branch=stable)](https://github.com/blacklanternsecurity/radixtarget/actions/workflows/python-tests.yml) diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md new file mode 100644 index 0000000..05d13fe --- /dev/null +++ b/THIRD_PARTY_NOTICES.md @@ -0,0 +1,38 @@ +# Third-party notices + +This repository is licensed under AGPL-3.0-or-later (see `LICENSE`). The material listed below +comes from third parties and remains under its original license. + +## treebitmap (Hroi Sigurdsson) + +- Source: https://github.com/hroi/treebitmap +- Used in: `src/treebitmap/` and the TreeBitmap structure in `src/treebitmap.rs` +- License: MIT + +``` +Copyright (c) 2016 Hroi Sigurdsson + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. +``` diff --git a/pyproject.toml b/pyproject.toml index da4d09e..921c2e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,14 +3,14 @@ name = "radixtarget" version = "4.3.0" description = "Fast radix tree for IP addresses and DNS names" authors = [{name = "TheTechromancer"}] -license = {text = "AGPL-3.0"} +license = {text = "AGPL-3.0-or-later"} readme = "README.md" requires-python = ">=3.11" keywords = ["radix", "tree", "ip", "dns", "networking"] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12",