[OpenWrt-Devel] packages: Use https instead of git

Submitted by Alexey Brodkin on Feb. 15, 2017, 10:11 a.m.

Details

Message ID 1487153505-6985-1-git-send-email-abrodkin@synopsys.com
State New
Headers show

Commit Message

Alexey Brodkin Feb. 15, 2017, 10:11 a.m.
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>

On some [especially corporate] networks non-standard ports are blocked
and git is one of them. So switch to more convenient https transport.

Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
---
 libs/dmx_usb_module/Makefile  | 2 +-
 libs/libhttp-parser/Makefile  | 2 +-
 libs/libsoxr/Makefile         | 2 +-
 libs/protobuf-c/Makefile      | 2 +-
 libs/yajl/Makefile            | 2 +-
 net/acme/Makefile             | 2 +-
 net/coova-chilli/Makefile     | 2 +-
 net/horst/Makefile            | 2 +-
 net/linuxptp/Makefile         | 2 +-
 net/lispmob/Makefile          | 2 +-
 net/mii-tool/Makefile         | 2 +-
 net/opentracker/Makefile      | 2 +-
 net/port-mirroring/Makefile   | 2 +-
 net/wifidog/Makefile          | 2 +-
 sound/forked-daapd/Makefile   | 2 +-
 sound/shairplay/Makefile      | 2 +-
 sound/shairport-sync/Makefile | 2 +-
 sound/shairport/Makefile      | 2 +-
 utils/acl/Makefile            | 2 +-
 utils/ap51-flash/Makefile     | 2 +-
 utils/ecdsautils/Makefile     | 2 +-
 utils/evtest/Makefile         | 2 +-
 utils/mbtools/Makefile        | 2 +-
 utils/openocd/Makefile        | 2 +-
 utils/pps-tools/Makefile      | 2 +-
 utils/rtklib/Makefile         | 2 +-
 utils/rtl-sdr/Makefile        | 2 +-
 utils/sispmctl/Makefile       | 2 +-
 utils/triggerhappy/Makefile   | 2 +-
 29 files changed, 29 insertions(+), 29 deletions(-)

Comments

Imre Kaloz Feb. 15, 2017, 12:20 p.m.
Hi Alexey,

On 2017-02-15 11:11, Alexey Brodkin wrote:
> From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
>
> On some [especially corporate] networks non-standard ports are blocked
> and git is one of them. So switch to more convenient https transport.
>
> Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>

Please make this a configuration option instead.


Thanks,

Imre
David Woodhouse Feb. 15, 2017, 12:27 p.m.
On Wed, 2017-02-15 at 13:11 +0300, Alexey Brodkin wrote:
> 
> On some [especially corporate] networks non-standard ports are blocked
> and git is one of them. So switch to more convenient https transport.

Here's a nickel, kid. Get yourself a proper Internet connection.

Seriously, better to advocate that users take a cluebat to stupid
network admins, than to pander to this.

Make it git-only, and IPv6-only :)
David Woodhouse Feb. 15, 2017, 12:29 p.m.
On Wed, 2017-02-15 at 12:27 +0000, David Woodhouse wrote:
> On Wed, 2017-02-15 at 13:11 +0300, Alexey Brodkin wrote:
> > 
> > 
> > On some [especially corporate] networks non-standard ports are blocked
> > and git is one of them. So switch to more convenient https transport.
> Here's a nickel, kid. Get yourself a proper Internet connection.
> 
> Seriously, better to advocate that users take a cluebat to stupid
> network admins, than to pander to this.
> 
> Make it git-only, and IPv6-only :)

Slightly more seriously, a configuration option for a proxy tool to use
for git might be worthwhile, to save users from having to set it up for
themselves. But then again, users in such broken networks will probably
already have done so, won't they?
Alexey Brodkin Feb. 15, 2017, 12:30 p.m.
Hi Imre,

On Wed, 2017-02-15 at 13:20 +0100, Imre Kaloz wrote:
> Hi Alexey,

> 

> On 2017-02-15 11:11, Alexey Brodkin wrote:

> > 

> > From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>

> > 

> > On some [especially corporate] networks non-standard ports are blocked

> > and git is one of them. So switch to more convenient https transport.

> > 

> > Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>

> 

> Please make this a configuration option instead.


Why add another option?
What is a difference between https vs git for getting stuff from git repos?
As long as you don't need to push your commits https is fine.
But given we just pack tarballs from git repos there's no sense in pure git
protocol, no?

-Alexey
Felix Fietkau Feb. 15, 2017, 12:32 p.m.
On 2017-02-15 13:20, Imre Kaloz wrote:
> Hi Alexey,
> 
> On 2017-02-15 11:11, Alexey Brodkin wrote:
>> From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
>>
>> On some [especially corporate] networks non-standard ports are blocked
>> and git is one of them. So switch to more convenient https transport.
>>
>> Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
> 
> Please make this a configuration option instead.
Please don't. Adding a configuration option for this is a waste of time
and only makes makefiles more convoluted.

This stuff is pretty much a non-issue for all packages that have
PKG_MIRROR_HASH (or the legacy PKG_MIRROR_MD5SUM) option set.
The LEDE buildbot automatically uploads mirrored tarballs to a place
that's referenced by download.pl.

This means that only in the rare case of the package update being too
new (or a broken makefile) it will actually attempt to download from
git. In all other cases it will pull the mirrored tarball from the LEDE
server, which should work properly with garbage firewalls.

Now if these packages don't have PKG_MIRROR_HASH set properly, that's
something actually worth fixing :)

- Felix

Patch hide | download patch | download mbox

diff --git a/libs/dmx_usb_module/Makefile b/libs/dmx_usb_module/Makefile
index d9e458fbe7eb..4487437d3f88 100644
--- a/libs/dmx_usb_module/Makefile
+++ b/libs/dmx_usb_module/Makefile
@@ -14,7 +14,7 @@  PKG_RELEASE:=0.1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_URL:=git://github.com/lowlander/dmx_usb_module.git
+PKG_SOURCE_URL:=https://github.com/lowlander/dmx_usb_module.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=ee99ca7edbd9e093480ad63341ac007394047bde
 PKG_MAINTAINER:=Martijn Zilverschoon <martijn@friedzombie.com>
diff --git a/libs/libhttp-parser/Makefile b/libs/libhttp-parser/Makefile
index fe28b4cab263..db0a201f4867 100644
--- a/libs/libhttp-parser/Makefile
+++ b/libs/libhttp-parser/Makefile
@@ -16,7 +16,7 @@  PKG_LICENSE_FILES:=LICENSE-MIT
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_URL:=git://github.com/joyent/http-parser.git
+PKG_SOURCE_URL:=https://github.com/nodejs/http-parser.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=56f7ad0e2e5a80f79d214015c91e1f17d11d109f
 
diff --git a/libs/libsoxr/Makefile b/libs/libsoxr/Makefile
index 9881fbb9d871..52cbf4779baf 100644
--- a/libs/libsoxr/Makefile
+++ b/libs/libsoxr/Makefile
@@ -13,7 +13,7 @@  PKG_VERSION:=0.1.1
 PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://git.code.sf.net/p/soxr/code
+PKG_SOURCE_URL:=https://git.code.sf.net/p/soxr/code
 PKG_SOURCE_VERSION:=$(PKG_VERSION)
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
diff --git a/libs/protobuf-c/Makefile b/libs/protobuf-c/Makefile
index 16b2f2be326e..e2d17c06ee16 100644
--- a/libs/protobuf-c/Makefile
+++ b/libs/protobuf-c/Makefile
@@ -13,7 +13,7 @@  PKG_RELEASE:=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_URL:=git://github.com/protobuf-c/protobuf-c.git
+PKG_SOURCE_URL:=https://github.com/protobuf-c/protobuf-c.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=$(PKG_VERSION)
 
diff --git a/libs/yajl/Makefile b/libs/yajl/Makefile
index f9a2877a034e..79bf9b6bc01b 100644
--- a/libs/yajl/Makefile
+++ b/libs/yajl/Makefile
@@ -18,7 +18,7 @@  PKG_REV:=66cb08ca2ad8581080b626a75dfca266a890afb2
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
-PKG_SOURCE_URL:=git://github.com/lloyd/yajl.git
+PKG_SOURCE_URL:=https://github.com/lloyd/yajl.git
 PKG_SOURCE_PROTO:=git
 
 include $(INCLUDE_DIR)/package.mk
diff --git a/net/acme/Makefile b/net/acme/Makefile
index 9d35f8005fcd..a75b5b5bafc4 100644
--- a/net/acme/Makefile
+++ b/net/acme/Makefile
@@ -14,7 +14,7 @@  PKG_RELEASE:=1
 PKG_LICENSE:=GPLv3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.xz
-PKG_SOURCE_URL:=git://github.com/Neilpang/acme.sh.git
+PKG_SOURCE_URL:=https://github.com/Neilpang/acme.sh.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)
diff --git a/net/coova-chilli/Makefile b/net/coova-chilli/Makefile
index b926a1d0843d..ed54eb010ed2 100644
--- a/net/coova-chilli/Makefile
+++ b/net/coova-chilli/Makefile
@@ -15,7 +15,7 @@  PKG_LICENSE_FILES:=COPYING
 PKG_RELEASE:=4
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/coova/coova-chilli
+PKG_SOURCE_URL:=https://github.com/coova/coova-chilli
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=b93de20a288c01c2ba28e96e31ad6da01627f45f
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/net/horst/Makefile b/net/horst/Makefile
index 1eb7409c0a7b..0f6988dbdbda 100644
--- a/net/horst/Makefile
+++ b/net/horst/Makefile
@@ -13,7 +13,7 @@  PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-git.tar.gz
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_URL:=git://github.com/br101/horst.git
+PKG_SOURCE_URL:=https://github.com/br101/horst.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=version-$(PKG_VERSION)
 
diff --git a/net/linuxptp/Makefile b/net/linuxptp/Makefile
index 6128521881e1..a5e654e1482d 100644
--- a/net/linuxptp/Makefile
+++ b/net/linuxptp/Makefile
@@ -14,7 +14,7 @@  PKG_REV:=891d56e4292653c5c19ac8345159a1f1f5b2df26
 
 PKG_MAINTAINER:=Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=git://git.code.sf.net/p/linuxptp/code
+PKG_SOURCE_URL:=https://git.code.sf.net/p/linuxptp/code
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
 PKG_SOURCE_PROTO:=git
diff --git a/net/lispmob/Makefile b/net/lispmob/Makefile
index b1776641ac82..acb348f73234 100644
--- a/net/lispmob/Makefile
+++ b/net/lispmob/Makefile
@@ -13,7 +13,7 @@  PKG_VERSION:=0.4
 PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=git://github.com/LISPmob/lispmob.git
+PKG_SOURCE_URL:=https://github.com/LISPmob/lispmob.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
diff --git a/net/mii-tool/Makefile b/net/mii-tool/Makefile
index e9c793dbd60f..6634748d7d65 100644
--- a/net/mii-tool/Makefile
+++ b/net/mii-tool/Makefile
@@ -13,7 +13,7 @@  PKG_VERSION=2016-10-06-$(PKG_SOURCE_VERSION)
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://git.code.sf.net/p/net-tools/code
+PKG_SOURCE_URL:=https://git.code.sf.net/p/net-tools/code
 PKG_SOURCE_VERSION:=115f1af2494ded1fcd21c8419d5e289bc4df380f
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/net/opentracker/Makefile b/net/opentracker/Makefile
index e47633211904..389b419ed30e 100644
--- a/net/opentracker/Makefile
+++ b/net/opentracker/Makefile
@@ -15,7 +15,7 @@  PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 PKG_LICENSE:=Beerware
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=git://erdgeist.org/opentracker
+PKG_SOURCE_URL:=https://erdgeist.org/gitweb/opentracker
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
 PKG_SOURCE_PROTO:=git
diff --git a/net/port-mirroring/Makefile b/net/port-mirroring/Makefile
index fdc4b39d8369..b65cf895a38f 100644
--- a/net/port-mirroring/Makefile
+++ b/net/port-mirroring/Makefile
@@ -14,7 +14,7 @@  PKG_LICENSE:=BSD-2-Clause
 PKG_LICENSE_FILES:=LICENSE
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_URL:=git://github.com/mmaraya/port-mirroring.git
+PKG_SOURCE_URL:=https://github.com/mmaraya/port-mirroring.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=f6ead68b7760fa86e8da73ac1e062349f243ac93
 PKG_FIXUP:=autoreconf
diff --git a/net/wifidog/Makefile b/net/wifidog/Makefile
index 591f29107b29..d35eeadd521f 100644
--- a/net/wifidog/Makefile
+++ b/net/wifidog/Makefile
@@ -20,7 +20,7 @@  PKG_LICENSE_FILES:=COPYING
 
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/wifidog/wifidog-gateway.git
+PKG_SOURCE_URL:=https://github.com/wifidog/wifidog-gateway.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=1.3.0
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
diff --git a/sound/forked-daapd/Makefile b/sound/forked-daapd/Makefile
index b33bb44fbf40..a5775f3b58d4 100644
--- a/sound/forked-daapd/Makefile
+++ b/sound/forked-daapd/Makefile
@@ -15,7 +15,7 @@  PKG_REV:=1b6283752ed0b790a6658bed1f05946e1af193da
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/ejurgensen/forked-daapd.git
+PKG_SOURCE_URL:=https://github.com/ejurgensen/forked-daapd.git
 PKG_SOURCE_VERSION:=$(PKG_REV)
 
 PKG_BUILD_DEPENDS:=gperf/host
diff --git a/sound/shairplay/Makefile b/sound/shairplay/Makefile
index 191647c51e17..a0a1e1e91cb8 100644
--- a/sound/shairplay/Makefile
+++ b/sound/shairplay/Makefile
@@ -12,7 +12,7 @@  PKG_VERSION:=2016-01-01
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/juhovh/shairplay.git
+PKG_SOURCE_URL:=https://github.com/juhovh/shairplay.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=ce80e005908f41d0e6fde1c4a21e9cb8ee54007b
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
diff --git a/sound/shairport-sync/Makefile b/sound/shairport-sync/Makefile
index abec42156dcb..60f78d81a36c 100644
--- a/sound/shairport-sync/Makefile
+++ b/sound/shairport-sync/Makefile
@@ -11,7 +11,7 @@  PKG_VERSION:=2.8.6
 PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/mikebrady/shairport-sync.git
+PKG_SOURCE_URL:=https://github.com/mikebrady/shairport-sync.git
 PKG_SOURCE_VERSION:=$(PKG_VERSION)
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_VERSION).tar.gz
diff --git a/sound/shairport/Makefile b/sound/shairport/Makefile
index aeb63f793909..ea57b418a9f5 100644
--- a/sound/shairport/Makefile
+++ b/sound/shairport/Makefile
@@ -12,7 +12,7 @@  PKG_VERSION:=2014-10-28
 PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/abrasive/shairport.git
+PKG_SOURCE_URL:=https://github.com/abrasive/shairport.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=d679d19a4bd66cc220dabfd23ad748c34e95995c
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
diff --git a/utils/acl/Makefile b/utils/acl/Makefile
index 943958247efb..0c01b9e53d46 100644
--- a/utils/acl/Makefile
+++ b/utils/acl/Makefile
@@ -13,7 +13,7 @@  PKG_VERSION:=20160519
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=git://git.sv.gnu.org/acl.git
+PKG_SOURCE_URL:=https://git0.savannah.gnu.org/r/acl.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
diff --git a/utils/ap51-flash/Makefile b/utils/ap51-flash/Makefile
index a30fa5d52683..0496c0420100 100644
--- a/utils/ap51-flash/Makefile
+++ b/utils/ap51-flash/Makefile
@@ -11,7 +11,7 @@  PKG_VERSION:=2016-10-16
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://dev.cloudtrax.com/ap51-flash.git
+PKG_SOURCE_URL:=https://dev.cloudtrax.com/git/ap51-flash.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=48b3fbac1c30c5968b2608eb09b53ea37c310a24
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
diff --git a/utils/ecdsautils/Makefile b/utils/ecdsautils/Makefile
index e5f3567a80d2..6f740b6ef4fd 100644
--- a/utils/ecdsautils/Makefile
+++ b/utils/ecdsautils/Makefile
@@ -13,7 +13,7 @@  PKG_RELEASE:=1
 PKG_REV:=07538893fb6c2a9539678c45f9dbbf1e4f222b46
 PKG_MAINTAINER:=Matthias Schiffer <mschiffer@universe-factory.net>
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=git://github.com/tcatm/$(PKG_NAME).git
+PKG_SOURCE_URL:=https://github.com/tcatm/$(PKG_NAME).git
 PKG_SOURCE_VERSION:=$(PKG_REV)
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_PROTO:=git
diff --git a/utils/evtest/Makefile b/utils/evtest/Makefile
index e85deeb4b4c5..9c6548a0b795 100644
--- a/utils/evtest/Makefile
+++ b/utils/evtest/Makefile
@@ -13,7 +13,7 @@  PKG_VERSION:=1.33
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=git://anongit.freedesktop.org/evtest
+PKG_SOURCE_URL:=https://anongit.freedesktop.org/git/evtest.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
diff --git a/utils/mbtools/Makefile b/utils/mbtools/Makefile
index 109adc6f7101..643152b7b98c 100644
--- a/utils/mbtools/Makefile
+++ b/utils/mbtools/Makefile
@@ -13,7 +13,7 @@  PKG_VERSION:=2014-10-29
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/webstack/mbtools
+PKG_SOURCE_URL:=https://github.com/webstack/mbtools
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=149e9c69cec180f18cf8781cf5285b97352bf719
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
diff --git a/utils/openocd/Makefile b/utils/openocd/Makefile
index 45901c531ece..2f3c2e5d7d34 100644
--- a/utils/openocd/Makefile
+++ b/utils/openocd/Makefile
@@ -12,7 +12,7 @@  PKG_VERSION:=v0.10.0
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://git.code.sf.net/p/openocd/code
+PKG_SOURCE_URL:=https://git.code.sf.net/p/openocd/code
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
diff --git a/utils/pps-tools/Makefile b/utils/pps-tools/Makefile
index 578004d7b84d..fd6fdb0bff86 100644
--- a/utils/pps-tools/Makefile
+++ b/utils/pps-tools/Makefile
@@ -12,7 +12,7 @@  PKG_VERSION:=2014-08-01
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/ago/pps-tools
+PKG_SOURCE_URL:=https://github.com/ago/pps-tools
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=0deb9c7e135e9380a6d09e9d2e938a146bb698c8
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
diff --git a/utils/rtklib/Makefile b/utils/rtklib/Makefile
index 9d7ed6db8726..91fd7d6b7eab 100644
--- a/utils/rtklib/Makefile
+++ b/utils/rtklib/Makefile
@@ -11,7 +11,7 @@  PKG_VERSION:=2.4.3_b24
 PKG_RELEASE:=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/tomojitakasu/RTKLIB.git
+PKG_SOURCE_URL:=https://github.com/tomojitakasu/RTKLIB.git
 PKG_SOURCE_VERSION:=1cec90a9ffa424908ad1a4ca3d52f33f9b94d1f7
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
diff --git a/utils/rtl-sdr/Makefile b/utils/rtl-sdr/Makefile
index 37e7f848a738..edb129f3692d 100644
--- a/utils/rtl-sdr/Makefile
+++ b/utils/rtl-sdr/Makefile
@@ -11,7 +11,7 @@  PKG_VERSION:=0.5.3-20150608-$(PKG_SOURCE_VERSION)
 PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://git.osmocom.org/rtl-sdr.git
+PKG_SOURCE_URL:=https://git.osmocom.org/rtl-sdr
 PKG_SOURCE_VERSION:=e3c03f738f5aef4dc51e2b741fbdb542b9cc1bb1
 
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
diff --git a/utils/sispmctl/Makefile b/utils/sispmctl/Makefile
index ad6c1e3523f3..9455645c662e 100644
--- a/utils/sispmctl/Makefile
+++ b/utils/sispmctl/Makefile
@@ -15,7 +15,7 @@  PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=5ff4a05a5bcb6a64a9d6f77fed47014512f66b11
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_URL:=git://git.code.sf.net/p/sispmctl/git
+PKG_SOURCE_URL:=https://git.code.sf.net/p/sispmctl/git
 PKG_MAINTAINER:=Richard Kunze <richard.kunze@web.de>
 PKG_LICENSE:=GPL-2.0+
 
diff --git a/utils/triggerhappy/Makefile b/utils/triggerhappy/Makefile
index 97c6e90315d8..7e81dd088f35 100644
--- a/utils/triggerhappy/Makefile
+++ b/utils/triggerhappy/Makefile
@@ -13,7 +13,7 @@  PKG_REV:=7e5abc69f215678e93a6b999524981c8b40bdcd9
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=git://github.com/wertarbyte/triggerhappy
+PKG_SOURCE_URL:=https://github.com/wertarbyte/triggerhappy
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)