Alexander Dahl
  1. Alexander Dahl

buildroot

Public
AuthorCommitMessageCommit dateIssues
Matt WeberMatt Weber
ce91cbdad35configs/qemu_ppc64_e5500_defconfig: needs host-openssl for the Linux kernel buildSigned-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Baruch SiachBaruch Siach
e7d658e0291libcurl: add brotli optional dependencyThe brotli package has recently been added to Buildroot. Add brotli an an optional dependency to libcurl to make the build consistent. It turns out that libcurl configure script uses pkg-config to figure out link libraries only when --with-brotli is explicitly set. So this also fixes static build failure. Fixes: http://autobuild.buildroot.net/results/64b/64bc0dfe284206390ae0680b94c0876863a3c0...
Maxime HadjinlianMaxime Hadjinlian
f26c0c62ba9zynq-boot-bin: use HOST_ZYNQ_BOOT_BIN_DL_DIR instead of ZYNQ_BOOT_BIN_DL_DIRThe infrastructure only provides HOST_ZYNQ_BOOT_BIN_DL_DIR, because this package is host only. Ideally the infra should provide ZYNQ_BOOT_BIN_DL_DIR, but it doesn't currently, and that requires more significant changes. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Maxime HadjinlianMaxime Hadjinlian
3e5874e47c6ti-cgt-pru: use HOST_TI_CGT_PRU_DL_DIR instead of TI_CGT_PRU_DL_DIRThe infrastructure only provides HOST_TI_CGT_PRU_DL_DIR, because this package is host only. Ideally the infra should provide TI_CGT_PRU_DL_DIR, but it doesn't currently, and that requires more significant changes. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Maxime HadjinlianMaxime Hadjinlian
bec950dde82rust-bin: use HOST_RUST_BIN_DL_DIR instead of RUST_BIN_DL_DIRThe infrastructure only provides HOST_RUST_BIN_DL_DIR, because this package is host only. Ideally the infra should provide RUST_BIN_DL_DIR, but it doesn't currently, and that requires more significant changes. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Maxime HadjinlianMaxime Hadjinlian
7ce411c452dcryptopp: use HOST_CRYPTOPP_DL_DIR instead of CRYPTOPP_DL_DIRThe infrastructure only provides HOST_CRYPTOPP_DL_DIR, because this package is host only. Ideally the infra should provide CRYPTOPP_DL_DIR, but it doesn't currently, and that requires more significant changes. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Maxime HadjinlianMaxime Hadjinlian
e8ddb6998f3cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIRThe infrastructure only provides HOST_CARGO_DL_DIR, because this package is host only. Ideally the infra should provide CARGO_DL_DIR, but it doesn't currently, and that requires more significant changes. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Thomas PetazzoniThomas Petazzoni
bf4fc26f1aesam-ba: create $(HOST_DIR)/bin before using itIf one runs "make host-sam-ba" from a clean build, sam-ba.mk cannot create its symbolic link because $(HOST_DIR)/bin doesn't exist. So let's create this directory. >>> host-sam-ba 2.16 Installing to host directory mkdir -p /buildroot/output/host/opt/sam-ba/ cp -a /buildroot/output/build/host-sam-ba-2.16/* /buildroot/output/host/opt/sam-ba/ ln -sf ../opt/sam-ba/sam-ba_64 /buildroot/output/host/...
Thomas PetazzoniThomas Petazzoni
78b72929150sam-ba: use HOST_SAM_BA_DL_DIR instead of SAM_BA_DL_DIRThe infrastructure only provides HOST_SAM_BA_DL_DIR, because this package is host only. Ideally the infra should provide SAM_BA_DL_DIR, but it doesn't currently, and that requires more significant changes. Fixes: http://autobuild.buildroot.net/results/a7c76138a1cf068868904acb6678403e3b25fcb3/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Maxime HadjinlianMaxime Hadjinlian
149246d0cadwaf: use HOST_WAF_DL_DIR instead of WAF_DL_DIRThe infrastructure only provides HOST_WAF_DL_DIR, because this package is host only. Ideally the infra should provide WAF_DL_DIR, but it doesn't currently, and that requires more significant changes. Fixes: http://autobuild.buildroot.org/results/01d8c21df4baa9ecc6a0e45744fe6a4d086a0652/ Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.p...
Alexander MukhinAlexander Mukhin
47cc1600a06hostapd: drop default dependency on netlinkGet rid of netlink dependency if the options selected allow that. Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com> Reviewed-by: Sam Voss <sam.voss@rockwellcollins.com> [Thomas/Arnout: use a if BR2_PACKAGE_HOSTAPD_VLAN .. endif block.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Alexander MukhinAlexander Mukhin
87a941462dbhostapd: make ACS dependent on nl80211According to hostapd's defconfig file, ACS is currently only supported through the nl80211 driver. Search through the source code also confirms that ACS machinery is present in the nl80211 driver only. Although hostapd can be built with ACS enabled and nl80211 disabled, an attempt to use ACS with other drivers by setting a wireless channel to 0 results in a runtime failure (driver doesn't acce...
Alexander MukhinAlexander Mukhin
90d73e5f66chostapd: select driver supportAdd support for the wired driver. Add configuration options to select which drivers to build. Select DRIVER_NONE if no other drivers enabled (this may be the case when building hostapd as a standalone RADIUS server). Update makefile logic and apply wireless-specific options only if at least one wireless driver enabled. Otherwise, an attempt to build a wired-only or RADIUS-only hostapd will fai...
Bernd KuhlsBernd Kuhls
779fc8e6848package/ntp: add support for libresslNtp builds fine with current libressl 2.7.2. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd KuhlsBernd Kuhls
a5c72c86bafpackage/opusfile: add support for libresslOpusfile builds fine with current libressl 2.7.2. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd KuhlsBernd Kuhls
46a14966b65package/libevent: add support for libresslLibevent builds fine with current libressl 2.7.2. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd KuhlsBernd Kuhls
158eab173d7package/ffmpeg: add support for libresslFfmpeg builds fine with current libressl 2.7.2. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Maxime HadjinlianMaxime Hadjinlian
6d938bcb524download: git: introduce cache featureNow we keep the git clone that we download and generates our tarball from there. The main goal here is that if you change the version of a package (say Linux), instead of cloning all over again, you will simply 'git fetch' from the repo the missing objects, then generates the tarball again. This should speed the 'source' part of the build significantly. The drawback is that the DL_DIR will gr...
Yann E. MORINYann E. MORIN
e80d1d0af44core/download: look for archives in the global download dir firstFor existing setups, the global donload directory may have a lot of the required archives, so look into there before attempting a download. We simply hard-link them if found there and not in the new per-package loaction. Then we resume the existing procedure (which means the new hardlink will get removed if it happened to not match the hash). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@fr...
Maxime HadjinlianMaxime Hadjinlian
5d2a018ddf9download: add missing '-d' optionThe infrastructure needs to give the 'dl_dir' to the dl-wrapper which in its turn needs to give it to the helper. It will only be used by the 'git' helper as of now. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Maxime HadjinlianMaxime Hadjinlian
573f8c750fbdownload: add flock call before dl-wrapperIn order to introduce the cache mechanisms, we need to have a lock on the $(LIBFOO_DL_DIR), otherwise it would be impossible to do parallel download (a shared DL_DIR for two buildroot instances) without risking conflicts. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Maxime HadjinlianMaxime Hadjinlian
072374918dehelp/manual: update help about the new $(LIBFOO_DL_DIR)Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORINYann E. MORIN
8f3c7724598package: share downloaded files for big packagesTheses packages are given as an example of the use of the *_DL_SUBDIR feature. There maybe other packages that would benefit from that feature, they would need to be added on a case by case basis. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Thomas Petazzoni <thoma...
Maxime HadjinlianMaxime Hadjinlian
ef87b0326c7pkg-download: support new subdirs for mirrorsSince we introduced subdirectories to the DL_DIR, we need to support them in the PRIMARY and BACKUP mirrors as they evolve to the new tree structure. We check first the new URI (with the subdir), and in case of failure, we check without. By checking both URIs, we ensure that old mirror are usable. Also, add a missing qstrip call for BR2_BACKUP_SITE. Signed-off-by: Maxime Hadjinlian <maxime.h...
Maxime HadjinlianMaxime Hadjinlian
ddf3feb1047pkg-generic: introduce _DL_SUBDIRThis per package variable can be used to specify the download subdirectory used by that package. The use case here is for example linux-headers and linux, which share the same sources (because they are the same upstream project), so we don't want to download twice the kernel, nor store it multiple times either. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: "Yann ...
Maxime HadjinlianMaxime Hadjinlian
81321edb0b8pkg-generic: add a subdirectory to the DL_DIRWith all the previous changes, we are now ready to add a subdirectory to the DL_DIR. The structure will now be DL_DIR/PKG_NAME/{FILE1,FILE2} This is needed for multiple reasons: - Avoid patches with name like SHA1.patch laying flat in DL_DIR, which makes it hard to know to which packages they apply - Avoid possible collisions if two releases have the same name (e.g: v01.tar) ...
Bernd KuhlsBernd Kuhls
da41a058e66package/openldap: add support for libresslOpenldap builds fine with current libressl 2.7.2. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd KuhlsBernd Kuhls
1a10d5f77f0package/openldap: bump version to 2.4.46Changelog: https://www.openldap.org/software/release/changes.html Added sha256 hashes for tarball and license. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Lothar FeltenLothar Felten
23df65e10ecconfigs: beaglebone: bump kernel and uboot versionSwitch to Linux kernel version 4.9.59 from the TI SDK 04.02.00.09 (TI SDK release date: 23.12.2017) Updated uboot to version 2018.01 uEnv.txt corrected to boot from sd card on the ti-am335x-evm Signed-off-by: Lothar Felten <lothar.felten@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Thomas PetazzoniThomas Petazzoni
dbe32d364a5package/pkg-golang: add PATH in GO_TARGET_ENVSome Go packages use pkg-config to detect native libraries, so we must have $(BR_PATH) in the PATH so that our pkg-config in HOST_DIR gets used. Fixes: http://autobuild.buildroot.net/results/f85414244c25aba07a05109b5cd7658ae44a64ea/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Gaël PORTAYGaël PORTAY
3c6958423f6qt5: bump latest version to 5.10.1The tarball filename has changed since 5.10. The module suffix *opensource-src* has changed to *everywhere-src*. I introduced the *QT5_SOURCE_TARBALL_PREFIX* variable to set the right filename according to the Qt version. qtwebengine: Select libnss. It is a requirement[1] because OpenSSL certificate validation[2] and NSS bundle[3] was dropped. Add host-libnss and host-libpng to satisfy ne...LGPL-2
Gaël PORTAYGaël PORTAY
f61d2207725package: add libnss host packageSigned-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Gaël PORTAYGaël PORTAY
d9e7d8674aepackage: add libnpsr host packageSigned-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Arnout Vandecappelle (Essensium/Mind)Arnout Vandecappelle (Essensium/Mind)
d9ec8526bb6qt5script: correct license informationThe license information in qt5script was just copied from all the other qt5 modules, but it is different (and complicated). - libQt5Script itself contains the third-party JavaScriptCore source. JavaScriptCore has a number of licenses: BSD-2-Clause, BSD-3-Clause, LGPL-2.0+, LGPL-2.1+. Since it is all linked together, the end result will be BSD-3-Clause and LGPL-2.1+. The different BSD ...6 Jira Issues
Maxime HadjinlianMaxime Hadjinlian
08252b54578support/download: make sure the download folder is createdAt the moment, it means that we make sure that BR2_DL_DIR is created, in the future, it will make sure that BR2_DL_DIR/PKG_NAME/ is created. [Peter: drop trailing / on mkdir] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Maxime HadjinlianMaxime Hadjinlian
d506f873e41pkg-{download, generic, luarocks}: use existing $($(PKG)_DL_DIR)Let the infrastructure use the already existing variable $(PKG)_DL_DIR Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORINYann E. MORIN
01c1889f9f6arc/xtensa: store the Xtensa overlay in the per-package DL_DIRSigned-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Maxime HadjinlianMaxime Hadjinlian
514291f39efpackages: use new $($PKG)_DL_DIR) variableInstead of DL_DIR, the package should now use $(PKG)_DL_DIR to ease the transition into a new directory structure for DL_DIR. This commit has been generated with the following scripts: for i in $(find . -iname "*.mk"); do if ! grep -q "\$(DL_DIR)" ${i}; then continue fi pkg_name="$(basename $(dirname ${i}))" [ "${pkg_name}" = "package" ] && continue raw_pkg_name=$(echo ${pkg_name} | tr...
Bernd KuhlsBernd Kuhls
9447e866187package/git: bump version to 2.16.3Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Maxime HadjinlianMaxime Hadjinlian
765e94ea4d5core/pkg-download: fix autobuilder falloutSome arguments can be empty, so we need to add single quote around them But since they are sinple quote; double quote inside them are now not interpreted by the shell and as such must be removed; hence the use of qstrip. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Carlos SantosCarlos Santos
55ec9b4e40bnmap: add sub-options for ncat, nping and ndiffThe forthcoming "libvirt" package will need a "nc" command with support for Unix domain sockets in order to permit remote management using the virt-manager utility. netcat-openbsd provides such command but requires glibc, so we would not have remote management on uClibc-based systems. Ncat is a much-improved reimplementation of the venerable Netcat and is compatible with uClibc and musl. It pr...
Fabrice FontaineFabrice Fontaine
1189d03fe70ncmpc: add optional dependency to lirc-toolsSigned-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter KorsgaardPeter Korsgaard
cdac332d20dcheck-host-tar.sh: bump minimum tar version to 1.27 for reproducible tar files with long pathsFixes: http://autobuild.buildroot.net/results/b18/b187e64a61918f17f69588e2355a03286bc5808e tar 1.27 subtly changed the tar format when a GNU long link entry is added (which is done for path elements > 100 characters). The code used to set the permission mode of the link entry to 0: header = start_private_header ("././@LongLink", size, time (NULL)); FILL (header->header.mtime, '0'); FIL...
Maxime HadjinlianMaxime Hadjinlian
c8ef0c03b0bdownload: put most of the infra in dl-wrapperThe goal here is to simplify the infrastructure by putting most of the code in the dl-wrapper as it is easier to implement and to read. Most of the functions were common already, this patch finalizes it by making the pkg-download.mk pass all the parameters needed to the dl-wrapper which in turn will pass everything to every backend. The backend will then cherry-pick what it needs from these a...
Yann E. MORINYann E. MORIN
91e776b5af1core/pkg-download: change all helpers to use common optionsCurrently all download helpers accepts the local output file, the remote locations, the changesets and so on... as positional arguments. This was well and nice when that's was all we needed. But then we added an option to quiesce their verbosity, and that was shoehorned with a trivial getopts, still keeping all the existing positional arguments as... positional arguments. Adding yet more opt...
Christopher McCroryChristopher McCrory
f03cf639cfbmemcached: bump to version 1.5.6From ReleaseNotes156: """ This is a bugfix release, but it primarily disables the UDP protocol by default. In the last few days reports of UDP amplification attacks utilizing inesure memcached instances have surfaced. Attackers are able to set large values into memcached, then send requests via spoofed UDP packets. Memcached will then send a very large number of very large UDP packets back in...
Yann E. MORINYann E. MORIN
7e7b9db61a8configs: switch to a wget download for kernels on githubThe linux git trees on github can be huge, and takes a long time to download, which is not very nice nor convenient for newcomers. Switch them to using a wget, with the github macro. A nice side effect of this conversion, is that we no longer need to wait for the git clone to finish to notice that the ref is gone; doing a wget will instantly fail in that case. Mechanical patch, obtained by r...
Fabrice FontaineFabrice Fontaine
f66bd4805d3ffmpeg: libcdio support through libcdio-paranoiaSigned-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd KuhlsBernd Kuhls
7e7caee21efpackage/openvpn: bump version to 2.4.5Changelog: https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24 This bump depends on libressl 2.7.2 to avoid a build error with this defconfig: BR2_PACKAGE_LIBRESSL=y BR2_PACKAGE_OPENVPN=y Added license hash. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd KuhlsBernd Kuhls
9f1900ecaa5package/libressl: bump version to 2.7.2Removed patch 0001, a different version was applied upstream, please see upstream PR 82 for details. Added license hash. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>