Commit 7dec8d23 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Warn about use of the BSD4 license

parent 6d3f1783
......@@ -235,6 +235,12 @@ checkLicense pkg =
"The 'license' field is missing or specified as AllRightsReserved."
, check (license pkg == BSD4) $
PackageDistSuspicious $
"Using 'license: BSD4' is almost always a misunderstanding. 'BSD4' "
++ "refers to the\nold 4-clause BSD license with the advertising "
++ "clause. 'BSD3' refers the new\n3-clause BSD license."
, check (license pkg `notElem` [AllRightsReserved, PublicDomain]
-- AllRightsReserved and PublicDomain are not strictly
-- licenses so don't need license files.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment