mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
Meta: Only allow sha256 and sig for auth_type in ports
This commit is contained in:
parent
5911d379a6
commit
4aaf6386ae
1 changed files with 5 additions and 0 deletions
|
@ -117,6 +117,11 @@ def check_package_files(ports):
|
|||
continue
|
||||
|
||||
props = get_port_properties(port)
|
||||
|
||||
if not props['auth_type'] in ('sha256', 'sig', ''):
|
||||
print(f"Ports/{port} uses invalid signature algorithm '{props['auth_type']}' for 'auth_type'")
|
||||
all_good = False
|
||||
|
||||
for prop in PORT_PROPERTIES:
|
||||
if prop == 'auth_type' and re.match('^https://github.com/SerenityOS/', props["files"]):
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue