Commit Graph

6 Commits

Author SHA1 Message Date
Luca Ceresoli
7b0e757fb8 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 b0b9606530 a few
months ago and earlier in c7f4b96471 and 4a9eb20de8,
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>
2015-09-30 12:46:42 +02:00
Brendan Heading
186d5d1b5f package/ibrcommon: fix basename call under musl
Fixes:
http://autobuild.buildroot.net/results/9c3/9c3889fe80e58b7a35c242332f993992044d2f6b/

ibrcommon was relying on a glibc extension to basename(3) which allowed it
to accept a const char* parameter (instead of char*). Fixed by testing
for __GLIBC__; if not defined (such as when musl is in use) a fallback
block is used which creates a temporary copy of the path.

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-20 14:50:58 +02:00
Thomas Petazzoni
e4f6046f7a ibrcommon: add missing dependency on host-pkgconf
pkg-config is used by ibrcommon to detect the availability of openssl,
libnl and libxml2, so we must depend on host-pkgconf.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 20:42:31 +02:00
Thomas Petazzoni
f1e2419753 ibrcommon: add hash file
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 18:14:04 +02:00
Thomas Petazzoni
8bb79ac97d ibrcommon: fix dependencies of comment in Config.in
We want the comment to be displayed either if C++ is not supported
*or* if threads is not supported.

Also, fix the indentation to use a tab.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 18:14:04 +02:00
Tom Sparks
d45e6bf09d ibrcommon: new package
[Thomas:
  - add package in package/Config.in, to make it visible in menuconfig
  - make the openssl, libnl and libxml2 dependencies optional, since
    they are definitely not mandatory
  - add README to the license files, since it contains useful
    licensing related information.
  - remove custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS since
    the package uses automake.
  - add missing final newline in Config.in and .mk file.]

Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 16:41:56 +02:00