package: Remove trailing slash from all package site URLs
commit7b0e757fb85fd88a76fb4528926914288eb2e477
authorLuca Ceresoli <luca@lucaceresoli.net>
Mon, 28 Sep 2015 16:10:31 +0000 (28 18:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Sep 2015 10:46:42 +0000 (30 12:46 +0200)
tree38e6646a048d19b878f633f515fd7d4c0d3d0534
parent5f6cb63454a98bfc7e686469b3cf32fa2d40fd70
package: Remove trailing slash from all package site URLs

The recommended form is without the trailing slash, and will become
mandatory in a coming commit.

This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk
to avoid double slashes in download URLs, like
"https://mosh.mit.edu//mosh-1.2.5.tar.gz".
                     ^^

Note: this work has already been done in b0b9606530dfc6de4030 a few
months ago and earlier in c7f4b964718bc5a3329b and 4a9eb20de817fa64,
but no check has been added at that time to avoid new slashes to slip
in, and so they did. This time a patch will follow immediately to
prevent future mistakes from being unnoticed.

Mass-replaced with the following command:

  git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||'

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 files changed:
package/angularjs/angularjs.mk
package/audit/audit.mk
package/c-icap-modules/c-icap-modules.mk
package/c-icap/c-icap.mk
package/doxygen/doxygen.mk
package/drbd-utils/drbd-utils.mk
package/ebtables/ebtables.mk
package/ibrcommon/ibrcommon.mk
package/ibrdtn-tools/ibrdtn-tools.mk
package/ibrdtn/ibrdtn.mk
package/ibrdtnd/ibrdtnd.mk
package/ipmiutil/ipmiutil.mk
package/libcddb/libcddb.mk
package/libftdi1/libftdi1.mk
package/libpam-radius-auth/libpam-radius-auth.mk
package/lirc-tools/lirc-tools.mk
package/monkey/monkey.mk
package/mono-gtksharp3/mono-gtksharp3.mk
package/mosh/mosh.mk
package/openipmi/openipmi.mk
package/powertop/powertop.mk
package/python-can/python-can.mk
package/python-pycli/python-pycli.mk
package/python-pyxml/python-pyxml.mk
package/python-pyyaml/python-pyyaml.mk
package/quazip/quazip.mk
package/rapidxml/rapidxml.mk
package/setools/setools.mk
package/sp-oops-extract/sp-oops-extract.mk
package/stress-ng/stress-ng.mk