diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2021-09-02 12:24:39 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2021-09-02 12:24:39 +0300 |
commit | 1c3bc7a1d43557e47fbc91f38da250ab7506815e (patch) | |
tree | 37b55358eda74a4a10575b3cf34154878374f116 | |
parent | 0f5996c8cddec0f571c4c70a98ac5333eae1c9bb (diff) |
GitHub is removing support for unauthenticated git: https://github.blog/2021-09-01-improving-git-protocol-security-github/
-rw-r--r-- | bockbuild/package.py | 4 | ||||
-rw-r--r-- | packages/gtk-sharp.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bockbuild/package.py b/bockbuild/package.py index 7d73206..9b9c1ca 100644 --- a/bockbuild/package.py +++ b/bockbuild/package.py @@ -380,7 +380,7 @@ class Package: # if source.startswith ('http://'): # raise Exception ('HTTP downloads are no longer allowed: %s', source) - if source.startswith(('http://', 'https://', 'ftp://')): + if source.startswith(('http://', 'https://', 'ftp://')) and not source.endswith('.git'): cache = get_download_dest(source, self.version) if self.profile.cache_host is not None: cached_source = os.path.join( @@ -1040,7 +1040,7 @@ class GitHubPackage (Package): configure_flags=configure_flags, configure=configure, sources=[ - 'git://github.com/%{organization}/%{name}.git'], + 'https://github.com/%{organization}/%{name}.git'], override_properties=override_properties) diff --git a/packages/gtk-sharp.py b/packages/gtk-sharp.py index 71de522..c1f45d1 100644 --- a/packages/gtk-sharp.py +++ b/packages/gtk-sharp.py @@ -2,7 +2,7 @@ class GtkSharp212ReleasePackage (Package): def __init__(self): Package.__init__(self, 'gtk-sharp', - sources=['git://github.com/mono/gtk-sharp.git'], + sources=['https://github.com/mono/gtk-sharp.git'], git_branch='gtk-sharp-2-12-branch', revision='33fabaf9333f6cf26af1682cc67b4cfa99a0fc41', override_properties={ |