From 5d5ffe8866294d45928d3042591f03dfce66c5f1 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sun, 23 Apr 2023 20:29:59 +0800 Subject: [PATCH] fix zlib source --- config/source.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/source.json b/config/source.json index cfe329ba..2212c110 100644 --- a/config/source.json +++ b/config/source.json @@ -296,9 +296,9 @@ } }, "zlib": { - "type": "filelist", - "url": "https://zlib.net/", - "regex": "/href=\"(?zlib-(?[^\"]+)\\.tar\\.gz)\"/i", + "type": "ghrel", + "repo": "madler/zlib", + "match": "zlib.+\\.tar\\.gz", "license": { "type": "text", "text": "(C) 1995-2022 Jean-loup Gailly and Mark Adler\n\nThis software is provided 'as-is', without any express or implied\nwarranty. In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\n claim that you wrote the original software. If you use this software\n in a product, an acknowledgment in the product documentation would be\n appreciated but is not required.\n2. Altered source versions must be plainly marked as such, and must not be\n misrepresented as being the original software.\n3. This notice may not be removed or altered from any source distribution.\n\nJean-loup Gailly Mark Adler\njloup@gzip.org madler@alumni.caltech.edu"