git: 006149709b - main - ports: remove mentions of ports/LEGAL, it was removed in 2021
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Nov 2026 06:02:13 UTC
The branch main has been updated by mat:
URL: https://cgit.FreeBSD.org/doc/commit/?id=006149709b75f714fb6c5ba217faddc6606490e2
commit 006149709b75f714fb6c5ba217faddc6606490e2
Author: Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2026-11-24 06:01:19 +0000
Commit: Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2026-11-24 06:01:19 +0000
ports: remove mentions of ports/LEGAL, it was removed in 2021
---
documentation/content/en/articles/committers-guide/_index.adoc | 1 -
.../content/en/books/porters-handbook/special/_index.adoc | 8 --------
2 files changed, 9 deletions(-)
diff --git a/documentation/content/en/articles/committers-guide/_index.adoc b/documentation/content/en/articles/committers-guide/_index.adoc
index d9da4544a3..fc5159ea77 100644
--- a/documentation/content/en/articles/committers-guide/_index.adoc
+++ b/documentation/content/en/articles/committers-guide/_index.adoc
@@ -3607,7 +3607,6 @@ When using Git, consider using man:git-grep[1], it is much faster than `grep -r`
* Remove the port's files and directory with `git rm`.
* Remove the `SUBDIR` listing of the port in the parent directory [.filename]#Makefile#.
* Add an entry to [.filename]#ports/MOVED#.
-* Remove the port from [.filename]#ports/LEGAL# if it is there.
====
Alternatively, you can use the rmport script, from [.filename]#ports/Tools/scripts#.
diff --git a/documentation/content/en/books/porters-handbook/special/_index.adoc b/documentation/content/en/books/porters-handbook/special/_index.adoc
index 940b318645..d4430841c5 100644
--- a/documentation/content/en/books/porters-handbook/special/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/special/_index.adoc
@@ -314,14 +314,6 @@ If only some of the distribution files are restricted, then set this variable to
If the port has legal concerns not addressed by the above variables, set `LEGAL_TEXT` to a string explaining the concern.
For example, if special permission was obtained for FreeBSD to redistribute the binary, this variable must indicate so.
-[[porting-restrictions-legal]]
-=== [.filename]#/usr/ports/LEGAL# and `LEGAL`
-
-A port which sets any of the above variables must also be added to [.filename]#/usr/ports/LEGAL#.
-The first column is a glob which matches the restricted distfiles.
-The second column is the port's origin.
-The third column is the output of `make -VLEGAL`.
-
[[porting-restrictions-examples]]
=== Examples