From cd22598f224995140b182fc58d08d479ef151ba9 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Sat, 20 Jun 2026 15:37:31 +0800 Subject: [PATCH] fix(docs): fix broken license URLs + SPDX casing + sourceforge exclusion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three issues causing link_checker failures on v5: 1. SPDX URL casing (generate.js): spdx_license field was uppercased before building spdx.org URLs. SPDX URLs are case-sensitive: 'Bitstream-Vera.html' works, 'BITSTREAM-VERA.html' returns 404. Fix: use original YAML casing for URL construction, keep uppercased version for comparison/matching only. 2. Dead Monotype license URLs (47 formula YAMLs): the license_url field pointed to http://www.monotype.com/html/type/license.html which 404s. Replaced with the only available archive.org snapshot (1998). 14 HK-variant files (monotype.com.hk) had no archive snapshot and were removed — license text is preserved in open_license. Also fixed office_preview.yml (monotype.com/html/mtname/ms_welcome.html). 3. SourceForge download URLs (lychee.toml): *.sourceforge.net mirrors rate-limit or block GitHub Actions IPs, causing false failures. Added exclusion — these URLs are verified by Tier 2 install tests. --- Formulas/courier.yml | 2 +- Formulas/lucida_grande.yml | 2 +- Formulas/macos/andale_mono.yml | 2 +- Formulas/macos/andale_mono_10m11177.yml | 2 +- Formulas/macos/arial_black.yml | 2 +- Formulas/macos/arial_black_10m11177.yml | 2 +- Formulas/macos/arial_unicode_ms.yml | 2 +- Formulas/macos/arial_unicode_ms_10m11177.yml | 2 +- Formulas/macos/font3/andale_mono.yml | 2 +- Formulas/macos/font3/arial_black.yml | 2 +- Formulas/macos/font3/arial_unicode_ms.yml | 2 +- Formulas/macos/font3/lucida_grande.yml | 2 +- Formulas/macos/font3/yuppy_sc.yml | 1 - Formulas/macos/font3/yuppy_tc.yml | 1 - Formulas/macos/font4/andale_mono.yml | 2 +- Formulas/macos/font4/arial_black.yml | 2 +- Formulas/macos/font4/arial_unicode_ms.yml | 2 +- Formulas/macos/font4/lucida_grande.yml | 2 +- Formulas/macos/font4/yuppy_sc.yml | 1 - Formulas/macos/font4/yuppy_tc.yml | 1 - Formulas/macos/font6/andale_mono.yml | 2 +- Formulas/macos/font6/arial_black.yml | 2 +- Formulas/macos/font6/arial_unicode_ms.yml | 2 +- Formulas/macos/font6/lucida_grande.yml | 2 +- Formulas/macos/font6/yuppy_sc.yml | 1 - Formulas/macos/font6/yuppy_tc.yml | 1 - Formulas/macos/font7/andale_mono_10m1044.yml | 2 +- Formulas/macos/font7/arial_black_10m1044.yml | 2 +- Formulas/macos/font7/arial_unicode_ms_10m1044.yml | 2 +- Formulas/macos/font7/lucida_grande_10m1044.yml | 2 +- Formulas/macos/font7/lucida_grande_10m1360.yml | 2 +- Formulas/macos/font7/yuppy_sc_10m1044.yml | 1 - Formulas/macos/font7/yuppy_tc_10m1044.yml | 1 - Formulas/macos/font8/andale_mono_10m11177.yml | 2 +- Formulas/macos/font8/arial_black_10m11177.yml | 2 +- .../macos/font8/arial_unicode_ms_10m11177.yml | 2 +- Formulas/macos/font8/lucida_grande_10m11177.yml | 2 +- Formulas/macos/font8/yuppy_sc_10m11177.yml | 1 - Formulas/macos/font8/yuppy_tc_10m11177.yml | 1 - Formulas/macos/lucida_grande.yml | 2 +- Formulas/macos/lucida_grande_10m11177.yml | 2 +- Formulas/macos/yuppy_sc.yml | 1 - Formulas/macos/yuppy_sc_10m11177.yml | 1 - Formulas/macos/yuppy_tc.yml | 1 - Formulas/macos/yuppy_tc_10m11177.yml | 1 - Formulas/office_preview.yml | 2 +- docs/generate.js | 15 ++++++++------- docs/lychee.toml | 6 ++++++ 48 files changed, 46 insertions(+), 53 deletions(-) diff --git a/Formulas/courier.yml b/Formulas/courier.yml index f6625fa90..131d250d9 100644 --- a/Formulas/courier.yml +++ b/Formulas/courier.yml @@ -68,7 +68,7 @@ extract: {} copyright: Typeface © The Monotype Corporation plc. Data © The Monotype Corporation plc/Type Solutions Inc. 1990-1992. All Rights Reserved spdx_license: LicenseRef-Microsoft-fontpack-19980728 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | (from http://web.archive.org/web/20011222020409/http://www.microsoft.com/typography/fontpack/eula.htm) TrueType core fonts for the Web EULA diff --git a/Formulas/lucida_grande.yml b/Formulas/lucida_grande.yml index 3b34ef5c5..01f082759 100644 --- a/Formulas/lucida_grande.yml +++ b/Formulas/lucida_grande.yml @@ -42,7 +42,7 @@ copyright: Copyright © 1989 Bigelow & Holmes, Inc.All rights reserved. Lucida i and other jurisdictions. Lucida typeface designs created by Kris Holmes and Charles Bigelow. spdx_license: LicenseRef-Apple-EA0473 -license_url: http://www.agfamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: |- APPLE INC. SOFTWARE LICENSE AGREEMENT FOR SAFARI FOR WINDOWS diff --git a/Formulas/macos/andale_mono.yml b/Formulas/macos/andale_mono.yml index a5fbda45b..ca07170f3 100644 --- a/Formulas/macos/andale_mono.yml +++ b/Formulas/macos/andale_mono.yml @@ -26,7 +26,7 @@ extract: {} copyright: Digitized data copyright (C) 1993-1997 The Monotype Corporation. All rights reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/andale_mono_10m11177.yml b/Formulas/macos/andale_mono_10m11177.yml index d0e2ae8aa..2bc9c5466 100644 --- a/Formulas/macos/andale_mono_10m11177.yml +++ b/Formulas/macos/andale_mono_10m11177.yml @@ -27,7 +27,7 @@ extract: {} copyright: Digitized data copyright (C) 1993-1997 The Monotype Corporation. All rights reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/arial_black.yml b/Formulas/macos/arial_black.yml index 17503b596..df48d0588 100644 --- a/Formulas/macos/arial_black.yml +++ b/Formulas/macos/arial_black.yml @@ -32,7 +32,7 @@ fonts: extract: {} copyright: C 2006 The Monotype Corporation. All Rights Reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/arial_black_10m11177.yml b/Formulas/macos/arial_black_10m11177.yml index 816c26919..291e98bad 100644 --- a/Formulas/macos/arial_black_10m11177.yml +++ b/Formulas/macos/arial_black_10m11177.yml @@ -44,7 +44,7 @@ fonts: extract: {} copyright: C 2006 The Monotype Corporation. All Rights Reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/arial_unicode_ms.yml b/Formulas/macos/arial_unicode_ms.yml index d38c0a7d8..1b191e622 100644 --- a/Formulas/macos/arial_unicode_ms.yml +++ b/Formulas/macos/arial_unicode_ms.yml @@ -29,7 +29,7 @@ copyright: Digitized data copyright (C) 1993-2000 Agfa Monotype Corporation. All reserved. Arial® is a trademark of The Monotype Corporation which may be registered in certain jurisdictions. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfgamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/arial_unicode_ms_10m11177.yml b/Formulas/macos/arial_unicode_ms_10m11177.yml index 16acab0d5..6d487dd05 100644 --- a/Formulas/macos/arial_unicode_ms_10m11177.yml +++ b/Formulas/macos/arial_unicode_ms_10m11177.yml @@ -47,7 +47,7 @@ copyright: Digitized data copyright (C) 1993-2000 Agfa Monotype Corporation. All reserved. Arial® is a trademark of The Monotype Corporation which may be registered in certain jurisdictions. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfgamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font3/andale_mono.yml b/Formulas/macos/font3/andale_mono.yml index 2db982338..766bf1b42 100644 --- a/Formulas/macos/font3/andale_mono.yml +++ b/Formulas/macos/font3/andale_mono.yml @@ -26,7 +26,7 @@ extract: {} copyright: Digitized data copyright (C) 1993-1997 The Monotype Corporation. All rights reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font3/arial_black.yml b/Formulas/macos/font3/arial_black.yml index a6bd04111..2fe426403 100644 --- a/Formulas/macos/font3/arial_black.yml +++ b/Formulas/macos/font3/arial_black.yml @@ -43,7 +43,7 @@ fonts: extract: {} copyright: C 2006 The Monotype Corporation. All Rights Reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font3/arial_unicode_ms.yml b/Formulas/macos/font3/arial_unicode_ms.yml index 040a4a2b9..c7dc468db 100644 --- a/Formulas/macos/font3/arial_unicode_ms.yml +++ b/Formulas/macos/font3/arial_unicode_ms.yml @@ -46,7 +46,7 @@ copyright: Digitized data copyright (C) 1993-2000 Agfa Monotype Corporation. All reserved. Arial® is a trademark of The Monotype Corporation which may be registered in certain jurisdictions. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfgamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font3/lucida_grande.yml b/Formulas/macos/font3/lucida_grande.yml index e008d62fd..adff08974 100644 --- a/Formulas/macos/font3/lucida_grande.yml +++ b/Formulas/macos/font3/lucida_grande.yml @@ -62,7 +62,7 @@ copyright: Copyright � 1989 Bigelow & Holmes, Inc. All rights reserved. Lucida Office and other jurisdictions. Lucida typeface designs created by Kris Holmes and Charles Bigelow. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font3/yuppy_sc.yml b/Formulas/macos/font3/yuppy_sc.yml index 9bd2f93fc..45dc59d90 100644 --- a/Formulas/macos/font3/yuppy_sc.yml +++ b/Formulas/macos/font3/yuppy_sc.yml @@ -28,7 +28,6 @@ extract: {} copyright: "© 2003, 2005, 2009 Monotype Imaging Hong Kong Ltd. and Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font3/yuppy_tc.yml b/Formulas/macos/font3/yuppy_tc.yml index 0e2cb51fe..1363c19ff 100644 --- a/Formulas/macos/font3/yuppy_tc.yml +++ b/Formulas/macos/font3/yuppy_tc.yml @@ -27,7 +27,6 @@ fonts: extract: {} copyright: "© 1991-2008 China Type Design Ltd. Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font4/andale_mono.yml b/Formulas/macos/font4/andale_mono.yml index d470014fe..008018dcb 100644 --- a/Formulas/macos/font4/andale_mono.yml +++ b/Formulas/macos/font4/andale_mono.yml @@ -26,7 +26,7 @@ extract: {} copyright: Digitized data copyright (C) 1993-1997 The Monotype Corporation. All rights reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font4/arial_black.yml b/Formulas/macos/font4/arial_black.yml index 5940bdf99..ddebc1d82 100644 --- a/Formulas/macos/font4/arial_black.yml +++ b/Formulas/macos/font4/arial_black.yml @@ -43,7 +43,7 @@ fonts: extract: {} copyright: C 2006 The Monotype Corporation. All Rights Reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font4/arial_unicode_ms.yml b/Formulas/macos/font4/arial_unicode_ms.yml index f85289a5f..c2f093c09 100644 --- a/Formulas/macos/font4/arial_unicode_ms.yml +++ b/Formulas/macos/font4/arial_unicode_ms.yml @@ -46,7 +46,7 @@ copyright: Digitized data copyright (C) 1993-2000 Agfa Monotype Corporation. All reserved. Arial® is a trademark of The Monotype Corporation which may be registered in certain jurisdictions. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfgamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font4/lucida_grande.yml b/Formulas/macos/font4/lucida_grande.yml index f817c08f4..964071aef 100644 --- a/Formulas/macos/font4/lucida_grande.yml +++ b/Formulas/macos/font4/lucida_grande.yml @@ -42,7 +42,7 @@ copyright: Copyright � 1989 Bigelow & Holmes, Inc. All rights reserved. Lucida Office and other jurisdictions. Lucida typeface designs created by Kris Holmes and Charles Bigelow. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font4/yuppy_sc.yml b/Formulas/macos/font4/yuppy_sc.yml index 36737eb52..6437e1ef8 100644 --- a/Formulas/macos/font4/yuppy_sc.yml +++ b/Formulas/macos/font4/yuppy_sc.yml @@ -28,7 +28,6 @@ extract: {} copyright: "© 2003, 2005, 2009 Monotype Imaging Hong Kong Ltd. and Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font4/yuppy_tc.yml b/Formulas/macos/font4/yuppy_tc.yml index 0337f54b2..cfd86227c 100644 --- a/Formulas/macos/font4/yuppy_tc.yml +++ b/Formulas/macos/font4/yuppy_tc.yml @@ -27,7 +27,6 @@ fonts: extract: {} copyright: "© 1991-2008 China Type Design Ltd. Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font6/andale_mono.yml b/Formulas/macos/font6/andale_mono.yml index 06ea4edd0..76ed8a0bb 100644 --- a/Formulas/macos/font6/andale_mono.yml +++ b/Formulas/macos/font6/andale_mono.yml @@ -26,7 +26,7 @@ extract: {} copyright: Digitized data copyright (C) 1993-1997 The Monotype Corporation. All rights reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font6/arial_black.yml b/Formulas/macos/font6/arial_black.yml index 8662a6665..bfd21382c 100644 --- a/Formulas/macos/font6/arial_black.yml +++ b/Formulas/macos/font6/arial_black.yml @@ -43,7 +43,7 @@ fonts: extract: {} copyright: C 2006 The Monotype Corporation. All Rights Reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font6/arial_unicode_ms.yml b/Formulas/macos/font6/arial_unicode_ms.yml index d76025404..e51a346e1 100644 --- a/Formulas/macos/font6/arial_unicode_ms.yml +++ b/Formulas/macos/font6/arial_unicode_ms.yml @@ -46,7 +46,7 @@ copyright: Digitized data copyright (C) 1993-2000 Agfa Monotype Corporation. All reserved. Arial® is a trademark of The Monotype Corporation which may be registered in certain jurisdictions. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfgamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font6/lucida_grande.yml b/Formulas/macos/font6/lucida_grande.yml index bcd8d2808..70d67b6f3 100644 --- a/Formulas/macos/font6/lucida_grande.yml +++ b/Formulas/macos/font6/lucida_grande.yml @@ -42,7 +42,7 @@ copyright: Copyright � 1989 Bigelow & Holmes, Inc. All rights reserved. Lucida Office and other jurisdictions. Lucida typeface designs created by Kris Holmes and Charles Bigelow. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font6/yuppy_sc.yml b/Formulas/macos/font6/yuppy_sc.yml index 5f5d2efc7..eb7e26b6c 100644 --- a/Formulas/macos/font6/yuppy_sc.yml +++ b/Formulas/macos/font6/yuppy_sc.yml @@ -28,7 +28,6 @@ extract: {} copyright: "© 2003, 2005, 2009 Monotype Imaging Hong Kong Ltd. and Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font6/yuppy_tc.yml b/Formulas/macos/font6/yuppy_tc.yml index c75bcc0cb..b37494084 100644 --- a/Formulas/macos/font6/yuppy_tc.yml +++ b/Formulas/macos/font6/yuppy_tc.yml @@ -27,7 +27,6 @@ fonts: extract: {} copyright: "© 1991-2008 China Type Design Ltd. Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font7/andale_mono_10m1044.yml b/Formulas/macos/font7/andale_mono_10m1044.yml index 96f3295b8..bb08d4f35 100644 --- a/Formulas/macos/font7/andale_mono_10m1044.yml +++ b/Formulas/macos/font7/andale_mono_10m1044.yml @@ -26,7 +26,7 @@ extract: {} copyright: Digitized data copyright (C) 1993-1997 The Monotype Corporation. All rights reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font7/arial_black_10m1044.yml b/Formulas/macos/font7/arial_black_10m1044.yml index d81b773bb..0bd1a29e0 100644 --- a/Formulas/macos/font7/arial_black_10m1044.yml +++ b/Formulas/macos/font7/arial_black_10m1044.yml @@ -43,7 +43,7 @@ fonts: extract: {} copyright: C 2006 The Monotype Corporation. All Rights Reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font7/arial_unicode_ms_10m1044.yml b/Formulas/macos/font7/arial_unicode_ms_10m1044.yml index a06fc377c..c9d930140 100644 --- a/Formulas/macos/font7/arial_unicode_ms_10m1044.yml +++ b/Formulas/macos/font7/arial_unicode_ms_10m1044.yml @@ -46,7 +46,7 @@ copyright: Digitized data copyright (C) 1993-2000 Agfa Monotype Corporation. All reserved. Arial® is a trademark of The Monotype Corporation which may be registered in certain jurisdictions. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfgamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font7/lucida_grande_10m1044.yml b/Formulas/macos/font7/lucida_grande_10m1044.yml index 9046f65fd..dd9c1e2e4 100644 --- a/Formulas/macos/font7/lucida_grande_10m1044.yml +++ b/Formulas/macos/font7/lucida_grande_10m1044.yml @@ -42,7 +42,7 @@ copyright: Copyright � 1989 Bigelow & Holmes, Inc. All rights reserved. Lucida Office and other jurisdictions. Lucida typeface designs created by Kris Holmes and Charles Bigelow. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font7/lucida_grande_10m1360.yml b/Formulas/macos/font7/lucida_grande_10m1360.yml index 6432fd030..a0d2e3c61 100644 --- a/Formulas/macos/font7/lucida_grande_10m1360.yml +++ b/Formulas/macos/font7/lucida_grande_10m1360.yml @@ -42,7 +42,7 @@ copyright: Copyright � 1989 Bigelow & Holmes, Inc. All rights reserved. Lucida Office and other jurisdictions. Lucida typeface designs created by Kris Holmes and Charles Bigelow. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font7/yuppy_sc_10m1044.yml b/Formulas/macos/font7/yuppy_sc_10m1044.yml index 7c0d81edc..615a2e7e4 100644 --- a/Formulas/macos/font7/yuppy_sc_10m1044.yml +++ b/Formulas/macos/font7/yuppy_sc_10m1044.yml @@ -28,7 +28,6 @@ extract: {} copyright: "© 2003, 2005, 2009 Monotype Imaging Hong Kong Ltd. and Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font7/yuppy_tc_10m1044.yml b/Formulas/macos/font7/yuppy_tc_10m1044.yml index 06da7b3ee..fc6392cc4 100644 --- a/Formulas/macos/font7/yuppy_tc_10m1044.yml +++ b/Formulas/macos/font7/yuppy_tc_10m1044.yml @@ -27,7 +27,6 @@ fonts: extract: {} copyright: "© 1991-2008 China Type Design Ltd. Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font8/andale_mono_10m11177.yml b/Formulas/macos/font8/andale_mono_10m11177.yml index 6fcaade62..24effa5e5 100644 --- a/Formulas/macos/font8/andale_mono_10m11177.yml +++ b/Formulas/macos/font8/andale_mono_10m11177.yml @@ -26,7 +26,7 @@ extract: {} copyright: Digitized data copyright (C) 1993-1997 The Monotype Corporation. All rights reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font8/arial_black_10m11177.yml b/Formulas/macos/font8/arial_black_10m11177.yml index 20346e530..59c31d81a 100644 --- a/Formulas/macos/font8/arial_black_10m11177.yml +++ b/Formulas/macos/font8/arial_black_10m11177.yml @@ -43,7 +43,7 @@ fonts: extract: {} copyright: C 2006 The Monotype Corporation. All Rights Reserved. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font8/arial_unicode_ms_10m11177.yml b/Formulas/macos/font8/arial_unicode_ms_10m11177.yml index 970eeea54..77dcce1e7 100644 --- a/Formulas/macos/font8/arial_unicode_ms_10m11177.yml +++ b/Formulas/macos/font8/arial_unicode_ms_10m11177.yml @@ -46,7 +46,7 @@ copyright: Digitized data copyright (C) 1993-2000 Agfa Monotype Corporation. All reserved. Arial® is a trademark of The Monotype Corporation which may be registered in certain jurisdictions. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfgamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font8/lucida_grande_10m11177.yml b/Formulas/macos/font8/lucida_grande_10m11177.yml index 9f7f1f2a8..4211a9658 100644 --- a/Formulas/macos/font8/lucida_grande_10m11177.yml +++ b/Formulas/macos/font8/lucida_grande_10m11177.yml @@ -42,7 +42,7 @@ copyright: Copyright � 1989 Bigelow & Holmes, Inc. All rights reserved. Lucida Office and other jurisdictions. Lucida typeface designs created by Kris Holmes and Charles Bigelow. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font8/yuppy_sc_10m11177.yml b/Formulas/macos/font8/yuppy_sc_10m11177.yml index a2950b336..53854f5dd 100644 --- a/Formulas/macos/font8/yuppy_sc_10m11177.yml +++ b/Formulas/macos/font8/yuppy_sc_10m11177.yml @@ -28,7 +28,6 @@ extract: {} copyright: "© 2003, 2005, 2009 Monotype Imaging Hong Kong Ltd. and Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/font8/yuppy_tc_10m11177.yml b/Formulas/macos/font8/yuppy_tc_10m11177.yml index 39044af4b..a1856b48e 100644 --- a/Formulas/macos/font8/yuppy_tc_10m11177.yml +++ b/Formulas/macos/font8/yuppy_tc_10m11177.yml @@ -27,7 +27,6 @@ fonts: extract: {} copyright: "© 1991-2008 China Type Design Ltd. Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/lucida_grande.yml b/Formulas/macos/lucida_grande.yml index e96c80462..a9e16e09f 100644 --- a/Formulas/macos/lucida_grande.yml +++ b/Formulas/macos/lucida_grande.yml @@ -39,7 +39,7 @@ copyright: Copyright © 1989 Bigelow & Holmes, Inc. All rights reserved. Lucida Office and other jurisdictions. Lucida typeface designs created by Kris Holmes and Charles Bigelow. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/lucida_grande_10m11177.yml b/Formulas/macos/lucida_grande_10m11177.yml index 1291f1697..16d0b854b 100644 --- a/Formulas/macos/lucida_grande_10m11177.yml +++ b/Formulas/macos/lucida_grande_10m11177.yml @@ -42,7 +42,7 @@ copyright: Copyright � 1989 Bigelow & Holmes, Inc. All rights reserved. Lucida Office and other jurisdictions. Lucida typeface designs created by Kris Holmes and Charles Bigelow. spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.agfamonotype.com/html/type/license.html +license_url: https://web.archive.org/web/19981205192800/http://www.monotype.com/html/type/license.html requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/yuppy_sc.yml b/Formulas/macos/yuppy_sc.yml index f2962169b..2b42580d9 100644 --- a/Formulas/macos/yuppy_sc.yml +++ b/Formulas/macos/yuppy_sc.yml @@ -27,7 +27,6 @@ extract: {} copyright: "© 2003, 2005, 2009 Monotype Imaging Hong Kong Ltd. and Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/yuppy_sc_10m11177.yml b/Formulas/macos/yuppy_sc_10m11177.yml index 5b8b00191..1f2df25f8 100644 --- a/Formulas/macos/yuppy_sc_10m11177.yml +++ b/Formulas/macos/yuppy_sc_10m11177.yml @@ -29,7 +29,6 @@ extract: {} copyright: "© 2003, 2005, 2009 Monotype Imaging Hong Kong Ltd. and Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/yuppy_tc.yml b/Formulas/macos/yuppy_tc.yml index b2f63a15c..975cbba5f 100644 --- a/Formulas/macos/yuppy_tc.yml +++ b/Formulas/macos/yuppy_tc.yml @@ -26,7 +26,6 @@ fonts: extract: {} copyright: "© 1991-2008 China Type Design Ltd. Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/macos/yuppy_tc_10m11177.yml b/Formulas/macos/yuppy_tc_10m11177.yml index d5f25fb91..8d1619fc8 100644 --- a/Formulas/macos/yuppy_tc_10m11177.yml +++ b/Formulas/macos/yuppy_tc_10m11177.yml @@ -28,7 +28,6 @@ fonts: extract: {} copyright: "© 1991-2008 China Type Design Ltd. Monotype Imaging Inc. All rights reserved." spdx_license: LicenseRef-Apple-EA1705 -license_url: http://www.monotype.com.hk/modules.php?name=Content&showpage&pid=15 requires_license_agreement: | For use on Apple-branded Systems diff --git a/Formulas/office_preview.yml b/Formulas/office_preview.yml index d8284ad68..db9004d22 100644 --- a/Formulas/office_preview.yml +++ b/Formulas/office_preview.yml @@ -3156,7 +3156,7 @@ extract: {} copyright: Design and data by The Monotype Corporation. © 1993. Portions copyright Microsoft Corporation. All rights reserved. spdx_license: LicenseRef-Microsoft-OfficeMac -license_url: http://www.monotype.com/html/mtname/ms_welcome.html +license_url: https://web.archive.org/web/19990203233852/http://www.monotype.com/html/mtname/ms_welcome.html requires_license_agreement: "Office for Mac Privacy Statement\nMICROSOFT SOFTWARE LICENSE TERMS\nMICROSOFT OFFICE FOR MAC\nThese license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. diff --git a/docs/generate.js b/docs/generate.js index d0403eb05..27dc7450b 100644 --- a/docs/generate.js +++ b/docs/generate.js @@ -76,6 +76,7 @@ function detectLicenseInfo(yaml, sourceType) { const requiresLicense = yaml.requires_license_agreement || ""; const openLicense = yaml.open_license || ""; const spdxLicense = (yaml.spdx_license || "").toUpperCase(); + const spdxLicenseRaw = yaml.spdx_license || ""; let copyright = (yaml.copyright || "").toLowerCase(); // Also collect copyright from font styles (for formulas without top-level copyright) @@ -149,7 +150,7 @@ function detectLicenseInfo(yaml, sourceType) { return { type: "cc0", name: "Creative Commons Zero (Public Domain)", badge: svgBadge("License", "CC0 1.0", "#28a745", 120), - docLink: "/licenses/cc0", spdxUrl: `https://spdx.org/licenses/${spdxLicense}.html`, + docLink: "/licenses/cc0", spdxUrl: `https://spdx.org/licenses/${spdxLicenseRaw}.html`, category: "open_source", isOpen: true, }; } @@ -157,7 +158,7 @@ function detectLicenseInfo(yaml, sourceType) { return { type: "cc-by", name: "Creative Commons Attribution", badge: svgBadge("License", "CC BY 4.0", "#28a745", 120), - docLink: "/licenses/cc-by", spdxUrl: `https://spdx.org/licenses/${spdxLicense}.html`, + docLink: "/licenses/cc-by", spdxUrl: `https://spdx.org/licenses/${spdxLicenseRaw}.html`, category: "open_source", isOpen: true, }; } @@ -165,7 +166,7 @@ function detectLicenseInfo(yaml, sourceType) { return { type: "cc-by-sa", name: "Creative Commons Attribution-ShareAlike", badge: svgBadge("License", "CC BY-SA 4.0", "#28a745", 120), - docLink: "/licenses/cc-by-sa", spdxUrl: `https://spdx.org/licenses/${spdxLicense}.html`, + docLink: "/licenses/cc-by-sa", spdxUrl: `https://spdx.org/licenses/${spdxLicenseRaw}.html`, category: "open_source", isOpen: true, }; } @@ -173,7 +174,7 @@ function detectLicenseInfo(yaml, sourceType) { return { type: "gpl", name: "GNU GPL (with Font Exception)", badge: svgBadge("License", "GPL", "#28a745", 120), - docLink: "/licenses/gpl", spdxUrl: `https://spdx.org/licenses/${spdxLicense}.html`, + docLink: "/licenses/gpl", spdxUrl: `https://spdx.org/licenses/${spdxLicenseRaw}.html`, category: "open_source", isOpen: true, }; } @@ -181,7 +182,7 @@ function detectLicenseInfo(yaml, sourceType) { return { type: "lgpl", name: "GNU LGPL", badge: svgBadge("License", "LGPL", "#28a745", 120), - docLink: "/licenses/lgpl", spdxUrl: `https://spdx.org/licenses/${spdxLicense}.html`, + docLink: "/licenses/lgpl", spdxUrl: `https://spdx.org/licenses/${spdxLicenseRaw}.html`, category: "open_source", isOpen: true, }; } @@ -189,7 +190,7 @@ function detectLicenseInfo(yaml, sourceType) { return { type: "ufl", name: "Ubuntu Font Licence 1.0", badge: svgBadge("License", "UFL 1.0", "#28a745", 120), - docLink: "/licenses/ufl", spdxUrl: `https://spdx.org/licenses/${spdxLicense}.html`, + docLink: "/licenses/ufl", spdxUrl: `https://spdx.org/licenses/${spdxLicenseRaw}.html`, category: "open_source", isOpen: true, }; } @@ -197,7 +198,7 @@ function detectLicenseInfo(yaml, sourceType) { return { type: "ipa", name: "IPA Font License", badge: svgBadge("License", "IPA", "#28a745", 120), - docLink: "/licenses/ipa", spdxUrl: `https://spdx.org/licenses/${spdxLicense}.html`, + docLink: "/licenses/ipa", spdxUrl: `https://spdx.org/licenses/${spdxLicenseRaw}.html`, category: "open_source", isOpen: true, }; } diff --git a/docs/lychee.toml b/docs/lychee.toml index 49b32def8..9583b671b 100644 --- a/docs/lychee.toml +++ b/docs/lychee.toml @@ -30,6 +30,12 @@ exclude_path = [ ".bundle", ".jekyll-cache" ] +# SourceForge download mirrors rate-limit or block GitHub Actions IPs, +# causing false link-check failures. These URLs are verified by the +# formula-health Tier 2 installation tests, not by the link checker. +exclude = [ + "https://[^/]*\\.sourceforge\\.net" +] exclude_all_private = false include_mail = false